diff --git a/specification/recoveryservicesdatareplication/DataReplication.Management/EmailConfigurationModel.tsp b/specification/recoveryservicesdatareplication/DataReplication.Management/EmailConfigurationModel.tsp new file mode 100644 index 000000000000..64d25c7011b4 --- /dev/null +++ b/specification/recoveryservicesdatareplication/DataReplication.Management/EmailConfigurationModel.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 "./VaultModel.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.DataReplication; +/** + * Email configuration model. + */ +@parentResource(VaultModel) +model EmailConfigurationModel + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = EmailConfigurationModel, + KeyName = "emailConfigurationName", + SegmentName = "alertSettings", + NamePattern = "^[a-zA-Z0-9]*$" + >; +} + +#suppress "@azure-tools/typespec-azure-core/no-openapi" +@@OpenAPI.extension(EmailConfiguration.create::parameters.resource, + "x-ms-client-name", + "body" +); + +#suppress "@azure-tools/typespec-azure-resource-manager/no-resource-delete-operation" "This resource does not need a delete operation defined" +@armResourceOperations +interface EmailConfiguration { + /** + * Gets the details of the alert configuration setting. + */ + get is ArmResourceRead; + + /** + * Creates an alert configuration setting for the given vault. + */ + create is ArmResourceCreateOrReplaceSync; + + /** + * Gets the list of alert configuration settings for the given vault. + */ + list is ArmResourceListByParent; +} + +@@doc(EmailConfigurationModel.name, "The email configuration name."); +@@doc(EmailConfiguration.create::parameters.resource, + "EmailConfiguration model." +); diff --git a/specification/recoveryservicesdatareplication/DataReplication.Management/EventModel.tsp b/specification/recoveryservicesdatareplication/DataReplication.Management/EventModel.tsp new file mode 100644 index 000000000000..25acee13be46 --- /dev/null +++ b/specification/recoveryservicesdatareplication/DataReplication.Management/EventModel.tsp @@ -0,0 +1,63 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./VaultModel.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.DataReplication; +/** + * Event model. + */ +@parentResource(VaultModel) +model EventModel is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = EventModel, + KeyName = "eventName", + SegmentName = "events", + NamePattern = "^[a-zA-Z0-9]*$" + >; +} + +@armResourceOperations +interface Event { + /** + * Gets the details of the event. + */ + get is ArmResourceRead; + + /** + * Gets the list of events in the given vault. + */ + list is ArmResourceListByParent< + EventModel, + { + ...Azure.ResourceManager.Foundations.BaseParameters; + + /** + * OData options. + */ + @query("odataOptions") + odataOptions?: string; + + /** + * Continuation token. + */ + @query("continuationToken") + continuationToken?: string; + + /** + * Page size. + */ + @query("pageSize") + pageSize?: int32; + } + >; +} + +@@doc(EventModel.name, "The event name."); diff --git a/specification/recoveryservicesdatareplication/DataReplication.Management/FabricAgentModel.tsp b/specification/recoveryservicesdatareplication/DataReplication.Management/FabricAgentModel.tsp new file mode 100644 index 000000000000..7a4e73b0c1c5 --- /dev/null +++ b/specification/recoveryservicesdatareplication/DataReplication.Management/FabricAgentModel.tsp @@ -0,0 +1,58 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./FabricModel.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.DataReplication; +/** + * Fabric agent model. + */ +@parentResource(FabricModel) +model FabricAgentModel + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = FabricAgentModel, + KeyName = "fabricAgentName", + SegmentName = "fabricAgents", + NamePattern = "^[a-zA-Z0-9]*$" + >; +} + +#suppress "@azure-tools/typespec-azure-core/no-openapi" +@@OpenAPI.extension(FabricAgent.create::parameters.resource, + "x-ms-client-name", + "body" +); + +@armResourceOperations +interface FabricAgent { + /** + * Gets the details of the fabric agent. + */ + get is ArmResourceRead; + + /** + * Creates the fabric agent. + */ + create is ArmResourceCreateOrReplaceAsync; + + /** + * Deletes fabric agent. + */ + delete is ArmResourceDeleteWithoutOkAsync; + + /** + * Gets the list of fabric agents in the given fabric. + */ + list is ArmResourceListByParent; +} + +@@doc(FabricAgentModel.name, "The fabric agent name."); +@@doc(FabricAgent.create::parameters.resource, "Fabric agent model."); diff --git a/specification/recoveryservicesdatareplication/DataReplication.Management/FabricModel.tsp b/specification/recoveryservicesdatareplication/DataReplication.Management/FabricModel.tsp new file mode 100644 index 000000000000..3f38deacf618 --- /dev/null +++ b/specification/recoveryservicesdatareplication/DataReplication.Management/FabricModel.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"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.DataReplication; +/** + * Fabric model. + */ +model FabricModel + is Azure.ResourceManager.TrackedResource { + ...ResourceNameParameter< + Resource = FabricModel, + KeyName = "fabricName", + SegmentName = "replicationFabrics", + NamePattern = "^[a-zA-Z0-9]*$" + >; +} +#suppress "@azure-tools/typespec-azure-core/no-openapi" +@@OpenAPI.extension(Fabric.create::parameters.resource, + "x-ms-client-name", + "body" +); +#suppress "@azure-tools/typespec-azure-core/no-openapi" +@@OpenAPI.extension(Fabric.update::parameters.properties, + "x-ms-client-name", + "body" +); + +@armResourceOperations +interface Fabric { + /** + * Gets the details of the fabric. + */ + get is ArmResourceRead; + + /** + * Creates the fabric. + */ + create is ArmResourceCreateOrReplaceAsync; + + /** + * Performs update on the fabric. + */ + @parameterVisibility + update is ArmCustomPatchAsync; + + /** + * Removes the fabric. + */ + delete is ArmResourceDeleteWithoutOkAsync; + + /** + * Gets the list of fabrics in the given subscription and resource group. + */ + list is ArmResourceListByParent< + FabricModel, + { + ...Azure.ResourceManager.Foundations.BaseParameters; + + /** + * Continuation token from the previous call. + */ + @query("continuationToken") + continuationToken?: string; + } + >; + + /** + * Gets the list of fabrics in the given subscription. + */ + listBySubscription is ArmListBySubscription; +} + +@@doc(FabricModel.name, "The fabric name."); +@@doc(Fabric.create::parameters.resource, "Fabric properties."); +@@doc(Fabric.update::parameters.properties, "Fabric properties."); diff --git a/specification/recoveryservicesdatareplication/DataReplication.Management/JobModel.tsp b/specification/recoveryservicesdatareplication/DataReplication.Management/JobModel.tsp new file mode 100644 index 000000000000..4b08e2ef686c --- /dev/null +++ b/specification/recoveryservicesdatareplication/DataReplication.Management/JobModel.tsp @@ -0,0 +1,63 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./VaultModel.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.DataReplication; +/** + * Job model. + */ +@parentResource(VaultModel) +model JobModel is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = JobModel, + KeyName = "jobName", + SegmentName = "jobs", + NamePattern = "^[a-zA-Z0-9]*$" + >; +} + +@armResourceOperations +interface Job { + /** + * Gets the details of the job. + */ + get is ArmResourceRead; + + /** + * Gets the list of jobs in the given vault. + */ + list is ArmResourceListByParent< + JobModel, + { + ...Azure.ResourceManager.Foundations.BaseParameters; + + /** + * OData options. + */ + @query("odataOptions") + odataOptions?: string; + + /** + * Continuation token. + */ + @query("continuationToken") + continuationToken?: string; + + /** + * Page size. + */ + @query("pageSize") + pageSize?: int32; + } + >; +} + +@@doc(JobModel.name, "The job name."); diff --git a/specification/recoveryservicesdatareplication/DataReplication.Management/PolicyModel.tsp b/specification/recoveryservicesdatareplication/DataReplication.Management/PolicyModel.tsp new file mode 100644 index 000000000000..bdaa340114bc --- /dev/null +++ b/specification/recoveryservicesdatareplication/DataReplication.Management/PolicyModel.tsp @@ -0,0 +1,58 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./VaultModel.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.DataReplication; +/** + * Policy model. + */ +@parentResource(VaultModel) +model PolicyModel + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = PolicyModel, + KeyName = "policyName", + SegmentName = "replicationPolicies", + NamePattern = "^[a-zA-Z0-9]*$" + >; +} + +#suppress "@azure-tools/typespec-azure-core/no-openapi" +@@OpenAPI.extension(Policy.create::parameters.resource, + "x-ms-client-name", + "body" +); + +@armResourceOperations +interface Policy { + /** + * Gets the details of the policy. + */ + get is ArmResourceRead; + + /** + * Creates the policy. + */ + create is ArmResourceCreateOrReplaceAsync; + + /** + * Removes the policy. + */ + delete is ArmResourceDeleteWithoutOkAsync; + + /** + * Gets the list of policies in the given vault. + */ + list is ArmResourceListByParent; +} + +@@doc(PolicyModel.name, "The policy name."); +@@doc(Policy.create::parameters.resource, "Policy model."); diff --git a/specification/recoveryservicesdatareplication/DataReplication.Management/PrivateEndpointConnection.tsp b/specification/recoveryservicesdatareplication/DataReplication.Management/PrivateEndpointConnection.tsp new file mode 100644 index 000000000000..59b184613eb5 --- /dev/null +++ b/specification/recoveryservicesdatareplication/DataReplication.Management/PrivateEndpointConnection.tsp @@ -0,0 +1,59 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./VaultModel.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.DataReplication; +/** + * Represents private endpoint connection. + */ +@parentResource(VaultModel) +model PrivateEndpointConnection + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = PrivateEndpointConnection, + KeyName = "privateEndpointConnectionName", + SegmentName = "privateEndpointConnections", + NamePattern = "^[a-zA-Z0-9]*$" + >; +} + +#suppress "@azure-tools/typespec-azure-core/no-openapi" +@@OpenAPI.extension(PrivateEndpointConnections.update::parameters.resource, + "x-ms-client-name", + "body" +); +@armResourceOperations +interface PrivateEndpointConnections { + /** + * Gets the private endpoint connection details. + */ + get is ArmResourceRead; + + /** + * Updated the private endpoint connection status (Approval/Rejected). This gets invoked by resource admin. + */ + update is ArmResourceCreateOrReplaceSync; + + /** + * Deletes the private endpoint connection. + */ + delete is ArmResourceDeleteWithoutOkAsync; + + /** + * Gets the all private endpoint connections configured on the vault. + */ + list is ArmResourceListByParent; +} + +@@doc(PrivateEndpointConnection.name, "The private endpoint connection name."); +@@doc(PrivateEndpointConnections.update::parameters.resource, + "Private endpoint connection update input." +); diff --git a/specification/recoveryservicesdatareplication/DataReplication.Management/PrivateEndpointConnectionProxy.tsp b/specification/recoveryservicesdatareplication/DataReplication.Management/PrivateEndpointConnectionProxy.tsp new file mode 100644 index 000000000000..711421342d76 --- /dev/null +++ b/specification/recoveryservicesdatareplication/DataReplication.Management/PrivateEndpointConnectionProxy.tsp @@ -0,0 +1,80 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./VaultModel.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.DataReplication; +/** + * Represents private endpoint connection proxy request. + */ +@parentResource(VaultModel) +model PrivateEndpointConnectionProxy + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = PrivateEndpointConnectionProxy, + KeyName = "privateEndpointConnectionProxyName", + SegmentName = "privateEndpointConnectionProxies", + NamePattern = "^[a-zA-Z0-9-.]*$" + >; + + /** + * Gets or sets ETag. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" + etag?: string; +} + +#suppress "@azure-tools/typespec-azure-core/no-openapi" +@@OpenAPI.extension(PrivateEndpointConnectionProxies.create::parameters.resource, + "x-ms-client-name", + "body" +); + +@armResourceOperations +interface PrivateEndpointConnectionProxies { + /** + * Gets the private endpoint connection proxy details. + */ + get is ArmResourceRead; + + /** + * Create a new private endpoint connection proxy which includes both auto and manual approval types. Creating the proxy resource will also create a private endpoint connection resource. + */ + create is ArmResourceCreateOrReplaceSync; + + /** + * Returns the operation to track the deletion of private endpoint connection proxy. + */ + delete is ArmResourceDeleteWithoutOkAsync; + + /** + * Gets the all private endpoint connections proxies. + */ + list is ArmResourceListByParent; + + /** + * Returns remote private endpoint connection information after validation. + */ + validate is ArmResourceActionSync< + PrivateEndpointConnectionProxy, + PrivateEndpointConnectionProxy, + PrivateEndpointConnectionProxy + >; +} + +@@doc(PrivateEndpointConnectionProxy.name, + "The private endpoint connection proxy name." +); +@@doc(PrivateEndpointConnectionProxies.create::parameters.resource, + "Private endpoint connection creation input." +); +@@doc(PrivateEndpointConnectionProxies.validate::parameters.body, + "The private endpoint connection proxy input." +); diff --git a/specification/recoveryservicesdatareplication/DataReplication.Management/PrivateLinkResource.tsp b/specification/recoveryservicesdatareplication/DataReplication.Management/PrivateLinkResource.tsp new file mode 100644 index 000000000000..90d757d4e5d4 --- /dev/null +++ b/specification/recoveryservicesdatareplication/DataReplication.Management/PrivateLinkResource.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 "./VaultModel.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.DataReplication; +/** + * Represents private link resource. + */ +@parentResource(VaultModel) +model PrivateLinkResource + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = PrivateLinkResource, + KeyName = "privateLinkResourceName", + SegmentName = "privateLinkResources", + NamePattern = "^[a-zA-Z0-9-.]*$" + >; +} + +@armResourceOperations +interface PrivateLinkResources { + /** + * Gets the details of site recovery private link resource. + */ + get is ArmResourceRead; + + /** + * Gets the list of private link resources. + */ + list is ArmResourceListByParent; +} + +@@doc(PrivateLinkResource.name, "The private link name."); diff --git a/specification/recoveryservicesdatareplication/DataReplication.Management/ProtectedItemModel.tsp b/specification/recoveryservicesdatareplication/DataReplication.Management/ProtectedItemModel.tsp new file mode 100644 index 000000000000..13fa16eb8e1c --- /dev/null +++ b/specification/recoveryservicesdatareplication/DataReplication.Management/ProtectedItemModel.tsp @@ -0,0 +1,116 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./VaultModel.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.DataReplication; +/** + * Protected item model. + */ +@parentResource(VaultModel) +model ProtectedItemModel + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = ProtectedItemModel, + KeyName = "protectedItemName", + SegmentName = "protectedItems", + NamePattern = "^[a-zA-Z0-9]*$" + >; +} + +#suppress "@azure-tools/typespec-azure-core/no-openapi" +@@OpenAPI.extension(ProtectedItem.create::parameters.resource, + "x-ms-client-name", + "body" +); +#suppress "@azure-tools/typespec-azure-core/no-openapi" +@@OpenAPI.extension(ProtectedItem.update::parameters.properties, + "x-ms-client-name", + "body" +); + +@armResourceOperations +interface ProtectedItem { + /** + * Gets the details of the protected item. + */ + get is ArmResourceRead; + + /** + * Creates the protected item. + */ + create is ArmResourceCreateOrReplaceAsync; + + /** + * Performs update on the protected item. + */ + @parameterVisibility + update is ArmCustomPatchAsync; + + /** + * Removes the protected item. + */ + delete is ArmResourceDeleteWithoutOkAsync< + ProtectedItemModel, + { + ...Azure.ResourceManager.Foundations.BaseParameters; + + /** + * A flag indicating whether to do force delete or not. + */ + @query("forceDelete") + forceDelete?: boolean; + } + >; + + /** + * Gets the list of protected items in the given vault. + */ + list is ArmResourceListByParent< + ProtectedItemModel, + { + ...Azure.ResourceManager.Foundations.BaseParameters; + + /** + * OData options. + */ + @query("odataOptions") + odataOptions?: string; + + /** + * Continuation token. + */ + @query("continuationToken") + continuationToken?: string; + + /** + * Page size. + */ + @query("pageSize") + pageSize?: int32; + } + >; + + /** + * Performs the planned failover on the protected item. + */ + plannedFailover is ArmResourceActionAsync< + ProtectedItemModel, + PlannedFailoverModel, + PlannedFailoverModel + >; +} + +@@doc(ProtectedItemModel.name, "The protected item name."); +@@doc(ProtectedItem.create::parameters.resource, "Protected item model."); +@@doc(ProtectedItem.update::parameters.properties, "Protected item model."); +@@doc(ProtectedItem.plannedFailover::parameters.body, + "Planned failover model." +); diff --git a/specification/recoveryservicesdatareplication/DataReplication.Management/RecoveryPointModel.tsp b/specification/recoveryservicesdatareplication/DataReplication.Management/RecoveryPointModel.tsp new file mode 100644 index 000000000000..e1454c252f2b --- /dev/null +++ b/specification/recoveryservicesdatareplication/DataReplication.Management/RecoveryPointModel.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 "./ProtectedItemModel.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.DataReplication; +/** + * Recovery point model. + */ +@parentResource(ProtectedItemModel) +model RecoveryPointModel + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = RecoveryPointModel, + KeyName = "recoveryPointName", + SegmentName = "recoveryPoints", + NamePattern = "^[a-zA-Z0-9]*$" + >; +} + +@armResourceOperations +interface RecoveryPoint { + /** + * Gets the details of the recovery point of a protected item. + */ + get is ArmResourceRead; + + /** + * Gets the list of recovery points of the given protected item. + */ + list is ArmResourceListByParent; +} + +@@doc(RecoveryPointModel.name, "The recovery point name."); diff --git a/specification/recoveryservicesdatareplication/DataReplication.Management/ReplicationExtensionModel.tsp b/specification/recoveryservicesdatareplication/DataReplication.Management/ReplicationExtensionModel.tsp new file mode 100644 index 000000000000..610a10deb0ab --- /dev/null +++ b/specification/recoveryservicesdatareplication/DataReplication.Management/ReplicationExtensionModel.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 "./VaultModel.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.DataReplication; +/** + * Replication extension model. + */ +@parentResource(VaultModel) +model ReplicationExtensionModel + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = ReplicationExtensionModel, + KeyName = "replicationExtensionName", + SegmentName = "replicationExtensions", + NamePattern = "^[a-zA-Z0-9]*$" + >; +} + +#suppress "@azure-tools/typespec-azure-core/no-openapi" +@@OpenAPI.extension(ReplicationExtension.create::parameters.resource, + "x-ms-client-name", + "body" +); + +@armResourceOperations +interface ReplicationExtension { + /** + * Gets the details of the replication extension. + */ + get is ArmResourceRead; + + /** + * Creates the replication extension in the given vault. + */ + create is ArmResourceCreateOrReplaceAsync; + + /** + * Deletes the replication extension in the given vault. + */ + delete is ArmResourceDeleteWithoutOkAsync; + + /** + * Gets the list of replication extensions in the given vault. + */ + list is ArmResourceListByParent; +} + +@@doc(ReplicationExtensionModel.name, "The replication extension name."); +@@doc(ReplicationExtension.create::parameters.resource, + "Replication extension model." +); diff --git a/specification/recoveryservicesdatareplication/DataReplication.Management/VaultModel.tsp b/specification/recoveryservicesdatareplication/DataReplication.Management/VaultModel.tsp new file mode 100644 index 000000000000..b0cd7b1921af --- /dev/null +++ b/specification/recoveryservicesdatareplication/DataReplication.Management/VaultModel.tsp @@ -0,0 +1,85 @@ +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.DataReplication; +/** + * Vault model. + */ +model VaultModel + is Azure.ResourceManager.TrackedResource { + ...ResourceNameParameter< + Resource = VaultModel, + KeyName = "vaultName", + SegmentName = "replicationVaults", + NamePattern = "^[a-zA-Z0-9]*$" + >; + ...Azure.ResourceManager.ManagedServiceIdentityProperty; +} + +#suppress "@azure-tools/typespec-azure-core/no-openapi" +@@OpenAPI.extension(Vault.create::parameters.resource, + "x-ms-client-name", + "body" +); +#suppress "@azure-tools/typespec-azure-core/no-openapi" +@@OpenAPI.extension(Vault.update::parameters.properties, + "x-ms-client-name", + "body" +); + +@armResourceOperations +interface Vault { + /** + * Gets the details of the vault. + */ + get is ArmResourceRead; + + /** + * Creates the vault. + */ + create is ArmResourceCreateOrReplaceAsync; + + /** + * Performs update on the vault. + */ + @parameterVisibility + update is ArmCustomPatchAsync; + + /** + * Removes the vault. + */ + delete is ArmResourceDeleteWithoutOkAsync; + + /** + * Gets the list of vaults in the given subscription and resource group. + */ + list is ArmResourceListByParent< + VaultModel, + { + ...Azure.ResourceManager.Foundations.BaseParameters; + + /** + * Continuation token from the previous call. + */ + @query("continuationToken") + continuationToken?: string; + } + >; + + /** + * Gets the list of vaults in the given subscription. + */ + listBySubscription is ArmListBySubscription; +} + +@@doc(VaultModel.name, "The vault name."); +@@doc(Vault.create::parameters.resource, "Vault properties."); +@@doc(Vault.update::parameters.properties, "Vault properties."); diff --git a/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/CheckNameAvailability_Post.json b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/CheckNameAvailability_Post.json new file mode 100644 index 000000000000..a69f798bd032 --- /dev/null +++ b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/CheckNameAvailability_Post.json @@ -0,0 +1,22 @@ +{ + "title": "Performs the resource name availability check.", + "operationId": "CheckNameAvailability_Post", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "location": "trfqtbtmusswpibw", + "api-version": "2024-09-01", + "body": { + "name": "updkdcixs", + "type": "gngmcancdauwhdixjjvqnfkvqc" + } + }, + "responses": { + "200": { + "body": { + "nameAvailable": true, + "reason": "wwbvswyrmghbmv", + "message": "gddmrunlrhtuhm" + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/DeploymentPreflight_Post.json b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/DeploymentPreflight_Post.json new file mode 100644 index 000000000000..256f2c29f2b9 --- /dev/null +++ b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/DeploymentPreflight_Post.json @@ -0,0 +1,34 @@ +{ + "title": "Performs resource deployment validation.", + "operationId": "DeploymentPreflight_Post", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgswagger_2024-09-01", + "deploymentId": "lnfcwsmlowbwkndkztzvaj", + "api-version": "2024-09-01", + "body": { + "resources": [ + { + "name": "xtgugoflfc", + "type": "nsnaptduolqcxsikrewvgjbxqpt", + "location": "cbsgtxkjdzwbyp", + "apiVersion": "otihymhvzblycdoxo" + } + ] + } + }, + "responses": { + "200": { + "body": { + "resources": [ + { + "name": "xtgugoflfc", + "type": "nsnaptduolqcxsikrewvgjbxqpt", + "location": "cbsgtxkjdzwbyp", + "apiVersion": "otihymhvzblycdoxo" + } + ] + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/EmailConfiguration_Create.json b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/EmailConfiguration_Create.json new file mode 100644 index 000000000000..01e7ec9b5b83 --- /dev/null +++ b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/EmailConfiguration_Create.json @@ -0,0 +1,68 @@ +{ + "title": "Creates email configuration settings.", + "operationId": "EmailConfiguration_Create", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgswagger_2024-09-01", + "vaultName": "4", + "emailConfigurationName": "0", + "api-version": "2024-09-01", + "body": { + "properties": { + "sendToOwners": true, + "customEmailAddresses": [ + "ketvbducyailcny" + ], + "locale": "vpnjxjvdqtebnucyxiyrjiko" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "sendToOwners": true, + "customEmailAddresses": [ + "ketvbducyailcny" + ], + "locale": "vpnjxjvdqtebnucyxiyrjiko", + "provisioningState": "Canceled" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationVaults/vault1/alertSettings/emailConfiguration1", + "name": "ywjplnjzaeu", + "type": "bkaq", + "systemData": { + "createdBy": "ewufpudzcjrljhmmzhfnxoqdqwnya", + "createdByType": "zioqm", + "createdAt": "2023-08-25T00:28:53.022Z", + "lastModifiedBy": "rx", + "lastModifiedByType": "tqbvuqoakaaqij", + "lastModifiedAt": "2023-08-25T00:28:53.022Z" + } + } + }, + "201": { + "body": { + "properties": { + "sendToOwners": true, + "customEmailAddresses": [ + "ketvbducyailcny" + ], + "locale": "vpnjxjvdqtebnucyxiyrjiko", + "provisioningState": "Canceled" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationVaults/vault1/alertSettings/emailConfiguration1", + "name": "ywjplnjzaeu", + "type": "bkaq", + "systemData": { + "createdBy": "ewufpudzcjrljhmmzhfnxoqdqwnya", + "createdByType": "zioqm", + "createdAt": "2023-08-25T00:28:53.022Z", + "lastModifiedBy": "rx", + "lastModifiedByType": "tqbvuqoakaaqij", + "lastModifiedAt": "2023-08-25T00:28:53.022Z" + } + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/EmailConfiguration_Get.json b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/EmailConfiguration_Get.json new file mode 100644 index 000000000000..15edf0343c86 --- /dev/null +++ b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/EmailConfiguration_Get.json @@ -0,0 +1,36 @@ +{ + "title": "Gets the email configuration setting.", + "operationId": "EmailConfiguration_Get", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgswagger_2024-09-01", + "vaultName": "4", + "emailConfigurationName": "0", + "api-version": "2024-09-01" + }, + "responses": { + "200": { + "body": { + "properties": { + "sendToOwners": true, + "customEmailAddresses": [ + "ketvbducyailcny" + ], + "locale": "vpnjxjvdqtebnucyxiyrjiko", + "provisioningState": "Canceled" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationVaults/vault1/alertSettings/emailConfiguration1", + "name": "ywjplnjzaeu", + "type": "bkaq", + "systemData": { + "createdBy": "ewufpudzcjrljhmmzhfnxoqdqwnya", + "createdByType": "zioqm", + "createdAt": "2023-08-25T00:28:53.022Z", + "lastModifiedBy": "rx", + "lastModifiedByType": "tqbvuqoakaaqij", + "lastModifiedAt": "2023-08-25T00:28:53.022Z" + } + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/EmailConfiguration_List.json b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/EmailConfiguration_List.json new file mode 100644 index 000000000000..5f97c9d9d5f9 --- /dev/null +++ b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/EmailConfiguration_List.json @@ -0,0 +1,39 @@ +{ + "title": "Lists the email configuration settings", + "operationId": "EmailConfiguration_List", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgswagger_2024-09-01", + "vaultName": "4", + "api-version": "2024-09-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "sendToOwners": true, + "customEmailAddresses": [ + "ketvbducyailcny" + ], + "locale": "vpnjxjvdqtebnucyxiyrjiko", + "provisioningState": "Canceled" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationVaults/vault1/alertSettings/emailConfiguration1", + "name": "ywjplnjzaeu", + "type": "bkaq", + "systemData": { + "createdBy": "ewufpudzcjrljhmmzhfnxoqdqwnya", + "createdByType": "zioqm", + "createdAt": "2023-08-25T00:28:53.022Z", + "lastModifiedBy": "rx", + "lastModifiedByType": "tqbvuqoakaaqij", + "lastModifiedAt": "2023-08-25T00:28:53.022Z" + } + } + ] + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/Event_Get.json b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/Event_Get.json new file mode 100644 index 000000000000..f9182f1b39f1 --- /dev/null +++ b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/Event_Get.json @@ -0,0 +1,76 @@ +{ + "title": "Gets the event.", + "operationId": "Event_Get", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgswagger_2024-09-01", + "vaultName": "4", + "eventName": "231CIG", + "api-version": "2024-09-01" + }, + "responses": { + "200": { + "body": { + "properties": { + "resourceType": "surgdzezskgregozynvlinfutyh", + "resourceName": "yhpkowkbvtqnbiklnjzc", + "eventType": "npumqmvspm", + "eventName": "s", + "timeOfOccurrence": "2023-08-25T00:28:53.432Z", + "severity": "sjous", + "correlationId": "lwfsxforxnhvpmheujutjicflmxv", + "healthErrors": [ + { + "affectedResourceType": "scfniv", + "affectedResourceCorrelationIds": [ + "fope" + ], + "childErrors": [ + { + "code": "yuxxpblihirpedwkigywgwjjrlzq", + "healthCategory": "mhdgfjqwbikhxmhtomkl", + "category": "lcsdxrqxquke", + "severity": "wqxxiuaqjyagq", + "source": "wevvftugwydzzw", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "djsmgrltruljo", + "message": "sskcei", + "causes": "kefaugkpxjkpulimjthjnl", + "recommendation": "kqybwaesqumywtjepi" + } + ], + "code": "dgxkefzmeukd", + "healthCategory": "itc", + "category": "leigw", + "severity": "vvdajssdcypewdyechilxjmuijvdd", + "source": "iy", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "jtooblbvaxxrvcwgscbobq", + "message": "lbywtdprdqdekl", + "causes": "xznphqrrmsdzm", + "recommendation": "gmssteizlhjtclyeoo" + } + ], + "customProperties": { + "instanceType": "EventModelCustomProperties" + }, + "description": "kwjzliiqagudb", + "provisioningState": "Canceled" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationVaults/vault1/events/event1", + "name": "j", + "type": "lgk", + "systemData": { + "createdBy": "uske", + "createdByType": "luzowppyxjalugkef", + "createdAt": "2023-08-25T00:28:53.432Z", + "lastModifiedBy": "ufrixpmhben", + "lastModifiedByType": "aubgraubkuaeipwzvbcgnlpseobx", + "lastModifiedAt": "2023-08-25T00:28:53.432Z" + } + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/Event_List.json b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/Event_List.json new file mode 100644 index 000000000000..b8b0665bb80b --- /dev/null +++ b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/Event_List.json @@ -0,0 +1,80 @@ +{ + "title": "Lists the events.", + "operationId": "Event_List", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgswagger_2024-09-01", + "vaultName": "4", + "continuationToken": "gabpzsxrifposvleqqcjnvofz", + "api-version": "2024-09-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "resourceType": "surgdzezskgregozynvlinfutyh", + "resourceName": "yhpkowkbvtqnbiklnjzc", + "eventType": "npumqmvspm", + "eventName": "s", + "timeOfOccurrence": "2023-08-25T00:28:53.432Z", + "severity": "sjous", + "correlationId": "lwfsxforxnhvpmheujutjicflmxv", + "healthErrors": [ + { + "affectedResourceType": "scfniv", + "affectedResourceCorrelationIds": [ + "fope" + ], + "childErrors": [ + { + "code": "yuxxpblihirpedwkigywgwjjrlzq", + "healthCategory": "mhdgfjqwbikhxmhtomkl", + "category": "lcsdxrqxquke", + "severity": "wqxxiuaqjyagq", + "source": "wevvftugwydzzw", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "djsmgrltruljo", + "message": "sskcei", + "causes": "kefaugkpxjkpulimjthjnl", + "recommendation": "kqybwaesqumywtjepi" + } + ], + "code": "dgxkefzmeukd", + "healthCategory": "itc", + "category": "leigw", + "severity": "vvdajssdcypewdyechilxjmuijvdd", + "source": "iy", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "jtooblbvaxxrvcwgscbobq", + "message": "lbywtdprdqdekl", + "causes": "xznphqrrmsdzm", + "recommendation": "gmssteizlhjtclyeoo" + } + ], + "customProperties": { + "instanceType": "EventModelCustomProperties" + }, + "description": "dk", + "provisioningState": "Canceled" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationVaults/vault1/events/event1", + "name": "j", + "type": "lgk", + "systemData": { + "createdBy": "uske", + "createdByType": "luzowppyxjalugkef", + "createdAt": "2023-08-25T00:28:53.432Z", + "lastModifiedBy": "ufrixpmhben", + "lastModifiedByType": "aubgraubkuaeipwzvbcgnlpseobx", + "lastModifiedAt": "2023-08-25T00:28:53.432Z" + } + } + ] + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/FabricAgent_Create.json b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/FabricAgent_Create.json new file mode 100644 index 000000000000..fdc98fa7d719 --- /dev/null +++ b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/FabricAgent_Create.json @@ -0,0 +1,189 @@ +{ + "title": "Puts the fabric agent", + "operationId": "FabricAgent_Create", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgswagger_2024-09-01", + "fabricName": "wPR", + "fabricAgentName": "M", + "api-version": "2024-09-01", + "body": { + "properties": { + "machineId": "envzcoijbqhtrpncbjbhk", + "machineName": "y", + "authenticationIdentity": { + "tenantId": "joclkkdovixwapephhxaqtefubhhmq", + "applicationId": "cwktzrwajuvfyyymfstpey", + "objectId": "khsiaqfbpuhp", + "audience": "dkjobanyqgzenivyxhvavottpc", + "aadAuthority": "bubwwbowfhdmujrt" + }, + "resourceAccessIdentity": { + "tenantId": "joclkkdovixwapephhxaqtefubhhmq", + "applicationId": "cwktzrwajuvfyyymfstpey", + "objectId": "khsiaqfbpuhp", + "audience": "dkjobanyqgzenivyxhvavottpc", + "aadAuthority": "bubwwbowfhdmujrt" + }, + "customProperties": { + "instanceType": "FabricAgentModelCustomProperties" + } + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "machineId": "envzcoijbqhtrpncbjbhk", + "machineName": "y", + "authenticationIdentity": { + "tenantId": "joclkkdovixwapephhxaqtefubhhmq", + "applicationId": "cwktzrwajuvfyyymfstpey", + "objectId": "khsiaqfbpuhp", + "audience": "dkjobanyqgzenivyxhvavottpc", + "aadAuthority": "bubwwbowfhdmujrt" + }, + "resourceAccessIdentity": { + "tenantId": "joclkkdovixwapephhxaqtefubhhmq", + "applicationId": "cwktzrwajuvfyyymfstpey", + "objectId": "khsiaqfbpuhp", + "audience": "dkjobanyqgzenivyxhvavottpc", + "aadAuthority": "bubwwbowfhdmujrt" + }, + "customProperties": { + "instanceType": "FabricAgentModelCustomProperties" + }, + "correlationId": "t", + "isResponsive": true, + "lastHeartbeat": "2023-08-25T00:28:52.127Z", + "versionNumber": "wnksfnisrhs", + "provisioningState": "Canceled", + "healthErrors": [ + { + "affectedResourceType": "scfniv", + "affectedResourceCorrelationIds": [ + "fope" + ], + "childErrors": [ + { + "code": "yuxxpblihirpedwkigywgwjjrlzq", + "healthCategory": "mhdgfjqwbikhxmhtomkl", + "category": "lcsdxrqxquke", + "severity": "wqxxiuaqjyagq", + "source": "wevvftugwydzzw", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "djsmgrltruljo", + "message": "sskcei", + "causes": "kefaugkpxjkpulimjthjnl", + "recommendation": "kqybwaesqumywtjepi" + } + ], + "code": "dgxkefzmeukd", + "healthCategory": "itc", + "category": "leigw", + "severity": "vvdajssdcypewdyechilxjmuijvdd", + "source": "iy", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "jtooblbvaxxrvcwgscbobq", + "message": "lbywtdprdqdekl", + "causes": "xznphqrrmsdzm", + "recommendation": "gmssteizlhjtclyeoo" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationFabrics/fabric1/fabricAgents/agent1", + "name": "ioxmwhzrzdilxivkvhpvzexl", + "type": "ptgmahzsyv", + "systemData": { + "createdBy": "ewufpudzcjrljhmmzhfnxoqdqwnya", + "createdByType": "zioqm", + "createdAt": "2023-08-25T00:28:53.022Z", + "lastModifiedBy": "rx", + "lastModifiedByType": "tqbvuqoakaaqij", + "lastModifiedAt": "2023-08-25T00:28:53.022Z" + } + } + }, + "201": { + "headers": { + "location": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "machineId": "envzcoijbqhtrpncbjbhk", + "machineName": "y", + "authenticationIdentity": { + "tenantId": "joclkkdovixwapephhxaqtefubhhmq", + "applicationId": "cwktzrwajuvfyyymfstpey", + "objectId": "khsiaqfbpuhp", + "audience": "dkjobanyqgzenivyxhvavottpc", + "aadAuthority": "bubwwbowfhdmujrt" + }, + "resourceAccessIdentity": { + "tenantId": "joclkkdovixwapephhxaqtefubhhmq", + "applicationId": "cwktzrwajuvfyyymfstpey", + "objectId": "khsiaqfbpuhp", + "audience": "dkjobanyqgzenivyxhvavottpc", + "aadAuthority": "bubwwbowfhdmujrt" + }, + "customProperties": { + "instanceType": "FabricAgentModelCustomProperties" + }, + "correlationId": "t", + "isResponsive": true, + "lastHeartbeat": "2023-08-25T00:28:52.127Z", + "versionNumber": "wnksfnisrhs", + "provisioningState": "Canceled", + "healthErrors": [ + { + "affectedResourceType": "scfniv", + "affectedResourceCorrelationIds": [ + "fope" + ], + "childErrors": [ + { + "code": "yuxxpblihirpedwkigywgwjjrlzq", + "healthCategory": "mhdgfjqwbikhxmhtomkl", + "category": "lcsdxrqxquke", + "severity": "wqxxiuaqjyagq", + "source": "wevvftugwydzzw", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "djsmgrltruljo", + "message": "sskcei", + "causes": "kefaugkpxjkpulimjthjnl", + "recommendation": "kqybwaesqumywtjepi" + } + ], + "code": "dgxkefzmeukd", + "healthCategory": "itc", + "category": "leigw", + "severity": "vvdajssdcypewdyechilxjmuijvdd", + "source": "iy", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "jtooblbvaxxrvcwgscbobq", + "message": "lbywtdprdqdekl", + "causes": "xznphqrrmsdzm", + "recommendation": "gmssteizlhjtclyeoo" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationFabrics/fabric1/fabricAgents/agent1", + "name": "ioxmwhzrzdilxivkvhpvzexl", + "type": "ptgmahzsyv", + "systemData": { + "createdBy": "ewufpudzcjrljhmmzhfnxoqdqwnya", + "createdByType": "zioqm", + "createdAt": "2023-08-25T00:28:53.022Z", + "lastModifiedBy": "rx", + "lastModifiedByType": "tqbvuqoakaaqij", + "lastModifiedAt": "2023-08-25T00:28:53.022Z" + } + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/FabricAgent_Delete.json b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/FabricAgent_Delete.json new file mode 100644 index 000000000000..706ceeffa8df --- /dev/null +++ b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/FabricAgent_Delete.json @@ -0,0 +1,19 @@ +{ + "title": "Deletes the Fabric Agent", + "operationId": "FabricAgent_Delete", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgswagger_2024-09-01", + "fabricName": "wPR", + "fabricAgentName": "M", + "api-version": "2024-09-01" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/FabricAgent_Get.json b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/FabricAgent_Get.json new file mode 100644 index 000000000000..4b9e231660a0 --- /dev/null +++ b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/FabricAgent_Get.json @@ -0,0 +1,88 @@ +{ + "title": "Gets the fabric agent.", + "operationId": "FabricAgent_Get", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgrecoveryservicesdatareplication", + "fabricName": "wPR", + "fabricAgentName": "M", + "api-version": "2024-09-01" + }, + "responses": { + "200": { + "body": { + "properties": { + "correlationId": "t", + "machineId": "envzcoijbqhtrpncbjbhk", + "machineName": "y", + "authenticationIdentity": { + "tenantId": "joclkkdovixwapephhxaqtefubhhmq", + "applicationId": "cwktzrwajuvfyyymfstpey", + "objectId": "khsiaqfbpuhp", + "audience": "dkjobanyqgzenivyxhvavottpc", + "aadAuthority": "bubwwbowfhdmujrt" + }, + "resourceAccessIdentity": { + "tenantId": "joclkkdovixwapephhxaqtefubhhmq", + "applicationId": "cwktzrwajuvfyyymfstpey", + "objectId": "khsiaqfbpuhp", + "audience": "dkjobanyqgzenivyxhvavottpc", + "aadAuthority": "bubwwbowfhdmujrt" + }, + "isResponsive": true, + "lastHeartbeat": "2023-08-25T00:28:52.127Z", + "versionNumber": "wnksfnisrhs", + "provisioningState": "Canceled", + "healthErrors": [ + { + "affectedResourceType": "scfniv", + "affectedResourceCorrelationIds": [ + "fope" + ], + "childErrors": [ + { + "code": "yuxxpblihirpedwkigywgwjjrlzq", + "healthCategory": "mhdgfjqwbikhxmhtomkl", + "category": "lcsdxrqxquke", + "severity": "wqxxiuaqjyagq", + "source": "wevvftugwydzzw", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "djsmgrltruljo", + "message": "sskcei", + "causes": "kefaugkpxjkpulimjthjnl", + "recommendation": "kqybwaesqumywtjepi" + } + ], + "code": "dgxkefzmeukd", + "healthCategory": "itc", + "category": "leigw", + "severity": "vvdajssdcypewdyechilxjmuijvdd", + "source": "iy", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "jtooblbvaxxrvcwgscbobq", + "message": "lbywtdprdqdekl", + "causes": "xznphqrrmsdzm", + "recommendation": "gmssteizlhjtclyeoo" + } + ], + "customProperties": { + "instanceType": "FabricAgentModelCustomProperties" + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationFabrics/fabric1/fabricAgents/agent1", + "name": "ioxmwhzrzdilxivkvhpvzexl", + "type": "ptgmahzsyv", + "systemData": { + "createdBy": "fazidmklka", + "createdByType": "obpndgkaeyklqzmpjh", + "createdAt": "2023-08-25T00:28:52.128Z", + "lastModifiedBy": "cfoopkrisaroztncgss", + "lastModifiedByType": "dysxbvohxhrpl", + "lastModifiedAt": "2023-08-25T00:28:52.128Z" + } + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/FabricAgent_List.json b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/FabricAgent_List.json new file mode 100644 index 000000000000..1934f8b98f8d --- /dev/null +++ b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/FabricAgent_List.json @@ -0,0 +1,88 @@ +{ + "title": "Lists the fabric agents", + "operationId": "FabricAgent_List", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgswagger_2024-09-01", + "fabricName": "wPR", + "continuationToken": "jw", + "api-version": "2024-09-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Canceled", + "healthErrors": [ + { + "affectedResourceType": "scfniv", + "affectedResourceCorrelationIds": [ + "fope" + ], + "childErrors": [ + { + "code": "yuxxpblihirpedwkigywgwjjrlzq", + "healthCategory": "mhdgfjqwbikhxmhtomkl", + "category": "lcsdxrqxquke", + "severity": "wqxxiuaqjyagq", + "source": "wevvftugwydzzw", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "djsmgrltruljo", + "message": "sskcei", + "causes": "kefaugkpxjkpulimjthjnl", + "recommendation": "kqybwaesqumywtjepi" + } + ], + "code": "dgxkefzmeukd", + "healthCategory": "itc", + "category": "leigw", + "severity": "vvdajssdcypewdyechilxjmuijvdd", + "source": "iy", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "jtooblbvaxxrvcwgscbobq", + "message": "lbywtdprdqdekl", + "causes": "xznphqrrmsdzm", + "recommendation": "gmssteizlhjtclyeoo" + } + ], + "machineId": "envzcoijbqhtrpncbjbhk", + "machineName": "y", + "authenticationIdentity": { + "tenantId": "joclkkdovixwapephhxaqtefubhhmq", + "applicationId": "cwktzrwajuvfyyymfstpey", + "objectId": "khsiaqfbpuhp", + "audience": "dkjobanyqgzenivyxhvavottpc", + "aadAuthority": "bubwwbowfhdmujrt" + }, + "resourceAccessIdentity": { + "tenantId": "joclkkdovixwapephhxaqtefubhhmq", + "applicationId": "cwktzrwajuvfyyymfstpey", + "objectId": "khsiaqfbpuhp", + "audience": "dkjobanyqgzenivyxhvavottpc", + "aadAuthority": "bubwwbowfhdmujrt" + }, + "customProperties": { + "instanceType": "FabricAgentModelCustomProperties" + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationFabrics/fabric1/fabricAgents/agent1", + "name": "rhojydcwjgvgexpdwswjib", + "type": "toipsryjyqchikyakeiuatshiu", + "systemData": { + "createdBy": "yhdmbqrsgimuucexvpas", + "createdByType": "brnojz", + "createdAt": "2023-08-25T00:28:53.716Z", + "lastModifiedBy": "balecqnwu", + "lastModifiedByType": "ukvqlncihf", + "lastModifiedAt": "2023-08-25T00:28:53.716Z" + } + } + ] + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/Fabric_Create.json b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/Fabric_Create.json new file mode 100644 index 000000000000..40a10387146e --- /dev/null +++ b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/Fabric_Create.json @@ -0,0 +1,144 @@ +{ + "title": "Puts the fabric.", + "operationId": "Fabric_Create", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgswagger_2024-09-01", + "fabricName": "wPR", + "api-version": "2024-09-01", + "location": "tqygutlpob", + "body": { + "location": "tqygutlpob", + "properties": { + "customProperties": { + "instanceType": "FabricModelCustomProperties" + } + } + } + }, + "responses": { + "200": { + "body": { + "location": "tqygutlpob", + "properties": { + "customProperties": { + "instanceType": "FabricModelCustomProperties" + }, + "provisioningState": "Canceled", + "serviceEndpoint": "ilrfl", + "serviceResourceId": "xukigpdrbyyy", + "health": "Normal", + "healthErrors": [ + { + "affectedResourceType": "scfniv", + "affectedResourceCorrelationIds": [ + "fope" + ], + "childErrors": [ + { + "code": "yuxxpblihirpedwkigywgwjjrlzq", + "healthCategory": "mhdgfjqwbikhxmhtomkl", + "category": "lcsdxrqxquke", + "severity": "wqxxiuaqjyagq", + "source": "wevvftugwydzzw", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "djsmgrltruljo", + "message": "sskcei", + "causes": "kefaugkpxjkpulimjthjnl", + "recommendation": "kqybwaesqumywtjepi" + } + ], + "code": "dgxkefzmeukd", + "healthCategory": "itc", + "category": "leigw", + "severity": "vvdajssdcypewdyechilxjmuijvdd", + "source": "iy", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "jtooblbvaxxrvcwgscbobq", + "message": "lbywtdprdqdekl", + "causes": "xznphqrrmsdzm", + "recommendation": "gmssteizlhjtclyeoo" + } + ] + }, + "tags": {}, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationFabrics/fabric1", + "name": "rhojydcwjgvgexpdwswjib", + "type": "toipsryjyqchikyakeiuatshiu", + "systemData": { + "createdBy": "ewufpudzcjrljhmmzhfnxoqdqwnya", + "createdByType": "zioqm", + "createdAt": "2023-08-25T00:28:53.022Z", + "lastModifiedBy": "rx", + "lastModifiedByType": "tqbvuqoakaaqij", + "lastModifiedAt": "2023-08-25T00:28:53.022Z" + } + } + }, + "201": { + "headers": { + "location": "https://contoso.com/operationstatus" + }, + "body": { + "location": "tqygutlpob", + "properties": { + "customProperties": { + "instanceType": "FabricModelCustomProperties" + }, + "provisioningState": "Canceled", + "serviceEndpoint": "ilrfl", + "serviceResourceId": "xukigpdrbyyy", + "health": "Normal", + "healthErrors": [ + { + "affectedResourceType": "scfniv", + "affectedResourceCorrelationIds": [ + "fope" + ], + "childErrors": [ + { + "code": "yuxxpblihirpedwkigywgwjjrlzq", + "healthCategory": "mhdgfjqwbikhxmhtomkl", + "category": "lcsdxrqxquke", + "severity": "wqxxiuaqjyagq", + "source": "wevvftugwydzzw", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "djsmgrltruljo", + "message": "sskcei", + "causes": "kefaugkpxjkpulimjthjnl", + "recommendation": "kqybwaesqumywtjepi" + } + ], + "code": "dgxkefzmeukd", + "healthCategory": "itc", + "category": "leigw", + "severity": "vvdajssdcypewdyechilxjmuijvdd", + "source": "iy", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "jtooblbvaxxrvcwgscbobq", + "message": "lbywtdprdqdekl", + "causes": "xznphqrrmsdzm", + "recommendation": "gmssteizlhjtclyeoo" + } + ] + }, + "tags": {}, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationFabrics/fabric1", + "name": "rhojydcwjgvgexpdwswjib", + "type": "toipsryjyqchikyakeiuatshiu", + "systemData": { + "createdBy": "ewufpudzcjrljhmmzhfnxoqdqwnya", + "createdByType": "zioqm", + "createdAt": "2023-08-25T00:28:53.022Z", + "lastModifiedBy": "rx", + "lastModifiedByType": "tqbvuqoakaaqij", + "lastModifiedAt": "2023-08-25T00:28:53.022Z" + } + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/Fabric_Delete.json b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/Fabric_Delete.json new file mode 100644 index 000000000000..48c767772d99 --- /dev/null +++ b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/Fabric_Delete.json @@ -0,0 +1,18 @@ +{ + "title": "Deletes the fabric.", + "operationId": "Fabric_Delete", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgrecoveryservicesdatareplication", + "fabricName": "wPR", + "api-version": "2024-09-01" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/Fabric_Get.json b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/Fabric_Get.json new file mode 100644 index 000000000000..adbf5ffd29e9 --- /dev/null +++ b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/Fabric_Get.json @@ -0,0 +1,74 @@ +{ + "title": "Gets the fabric.", + "operationId": "Fabric_Get", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgrecoveryservicesdatareplication", + "fabricName": "wPR", + "api-version": "2024-09-01" + }, + "responses": { + "200": { + "body": { + "location": "tqygutlpob", + "properties": { + "provisioningState": "Canceled", + "serviceEndpoint": "ilrfl", + "serviceResourceId": "xukigpdrbyyy", + "health": "Normal", + "healthErrors": [ + { + "affectedResourceType": "scfniv", + "affectedResourceCorrelationIds": [ + "fope" + ], + "childErrors": [ + { + "code": "yuxxpblihirpedwkigywgwjjrlzq", + "healthCategory": "mhdgfjqwbikhxmhtomkl", + "category": "lcsdxrqxquke", + "severity": "wqxxiuaqjyagq", + "source": "wevvftugwydzzw", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "djsmgrltruljo", + "message": "sskcei", + "causes": "kefaugkpxjkpulimjthjnl", + "recommendation": "kqybwaesqumywtjepi" + } + ], + "code": "dgxkefzmeukd", + "healthCategory": "itc", + "category": "leigw", + "severity": "vvdajssdcypewdyechilxjmuijvdd", + "source": "iy", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "jtooblbvaxxrvcwgscbobq", + "message": "lbywtdprdqdekl", + "causes": "xznphqrrmsdzm", + "recommendation": "gmssteizlhjtclyeoo" + } + ], + "customProperties": { + "instanceType": "FabricModelCustomProperties" + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationFabrics/fabric1", + "name": "rhojydcwjgvgexpdwswjib", + "type": "toipsryjyqchikyakeiuatshiu", + "systemData": { + "createdBy": "yhdmbqrsgimuucexvpas", + "createdByType": "brnojz", + "createdAt": "2023-08-25T00:28:53.716Z", + "lastModifiedBy": "balecqnwu", + "lastModifiedByType": "ukvqlncihf", + "lastModifiedAt": "2023-08-25T00:28:53.716Z" + }, + "tags": { + "key3917": "vgralu" + } + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/Fabric_List.json b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/Fabric_List.json new file mode 100644 index 000000000000..a7d8b0e37fdf --- /dev/null +++ b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/Fabric_List.json @@ -0,0 +1,76 @@ +{ + "title": "Lists the fabrics.", + "operationId": "Fabric_List", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgswagger_2024-09-01", + "continuationToken": "jw", + "api-version": "2024-09-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "location": "tqygutlpob", + "properties": { + "provisioningState": "Canceled", + "serviceEndpoint": "ilrfl", + "serviceResourceId": "xukigpdrbyyy", + "health": "Normal", + "healthErrors": [ + { + "affectedResourceType": "scfniv", + "affectedResourceCorrelationIds": [ + "fope" + ], + "childErrors": [ + { + "code": "yuxxpblihirpedwkigywgwjjrlzq", + "healthCategory": "mhdgfjqwbikhxmhtomkl", + "category": "lcsdxrqxquke", + "severity": "wqxxiuaqjyagq", + "source": "wevvftugwydzzw", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "djsmgrltruljo", + "message": "sskcei", + "causes": "kefaugkpxjkpulimjthjnl", + "recommendation": "kqybwaesqumywtjepi" + } + ], + "code": "dgxkefzmeukd", + "healthCategory": "itc", + "category": "leigw", + "severity": "vvdajssdcypewdyechilxjmuijvdd", + "source": "iy", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "jtooblbvaxxrvcwgscbobq", + "message": "lbywtdprdqdekl", + "causes": "xznphqrrmsdzm", + "recommendation": "gmssteizlhjtclyeoo" + } + ], + "customProperties": { + "instanceType": "FabricModelCustomProperties" + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationFabrics/fabric1", + "name": "rhojydcwjgvgexpdwswjib", + "type": "toipsryjyqchikyakeiuatshiu", + "systemData": { + "createdBy": "yhdmbqrsgimuucexvpas", + "createdByType": "brnojz", + "createdAt": "2023-08-25T00:28:53.716Z", + "lastModifiedBy": "balecqnwu", + "lastModifiedByType": "ukvqlncihf", + "lastModifiedAt": "2023-08-25T00:28:53.716Z" + }, + "tags": {} + } + ] + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/Fabric_ListBySubscription.json b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/Fabric_ListBySubscription.json new file mode 100644 index 000000000000..ba8d7bb6f04f --- /dev/null +++ b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/Fabric_ListBySubscription.json @@ -0,0 +1,75 @@ +{ + "title": "Lists the fabrics by subscription.", + "operationId": "Fabric_ListBySubscription", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "continuationToken": "gab", + "api-version": "2024-09-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "location": "tqygutlpob", + "properties": { + "provisioningState": "Canceled", + "serviceEndpoint": "ilrfl", + "serviceResourceId": "xukigpdrbyyy", + "health": "Normal", + "healthErrors": [ + { + "affectedResourceType": "scfniv", + "affectedResourceCorrelationIds": [ + "fope" + ], + "childErrors": [ + { + "code": "yuxxpblihirpedwkigywgwjjrlzq", + "healthCategory": "mhdgfjqwbikhxmhtomkl", + "category": "lcsdxrqxquke", + "severity": "wqxxiuaqjyagq", + "source": "wevvftugwydzzw", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "djsmgrltruljo", + "message": "sskcei", + "causes": "kefaugkpxjkpulimjthjnl", + "recommendation": "kqybwaesqumywtjepi" + } + ], + "code": "dgxkefzmeukd", + "healthCategory": "itc", + "category": "leigw", + "severity": "vvdajssdcypewdyechilxjmuijvdd", + "source": "iy", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "jtooblbvaxxrvcwgscbobq", + "message": "lbywtdprdqdekl", + "causes": "xznphqrrmsdzm", + "recommendation": "gmssteizlhjtclyeoo" + } + ], + "customProperties": { + "instanceType": "FabricModelCustomProperties" + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataReplication/replicationFabrics/fabric1", + "name": "rhojydcwjgvgexpdwswjib", + "type": "toipsryjyqchikyakeiuatshiu", + "systemData": { + "createdBy": "yhdmbqrsgimuucexvpas", + "createdByType": "brnojz", + "createdAt": "2023-08-25T00:28:53.716Z", + "lastModifiedBy": "balecqnwu", + "lastModifiedByType": "ukvqlncihf", + "lastModifiedAt": "2023-08-25T00:28:53.716Z" + }, + "tags": {} + } + ] + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/Fabric_Update.json b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/Fabric_Update.json new file mode 100644 index 000000000000..554b7473dafa --- /dev/null +++ b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/Fabric_Update.json @@ -0,0 +1,85 @@ +{ + "title": "Updates the fabric.", + "operationId": "Fabric_Update", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgswagger_2024-09-01", + "fabricName": "wPR", + "api-version": "2024-09-01", + "body": { + "properties": { + "customProperties": { + "instanceType": "FabricModelCustomProperties" + } + }, + "tags": {} + } + }, + "responses": { + "200": { + "body": { + "location": "tqygutlpob", + "properties": { + "customProperties": { + "instanceType": "FabricModelCustomProperties" + }, + "provisioningState": "Canceled", + "serviceEndpoint": "ilrfl", + "serviceResourceId": "xukigpdrbyyy", + "health": "Normal", + "healthErrors": [ + { + "affectedResourceType": "scfniv", + "affectedResourceCorrelationIds": [ + "fope" + ], + "childErrors": [ + { + "code": "yuxxpblihirpedwkigywgwjjrlzq", + "healthCategory": "mhdgfjqwbikhxmhtomkl", + "category": "lcsdxrqxquke", + "severity": "wqxxiuaqjyagq", + "source": "wevvftugwydzzw", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "djsmgrltruljo", + "message": "sskcei", + "causes": "kefaugkpxjkpulimjthjnl", + "recommendation": "kqybwaesqumywtjepi" + } + ], + "code": "dgxkefzmeukd", + "healthCategory": "itc", + "category": "leigw", + "severity": "vvdajssdcypewdyechilxjmuijvdd", + "source": "iy", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "jtooblbvaxxrvcwgscbobq", + "message": "lbywtdprdqdekl", + "causes": "xznphqrrmsdzm", + "recommendation": "gmssteizlhjtclyeoo" + } + ] + }, + "tags": {}, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationFabrics/fabric1", + "name": "rhojydcwjgvgexpdwswjib", + "type": "toipsryjyqchikyakeiuatshiu", + "systemData": { + "createdBy": "ewufpudzcjrljhmmzhfnxoqdqwnya", + "createdByType": "zioqm", + "createdAt": "2023-08-25T00:28:53.022Z", + "lastModifiedBy": "rx", + "lastModifiedByType": "tqbvuqoakaaqij", + "lastModifiedAt": "2023-08-25T00:28:53.022Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/Job_Get.json b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/Job_Get.json new file mode 100644 index 000000000000..4963a4c327dd --- /dev/null +++ b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/Job_Get.json @@ -0,0 +1,72 @@ +{ + "title": "Gets the job.", + "operationId": "Job_Get", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgrecoveryservicesdatareplication", + "vaultName": "4", + "jobName": "ZGH4y", + "api-version": "2024-09-01" + }, + "responses": { + "200": { + "body": { + "properties": { + "displayName": "dhopzytkd", + "state": "Pending", + "startTime": "2023-08-25T00:28:59.269Z", + "endTime": "2023-08-25T00:28:59.269Z", + "objectId": "wvtmwiyxqrpqvljzn", + "objectName": "ieieqaw", + "objectInternalId": "ahbtlwmbeivmlbj", + "objectInternalName": "mxikyrinkeyj", + "objectType": "AvsDiskPool", + "replicationProviderId": "ghxsbnvdkx", + "sourceFabricProviderId": "yqlertkmzdsgsplzgkmwcttsiagsa", + "targetFabricProviderId": "stjlmqzpgnrug", + "allowedActions": [ + "mfsyvxzgmcpgdzfbbhoxrzhya" + ], + "activityId": "esjvxsa", + "tasks": [ + { + "taskName": "flkzfbbpngqbbjsdqysqfon", + "state": "Pending", + "startTime": "2023-08-25T00:28:59.269Z", + "endTime": "2023-08-25T00:28:59.269Z", + "customProperties": { + "instanceType": "aaqgqvnhskxpsbnrdekxaghweon" + } + } + ], + "errors": [ + { + "code": "ndcxzieiuwoxoklilcvjmglml", + "type": "iyktxohrtrkshbjdhboscsu", + "severity": "ldgmfmbzmjtqjg", + "creationTime": "2023-08-25T00:28:59.269Z", + "message": "ltuufmxomfecqeyvzrfjqlelytkdwr", + "causes": "iffxig", + "recommendation": "brridkskflo" + } + ], + "customProperties": { + "instanceType": "JobModelCustomProperties", + "affectedObjectDetails": {} + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationVaults/vault1/jobs/job1", + "name": "ukii", + "type": "cswros", + "systemData": { + "createdBy": "jurgsdagntjg", + "createdByType": "zowfl", + "createdAt": "2023-08-25T00:28:59.270Z", + "lastModifiedBy": "vuw", + "lastModifiedByType": "h", + "lastModifiedAt": "2023-08-25T00:28:59.270Z" + } + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/Job_List.json b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/Job_List.json new file mode 100644 index 000000000000..d8c11849e00c --- /dev/null +++ b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/Job_List.json @@ -0,0 +1,76 @@ +{ + "title": "Lists the jobs.", + "operationId": "Job_List", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgrecoveryservicesdatareplication", + "vaultName": "4", + "continuationToken": "rdavrzbethhslmkqgajontnxsue", + "api-version": "2024-09-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "displayName": "dhopzytkd", + "state": "Pending", + "startTime": "2023-08-25T00:28:59.269Z", + "endTime": "2023-08-25T00:28:59.269Z", + "objectId": "wvtmwiyxqrpqvljzn", + "objectName": "ieieqaw", + "objectInternalId": "ahbtlwmbeivmlbj", + "objectInternalName": "mxikyrinkeyj", + "objectType": "AvsDiskPool", + "replicationProviderId": "ghxsbnvdkx", + "sourceFabricProviderId": "yqlertkmzdsgsplzgkmwcttsiagsa", + "targetFabricProviderId": "stjlmqzpgnrug", + "allowedActions": [ + "mfsyvxzgmcpgdzfbbhoxrzhya" + ], + "activityId": "esjvxsa", + "tasks": [ + { + "taskName": "flkzfbbpngqbbjsdqysqfon", + "state": "Pending", + "startTime": "2023-08-25T00:28:59.269Z", + "endTime": "2023-08-25T00:28:59.269Z", + "customProperties": { + "instanceType": "aaqgqvnhskxpsbnrdekxaghweon" + } + } + ], + "errors": [ + { + "code": "ndcxzieiuwoxoklilcvjmglml", + "type": "iyktxohrtrkshbjdhboscsu", + "severity": "ldgmfmbzmjtqjg", + "creationTime": "2023-08-25T00:28:59.269Z", + "message": "ltuufmxomfecqeyvzrfjqlelytkdwr", + "causes": "iffxig", + "recommendation": "brridkskflo" + } + ], + "customProperties": { + "instanceType": "JobModelCustomProperties", + "affectedObjectDetails": {} + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationVaults/vault1/jobs/job1", + "name": "ukii", + "type": "cswros", + "systemData": { + "createdBy": "jurgsdagntjg", + "createdByType": "zowfl", + "createdAt": "2023-08-25T00:28:59.270Z", + "lastModifiedBy": "vuw", + "lastModifiedByType": "h", + "lastModifiedAt": "2023-08-25T00:28:59.270Z" + } + } + ] + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/OperationResults_Get.json b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/OperationResults_Get.json new file mode 100644 index 000000000000..c22f140f65e1 --- /dev/null +++ b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/OperationResults_Get.json @@ -0,0 +1,21 @@ +{ + "title": "Gets the Operation Results", + "operationId": "OperationResults_Get", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgswagger_2024-09-01", + "operationId": "lghle", + "api-version": "2024-09-01" + }, + "responses": { + "200": { + "body": { + "id": "inhnjrxtqtyumflbzdne", + "name": "eawsgzqm", + "status": "jjijbsrjfqvqzriekxfvynb", + "startTime": "slmhzgrfzkkrxdalacmidyxijq", + "endTime": "ixkalnbiajfpjtur" + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/Operations_List.json b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/Operations_List.json new file mode 100644 index 000000000000..583c3a7c1568 --- /dev/null +++ b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/Operations_List.json @@ -0,0 +1,28 @@ +{ + "title": "Get a list of REST API operations supported by Microsoft.DataReplication.", + "operationId": "Operations_List", + "parameters": { + "api-version": "2024-09-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "chktcqashuxscvbp", + "isDataAction": true, + "display": { + "provider": "yembewkfmaq", + "resource": "epyscqvmqhxbwgyqhzeaumpor", + "operation": "dfal", + "description": "bjdvnagzxjandxcbcrf" + }, + "origin": "user", + "actionType": "Internal" + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/Policy_Create.json b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/Policy_Create.json new file mode 100644 index 000000000000..2c0901c65b6c --- /dev/null +++ b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/Policy_Create.json @@ -0,0 +1,65 @@ +{ + "title": "Puts the policy.", + "operationId": "Policy_Create", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgrecoveryservicesdatareplication", + "vaultName": "4", + "policyName": "fafqwc", + "api-version": "2024-09-01", + "body": { + "properties": { + "customProperties": { + "instanceType": "PolicyModelCustomProperties" + } + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Canceled", + "customProperties": { + "instanceType": "PolicyModelCustomProperties" + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationVaults/vault1/replicationPolicies/policy1", + "name": "ocmty", + "type": "pvltqld", + "systemData": { + "createdBy": "yiaelkrpuzsfumovsxeb", + "createdByType": "qwzrkjsfloruegijrfnfpn", + "createdAt": "2023-08-25T00:28:54.713Z", + "lastModifiedBy": "xy", + "lastModifiedByType": "rnc", + "lastModifiedAt": "2023-08-25T00:28:54.713Z" + } + } + }, + "201": { + "headers": { + "location": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Canceled", + "customProperties": { + "instanceType": "PolicyModelCustomProperties" + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationVaults/vault1/replicationPolicies/policy1", + "name": "ocmty", + "type": "pvltqld", + "systemData": { + "createdBy": "yiaelkrpuzsfumovsxeb", + "createdByType": "qwzrkjsfloruegijrfnfpn", + "createdAt": "2023-08-25T00:28:54.713Z", + "lastModifiedBy": "xy", + "lastModifiedByType": "rnc", + "lastModifiedAt": "2023-08-25T00:28:54.713Z" + } + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/Policy_Delete.json b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/Policy_Delete.json new file mode 100644 index 000000000000..48043bea3da9 --- /dev/null +++ b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/Policy_Delete.json @@ -0,0 +1,19 @@ +{ + "title": "Deletes the policy.", + "operationId": "Policy_Delete", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgrecoveryservicesdatareplication", + "vaultName": "4", + "policyName": "wqfscsdv", + "api-version": "2024-09-01" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/Policy_Get.json b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/Policy_Get.json new file mode 100644 index 000000000000..a85e5c86d241 --- /dev/null +++ b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/Policy_Get.json @@ -0,0 +1,34 @@ +{ + "title": "Gets the policy.", + "operationId": "Policy_Get", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgrecoveryservicesdatareplication", + "vaultName": "4", + "policyName": "wdqsacasc", + "api-version": "2024-09-01" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Canceled", + "customProperties": { + "instanceType": "PolicyModelCustomProperties" + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationVaults/vault1/replicationPolicies/policy1", + "name": "ocmty", + "type": "pvltqld", + "systemData": { + "createdBy": "yiaelkrpuzsfumovsxeb", + "createdByType": "qwzrkjsfloruegijrfnfpn", + "createdAt": "2023-08-25T00:28:54.713Z", + "lastModifiedBy": "xy", + "lastModifiedByType": "rnc", + "lastModifiedAt": "2023-08-25T00:28:54.713Z" + } + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/Policy_List.json b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/Policy_List.json new file mode 100644 index 000000000000..cc1df46227bb --- /dev/null +++ b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/Policy_List.json @@ -0,0 +1,37 @@ +{ + "title": "Lists the policies.", + "operationId": "Policy_List", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgrecoveryservicesdatareplication", + "vaultName": "4", + "api-version": "2024-09-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Canceled", + "customProperties": { + "instanceType": "PolicyModelCustomProperties" + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationVaults/vault1/replicationPolicies/policy1", + "name": "ocmty", + "type": "pvltqld", + "systemData": { + "createdBy": "yiaelkrpuzsfumovsxeb", + "createdByType": "qwzrkjsfloruegijrfnfpn", + "createdAt": "2023-08-25T00:28:54.713Z", + "lastModifiedBy": "xy", + "lastModifiedByType": "rnc", + "lastModifiedAt": "2023-08-25T00:28:54.713Z" + } + } + ] + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/PrivateEndpointConnectionProxy_Create.json b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/PrivateEndpointConnectionProxy_Create.json new file mode 100644 index 000000000000..db269e545940 --- /dev/null +++ b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/PrivateEndpointConnectionProxy_Create.json @@ -0,0 +1,203 @@ +{ + "title": "Creates the Private Endpoint Connection Proxy.", + "operationId": "PrivateEndpointConnectionProxies_Create", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgswagger_2024-09-01", + "vaultName": "4", + "privateEndpointConnectionProxyName": "d", + "api-version": "2024-09-01", + "body": { + "etag": "hruibxrezstxroxrxweh", + "properties": { + "remotePrivateEndpoint": { + "id": "yipalno", + "privateLinkServiceConnections": [ + { + "name": "jqwntlzfsksl", + "groupIds": [ + "hvejynjktikteipnioyeja" + ], + "requestMessage": "bukgzpkvcvfbmcdmpcbiigbvugicqa" + } + ], + "manualPrivateLinkServiceConnections": [ + { + "name": "jqwntlzfsksl", + "groupIds": [ + "hvejynjktikteipnioyeja" + ], + "requestMessage": "bukgzpkvcvfbmcdmpcbiigbvugicqa" + } + ], + "privateLinkServiceProxies": [ + { + "id": "nzqxevuyqeedrqnkbnlcyrrrbzxvl", + "remotePrivateLinkServiceConnectionState": { + "status": "Approved", + "description": "y", + "actionsRequired": "afwbq" + }, + "remotePrivateEndpointConnection": { + "id": "ocunsgawjsqohkrcyxiv" + }, + "groupConnectivityInformation": [ + { + "groupId": "per", + "memberName": "ybptuypgdqoxkuwqx", + "customerVisibleFqdns": [ + "vedcg" + ], + "internalFqdn": "maqavwhxwzzhbzjbryyquvitmup", + "redirectMapId": "pezncxcq", + "privateLinkServiceArmRegion": "rerkqqxinteevmlbrdkktaqhcch" + } + ] + } + ], + "connectionDetails": [ + { + "id": "lenqkogzkes", + "privateIpAddress": "cyiacdzzyqmxjpijjbwgasegehtqe", + "linkIdentifier": "ravfufhkdowufd", + "groupId": "pjrlygpadir", + "memberName": "ybuysjrlfupewxe" + } + ] + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationVaults/vault1/privateEndpointConnectionProxies/proxy1", + "name": "wrbeymbilwm", + "type": "xpfgxxykisvjcifsnlvtgjakwifak", + "etag": "hruibxrezstxroxrxweh", + "properties": { + "remotePrivateEndpoint": { + "id": "yipalno", + "privateLinkServiceConnections": [ + { + "name": "jqwntlzfsksl", + "groupIds": [ + "hvejynjktikteipnioyeja" + ], + "requestMessage": "bukgzpkvcvfbmcdmpcbiigbvugicqa" + } + ], + "manualPrivateLinkServiceConnections": [ + { + "name": "jqwntlzfsksl", + "groupIds": [ + "hvejynjktikteipnioyeja" + ], + "requestMessage": "bukgzpkvcvfbmcdmpcbiigbvugicqa" + } + ], + "privateLinkServiceProxies": [ + { + "id": "nzqxevuyqeedrqnkbnlcyrrrbzxvl", + "remotePrivateLinkServiceConnectionState": { + "status": "Approved", + "description": "y", + "actionsRequired": "afwbq" + }, + "remotePrivateEndpointConnection": { + "id": "ocunsgawjsqohkrcyxiv" + }, + "groupConnectivityInformation": [ + { + "groupId": "per", + "memberName": "ybptuypgdqoxkuwqx", + "customerVisibleFqdns": [ + "vedcg" + ], + "internalFqdn": "maqavwhxwzzhbzjbryyquvitmup", + "redirectMapId": "pezncxcq", + "privateLinkServiceArmRegion": "rerkqqxinteevmlbrdkktaqhcch" + } + ] + } + ], + "connectionDetails": [ + { + "id": "lenqkogzkes", + "privateIpAddress": "cyiacdzzyqmxjpijjbwgasegehtqe", + "linkIdentifier": "ravfufhkdowufd", + "groupId": "pjrlygpadir", + "memberName": "ybuysjrlfupewxe" + } + ] + } + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationVaults/vault1/privateEndpointConnectionProxies/proxy1", + "name": "wrbeymbilwm", + "type": "xpfgxxykisvjcifsnlvtgjakwifak", + "etag": "hruibxrezstxroxrxweh", + "properties": { + "remotePrivateEndpoint": { + "id": "yipalno", + "privateLinkServiceConnections": [ + { + "name": "jqwntlzfsksl", + "groupIds": [ + "hvejynjktikteipnioyeja" + ], + "requestMessage": "bukgzpkvcvfbmcdmpcbiigbvugicqa" + } + ], + "manualPrivateLinkServiceConnections": [ + { + "name": "jqwntlzfsksl", + "groupIds": [ + "hvejynjktikteipnioyeja" + ], + "requestMessage": "bukgzpkvcvfbmcdmpcbiigbvugicqa" + } + ], + "privateLinkServiceProxies": [ + { + "id": "nzqxevuyqeedrqnkbnlcyrrrbzxvl", + "remotePrivateLinkServiceConnectionState": { + "status": "Approved", + "description": "y", + "actionsRequired": "afwbq" + }, + "remotePrivateEndpointConnection": { + "id": "ocunsgawjsqohkrcyxiv" + }, + "groupConnectivityInformation": [ + { + "groupId": "per", + "memberName": "ybptuypgdqoxkuwqx", + "customerVisibleFqdns": [ + "vedcg" + ], + "internalFqdn": "maqavwhxwzzhbzjbryyquvitmup", + "redirectMapId": "pezncxcq", + "privateLinkServiceArmRegion": "rerkqqxinteevmlbrdkktaqhcch" + } + ] + } + ], + "connectionDetails": [ + { + "id": "lenqkogzkes", + "privateIpAddress": "cyiacdzzyqmxjpijjbwgasegehtqe", + "linkIdentifier": "ravfufhkdowufd", + "groupId": "pjrlygpadir", + "memberName": "ybuysjrlfupewxe" + } + ] + } + } + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/PrivateEndpointConnectionProxy_Delete.json b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/PrivateEndpointConnectionProxy_Delete.json new file mode 100644 index 000000000000..94b52afff1fb --- /dev/null +++ b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/PrivateEndpointConnectionProxy_Delete.json @@ -0,0 +1,19 @@ +{ + "title": "Deletes the Private Endpoint Proxy Connection", + "operationId": "PrivateEndpointConnectionProxies_Delete", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgswagger_2024-09-01", + "vaultName": "4", + "privateEndpointConnectionProxyName": "d", + "api-version": "2024-09-01" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/PrivateEndpointConnectionProxy_Get.json b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/PrivateEndpointConnectionProxy_Get.json new file mode 100644 index 000000000000..00013730aedd --- /dev/null +++ b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/PrivateEndpointConnectionProxy_Get.json @@ -0,0 +1,78 @@ +{ + "title": "Get Private Endpoint Connection Proxy", + "operationId": "PrivateEndpointConnectionProxies_Get", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgswagger_2024-09-01", + "vaultName": "4", + "privateEndpointConnectionProxyName": "d", + "api-version": "2024-09-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationVaults/vault1/privateEndpointConnectionProxies/proxy1", + "name": "wrbeymbilwm", + "type": "xpfgxxykisvjcifsnlvtgjakwifak", + "etag": "hruibxrezstxroxrxweh", + "properties": { + "remotePrivateEndpoint": { + "id": "yipalno", + "privateLinkServiceConnections": [ + { + "name": "jqwntlzfsksl", + "groupIds": [ + "hvejynjktikteipnioyeja" + ], + "requestMessage": "bukgzpkvcvfbmcdmpcbiigbvugicqa" + } + ], + "manualPrivateLinkServiceConnections": [ + { + "name": "jqwntlzfsksl", + "groupIds": [ + "hvejynjktikteipnioyeja" + ], + "requestMessage": "bukgzpkvcvfbmcdmpcbiigbvugicqa" + } + ], + "privateLinkServiceProxies": [ + { + "id": "nzqxevuyqeedrqnkbnlcyrrrbzxvl", + "remotePrivateLinkServiceConnectionState": { + "status": "Approved", + "description": "y", + "actionsRequired": "afwbq" + }, + "remotePrivateEndpointConnection": { + "id": "ocunsgawjsqohkrcyxiv" + }, + "groupConnectivityInformation": [ + { + "groupId": "per", + "memberName": "ybptuypgdqoxkuwqx", + "customerVisibleFqdns": [ + "vedcg" + ], + "internalFqdn": "maqavwhxwzzhbzjbryyquvitmup", + "redirectMapId": "pezncxcq", + "privateLinkServiceArmRegion": "rerkqqxinteevmlbrdkktaqhcch" + } + ] + } + ], + "connectionDetails": [ + { + "id": "lenqkogzkes", + "privateIpAddress": "cyiacdzzyqmxjpijjbwgasegehtqe", + "linkIdentifier": "ravfufhkdowufd", + "groupId": "pjrlygpadir", + "memberName": "ybuysjrlfupewxe" + } + ] + } + } + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/PrivateEndpointConnectionProxy_List.json b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/PrivateEndpointConnectionProxy_List.json new file mode 100644 index 000000000000..06955fb5d54e --- /dev/null +++ b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/PrivateEndpointConnectionProxy_List.json @@ -0,0 +1,81 @@ +{ + "title": "Lists the Private Endpoint Connection Proxy", + "operationId": "PrivateEndpointConnectionProxies_List", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgswagger_2024-09-01", + "vaultName": "4", + "api-version": "2024-09-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationVaults/vault1/privateEndpointConnectionProxies/proxy1", + "name": "wrbeymbilwm", + "type": "xpfgxxykisvjcifsnlvtgjakwifak", + "etag": "hruibxrezstxroxrxweh", + "properties": { + "remotePrivateEndpoint": { + "id": "yipalno", + "privateLinkServiceConnections": [ + { + "name": "jqwntlzfsksl", + "groupIds": [ + "hvejynjktikteipnioyeja" + ], + "requestMessage": "bukgzpkvcvfbmcdmpcbiigbvugicqa" + } + ], + "manualPrivateLinkServiceConnections": [ + { + "name": "jqwntlzfsksl", + "groupIds": [ + "hvejynjktikteipnioyeja" + ], + "requestMessage": "bukgzpkvcvfbmcdmpcbiigbvugicqa" + } + ], + "privateLinkServiceProxies": [ + { + "id": "nzqxevuyqeedrqnkbnlcyrrrbzxvl", + "remotePrivateLinkServiceConnectionState": { + "status": "Approved", + "description": "y", + "actionsRequired": "afwbq" + }, + "remotePrivateEndpointConnection": { + "id": "ocunsgawjsqohkrcyxiv" + }, + "groupConnectivityInformation": [ + { + "groupId": "per", + "memberName": "ybptuypgdqoxkuwqx", + "customerVisibleFqdns": [ + "vedcg" + ], + "internalFqdn": "maqavwhxwzzhbzjbryyquvitmup", + "redirectMapId": "pezncxcq", + "privateLinkServiceArmRegion": "rerkqqxinteevmlbrdkktaqhcch" + } + ] + } + ], + "connectionDetails": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationVaults/vault1/privateEndpointConnections/connection1", + "privateIpAddress": "cyiacdzzyqmxjpijjbwgasegehtqe", + "linkIdentifier": "ravfufhkdowufd", + "groupId": "pjrlygpadir", + "memberName": "ybuysjrlfupewxe" + } + ] + } + } + } + ] + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/PrivateEndpointConnectionProxy_Validate.json b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/PrivateEndpointConnectionProxy_Validate.json new file mode 100644 index 000000000000..cd181990d443 --- /dev/null +++ b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/PrivateEndpointConnectionProxy_Validate.json @@ -0,0 +1,138 @@ +{ + "title": "Validates the Private Endpoint Connection Proxy", + "operationId": "PrivateEndpointConnectionProxies_Validate", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgswagger_2024-09-01", + "vaultName": "4", + "privateEndpointConnectionProxyName": "d", + "api-version": "2024-09-01", + "body": { + "etag": "hruibxrezstxroxrxweh", + "properties": { + "remotePrivateEndpoint": { + "id": "yipalno", + "privateLinkServiceConnections": [ + { + "name": "jqwntlzfsksl", + "groupIds": [ + "hvejynjktikteipnioyeja" + ], + "requestMessage": "bukgzpkvcvfbmcdmpcbiigbvugicqa" + } + ], + "manualPrivateLinkServiceConnections": [ + { + "name": "jqwntlzfsksl", + "groupIds": [ + "hvejynjktikteipnioyeja" + ], + "requestMessage": "bukgzpkvcvfbmcdmpcbiigbvugicqa" + } + ], + "privateLinkServiceProxies": [ + { + "id": "nzqxevuyqeedrqnkbnlcyrrrbzxvl", + "remotePrivateLinkServiceConnectionState": { + "status": "Approved", + "description": "y", + "actionsRequired": "afwbq" + }, + "remotePrivateEndpointConnection": { + "id": "ocunsgawjsqohkrcyxiv" + }, + "groupConnectivityInformation": [ + { + "groupId": "per", + "memberName": "ybptuypgdqoxkuwqx", + "customerVisibleFqdns": [ + "vedcg" + ], + "internalFqdn": "maqavwhxwzzhbzjbryyquvitmup", + "redirectMapId": "pezncxcq", + "privateLinkServiceArmRegion": "rerkqqxinteevmlbrdkktaqhcch" + } + ] + } + ], + "connectionDetails": [ + { + "id": "lenqkogzkes", + "privateIpAddress": "cyiacdzzyqmxjpijjbwgasegehtqe", + "linkIdentifier": "ravfufhkdowufd", + "groupId": "pjrlygpadir", + "memberName": "ybuysjrlfupewxe" + } + ] + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationVaults/vault1/privateEndpointConnectionProxies/proxy1", + "name": "wrbeymbilwm", + "type": "xpfgxxykisvjcifsnlvtgjakwifak", + "etag": "hruibxrezstxroxrxweh", + "properties": { + "remotePrivateEndpoint": { + "id": "yipalno", + "privateLinkServiceConnections": [ + { + "name": "jqwntlzfsksl", + "groupIds": [ + "hvejynjktikteipnioyeja" + ], + "requestMessage": "bukgzpkvcvfbmcdmpcbiigbvugicqa" + } + ], + "manualPrivateLinkServiceConnections": [ + { + "name": "jqwntlzfsksl", + "groupIds": [ + "hvejynjktikteipnioyeja" + ], + "requestMessage": "bukgzpkvcvfbmcdmpcbiigbvugicqa" + } + ], + "privateLinkServiceProxies": [ + { + "id": "nzqxevuyqeedrqnkbnlcyrrrbzxvl", + "remotePrivateLinkServiceConnectionState": { + "status": "Approved", + "description": "y", + "actionsRequired": "afwbq" + }, + "remotePrivateEndpointConnection": { + "id": "ocunsgawjsqohkrcyxiv" + }, + "groupConnectivityInformation": [ + { + "groupId": "per", + "memberName": "ybptuypgdqoxkuwqx", + "customerVisibleFqdns": [ + "vedcg" + ], + "internalFqdn": "maqavwhxwzzhbzjbryyquvitmup", + "redirectMapId": "pezncxcq", + "privateLinkServiceArmRegion": "rerkqqxinteevmlbrdkktaqhcch" + } + ] + } + ], + "connectionDetails": [ + { + "id": "lenqkogzkes", + "privateIpAddress": "cyiacdzzyqmxjpijjbwgasegehtqe", + "linkIdentifier": "ravfufhkdowufd", + "groupId": "pjrlygpadir", + "memberName": "ybuysjrlfupewxe" + } + ] + } + } + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/PrivateEndpointConnection_Delete.json b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/PrivateEndpointConnection_Delete.json new file mode 100644 index 000000000000..5935fd7ef8a2 --- /dev/null +++ b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/PrivateEndpointConnection_Delete.json @@ -0,0 +1,19 @@ +{ + "title": "Deletes the Private Endpoint Connection", + "operationId": "PrivateEndpointConnections_Delete", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgswagger_2024-09-01", + "vaultName": "4", + "privateEndpointConnectionName": "sdwqtfhigjirrzhpbmqtzgs", + "api-version": "2024-09-01" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/PrivateEndpointConnection_Get.json b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/PrivateEndpointConnection_Get.json new file mode 100644 index 000000000000..fc52e7f36d56 --- /dev/null +++ b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/PrivateEndpointConnection_Get.json @@ -0,0 +1,31 @@ +{ + "title": "Gets the Private Endpoint Connection", + "operationId": "PrivateEndpointConnections_Get", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgswagger_2024-09-01", + "vaultName": "4", + "privateEndpointConnectionName": "vbkm", + "api-version": "2024-09-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationVaults/vault1/privateEndpointConnections/connection1", + "name": "kadsmyhrosefybpbwvwxs", + "type": "ztysngp", + "properties": { + "provisioningState": "Canceled", + "privateEndpoint": { + "id": "cwcdqoynostmqwdwy" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "y", + "actionsRequired": "afwbq" + } + } + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/PrivateEndpointConnection_List.json b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/PrivateEndpointConnection_List.json new file mode 100644 index 000000000000..4fee3f3cb939 --- /dev/null +++ b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/PrivateEndpointConnection_List.json @@ -0,0 +1,34 @@ +{ + "title": "Lists the Private Endpoint Connections.", + "operationId": "PrivateEndpointConnections_List", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgswagger_2024-09-01", + "vaultName": "4", + "api-version": "2024-09-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationVaults/vault1/privateEndpointConnections/connection1", + "name": "kadsmyhrosefybpbwvwxs", + "type": "ztysngp", + "properties": { + "provisioningState": "Canceled", + "privateEndpoint": { + "id": "cwcdqoynostmqwdwy" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "y", + "actionsRequired": "afwbq" + } + } + } + ] + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/PrivateEndpointConnection_Update.json b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/PrivateEndpointConnection_Update.json new file mode 100644 index 000000000000..0791b9658fbf --- /dev/null +++ b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/PrivateEndpointConnection_Update.json @@ -0,0 +1,61 @@ +{ + "title": "Updates the Private Endpoint Connection.", + "operationId": "PrivateEndpointConnections_Update", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgswagger_2024-09-01", + "vaultName": "4", + "privateEndpointConnectionName": "jitf", + "api-version": "2024-09-01", + "body": { + "properties": { + "privateEndpoint": { + "id": "cwcdqoynostmqwdwy" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "y", + "actionsRequired": "afwbq" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationVaults/vault1/privateEndpointConnections/connection1", + "name": "kadsmyhrosefybpbwvwxs", + "type": "ztysngp", + "properties": { + "provisioningState": "Canceled", + "privateEndpoint": { + "id": "cwcdqoynostmqwdwy" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "y", + "actionsRequired": "afwbq" + } + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationVaults/vault1/privateEndpointConnections/connection1", + "name": "kadsmyhrosefybpbwvwxs", + "type": "ztysngp", + "properties": { + "provisioningState": "Canceled", + "privateEndpoint": { + "id": "cwcdqoynostmqwdwy" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "y", + "actionsRequired": "afwbq" + } + } + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/PrivateLinkResource_Get.json b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/PrivateLinkResource_Get.json new file mode 100644 index 000000000000..5f9b4d52d7ff --- /dev/null +++ b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/PrivateLinkResource_Get.json @@ -0,0 +1,29 @@ +{ + "title": "Get Private Link Resource", + "operationId": "PrivateLinkResources_Get", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgswagger_2024-09-01", + "vaultName": "4", + "privateLinkResourceName": "d", + "api-version": "2024-09-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationVaults/vault1/privateLinkResources/link1", + "name": "u", + "type": "ydabrhxuyafq", + "properties": { + "groupId": "dzkqscbkzs", + "requiredMembers": [ + "irjjsneakjewcsigcocfdjvfad" + ], + "requiredZoneNames": [ + "yp" + ] + } + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/PrivateLinkResource_List.json b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/PrivateLinkResource_List.json new file mode 100644 index 000000000000..9f77e2549463 --- /dev/null +++ b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/PrivateLinkResource_List.json @@ -0,0 +1,32 @@ +{ + "title": "PrivateLinkResource_List - generated by [MaximumSet] rule", + "operationId": "PrivateLinkResources_List", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgswagger_2024-09-01", + "vaultName": "4", + "api-version": "2024-09-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationVaults/vault1/privateLinkResources/link1", + "name": "u", + "type": "ydabrhxuyafq", + "properties": { + "groupId": "dzkqscbkzs", + "requiredMembers": [ + "irjjsneakjewcsigcocfdjvfad" + ], + "requiredZoneNames": [ + "yp" + ] + } + } + ] + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/ProtectedItem_Create.json b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/ProtectedItem_Create.json new file mode 100644 index 000000000000..6d8a43d69322 --- /dev/null +++ b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/ProtectedItem_Create.json @@ -0,0 +1,255 @@ +{ + "title": "Puts the protected item.", + "operationId": "ProtectedItem_Create", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgrecoveryservicesdatareplication", + "vaultName": "4", + "protectedItemName": "d", + "api-version": "2024-09-01", + "body": { + "properties": { + "policyName": "tjoeiynplt", + "replicationExtensionName": "jwxdo", + "customProperties": { + "instanceType": "ProtectedItemModelCustomProperties" + } + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "policyName": "tjoeiynplt", + "replicationExtensionName": "jwxdo", + "correlationId": "mvxvtcqwgp", + "provisioningState": "Canceled", + "protectionState": "UnprotectedStatesBegin", + "protectionStateDescription": "lp", + "testFailoverState": "None", + "testFailoverStateDescription": "msjz", + "resynchronizationState": "None", + "fabricObjectId": "kjcizdpahzqsrwyiywbhyzdxsufj", + "fabricObjectName": "glrjwtvmejxuagjepcwaxhih", + "sourceFabricProviderId": "srggkxaruzlegtpdalscio", + "targetFabricProviderId": "sutiqezfbeiewwjezflvcitqj", + "fabricId": "ebsxoblmhlhqjzzjzdwo", + "targetFabricId": "fb", + "fabricAgentId": "vxrmsufvxothxauhvqdowascmy", + "targetFabricAgentId": "oscnhreunbyibimlpvsesu", + "resyncRequired": true, + "lastSuccessfulPlannedFailoverTime": "2023-08-25T00:28:55.456Z", + "lastSuccessfulUnplannedFailoverTime": "2023-08-25T00:28:55.456Z", + "lastSuccessfulTestFailoverTime": "2023-08-25T00:28:55.456Z", + "currentJob": { + "scenarioName": "ljbnhbdmreowdqnlcqycvaramwuii", + "id": "bnmbzxzyfgwh", + "name": "kqtvbrfmqaxdgpttkbmzpwafjp", + "displayName": "awutlqrisstqb", + "state": "ztlpngveoqcdejpwaiudhrioskauqv", + "startTime": "2023-08-25T00:28:55.456Z", + "endTime": "2023-08-25T00:28:55.456Z" + }, + "allowedJobs": [ + "guryeoocjbvqvalfkrxecpxwynpxs" + ], + "lastFailedEnableProtectionJob": { + "scenarioName": "fhz", + "id": "hjzgyxgdy", + "name": "hvvolptulpcxwbnjdzky", + "displayName": "zrqjbcozwiuypjjnvy", + "state": "ljsixxmmcaq", + "startTime": "2023-08-25T00:28:55.456Z", + "endTime": "2023-08-25T00:28:55.456Z" + }, + "lastFailedPlannedFailoverJob": { + "scenarioName": "ceksuyfiplxj", + "id": "ndjurplurnkguwfxx", + "name": "ofblltxwhwzhyr", + "displayName": "whxsvbrzdhqsepbocfzsfx", + "state": "wpur", + "startTime": "2023-08-25T00:28:55.456Z", + "endTime": "2023-08-25T00:28:55.456Z" + }, + "lastTestFailoverJob": { + "scenarioName": "dfuovvz", + "id": "cta", + "name": "cedjijdtnznsnigghrxnsaz", + "displayName": "lhkjfbonwdtxckwzfebfwdyu", + "state": "nhbzw", + "startTime": "2023-08-25T00:28:55.456Z", + "endTime": "2023-08-25T00:28:55.456Z" + }, + "replicationHealth": "Normal", + "healthErrors": [ + { + "affectedResourceType": "scfniv", + "affectedResourceCorrelationIds": [ + "fope" + ], + "childErrors": [ + { + "code": "yuxxpblihirpedwkigywgwjjrlzq", + "healthCategory": "mhdgfjqwbikhxmhtomkl", + "category": "lcsdxrqxquke", + "severity": "wqxxiuaqjyagq", + "source": "wevvftugwydzzw", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "djsmgrltruljo", + "message": "sskcei", + "causes": "kefaugkpxjkpulimjthjnl", + "recommendation": "kqybwaesqumywtjepi" + } + ], + "code": "dgxkefzmeukd", + "healthCategory": "itc", + "category": "leigw", + "severity": "vvdajssdcypewdyechilxjmuijvdd", + "source": "iy", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "jtooblbvaxxrvcwgscbobq", + "message": "lbywtdprdqdekl", + "causes": "xznphqrrmsdzm", + "recommendation": "gmssteizlhjtclyeoo" + } + ], + "customProperties": { + "instanceType": "ProtectedItemModelCustomProperties" + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationVaults/vault1/protectedItems/item1", + "name": "t", + "type": "xlyjashandpfwivuipoplgkgsnwoh", + "systemData": { + "createdBy": "ghut", + "createdByType": "tzczp", + "createdAt": "2023-08-25T00:28:55.456Z", + "lastModifiedBy": "epo", + "lastModifiedByType": "ekzmwexhjttb", + "lastModifiedAt": "2023-08-25T00:28:55.456Z" + } + } + }, + "201": { + "headers": { + "location": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "policyName": "tjoeiynplt", + "replicationExtensionName": "jwxdo", + "correlationId": "mvxvtcqwgp", + "provisioningState": "Canceled", + "protectionState": "UnprotectedStatesBegin", + "protectionStateDescription": "lp", + "testFailoverState": "None", + "testFailoverStateDescription": "msjz", + "resynchronizationState": "None", + "fabricObjectId": "kjcizdpahzqsrwyiywbhyzdxsufj", + "fabricObjectName": "glrjwtvmejxuagjepcwaxhih", + "sourceFabricProviderId": "srggkxaruzlegtpdalscio", + "targetFabricProviderId": "sutiqezfbeiewwjezflvcitqj", + "fabricId": "ebsxoblmhlhqjzzjzdwo", + "targetFabricId": "fb", + "fabricAgentId": "vxrmsufvxothxauhvqdowascmy", + "targetFabricAgentId": "oscnhreunbyibimlpvsesu", + "resyncRequired": true, + "lastSuccessfulPlannedFailoverTime": "2023-08-25T00:28:55.456Z", + "lastSuccessfulUnplannedFailoverTime": "2023-08-25T00:28:55.456Z", + "lastSuccessfulTestFailoverTime": "2023-08-25T00:28:55.456Z", + "currentJob": { + "scenarioName": "ljbnhbdmreowdqnlcqycvaramwuii", + "id": "bnmbzxzyfgwh", + "name": "kqtvbrfmqaxdgpttkbmzpwafjp", + "displayName": "awutlqrisstqb", + "state": "ztlpngveoqcdejpwaiudhrioskauqv", + "startTime": "2023-08-25T00:28:55.456Z", + "endTime": "2023-08-25T00:28:55.456Z" + }, + "allowedJobs": [ + "guryeoocjbvqvalfkrxecpxwynpxs" + ], + "lastFailedEnableProtectionJob": { + "scenarioName": "fhz", + "id": "hjzgyxgdy", + "name": "hvvolptulpcxwbnjdzky", + "displayName": "zrqjbcozwiuypjjnvy", + "state": "ljsixxmmcaq", + "startTime": "2023-08-25T00:28:55.456Z", + "endTime": "2023-08-25T00:28:55.456Z" + }, + "lastFailedPlannedFailoverJob": { + "scenarioName": "ceksuyfiplxj", + "id": "ndjurplurnkguwfxx", + "name": "ofblltxwhwzhyr", + "displayName": "whxsvbrzdhqsepbocfzsfx", + "state": "wpur", + "startTime": "2023-08-25T00:28:55.456Z", + "endTime": "2023-08-25T00:28:55.456Z" + }, + "lastTestFailoverJob": { + "scenarioName": "dfuovvz", + "id": "cta", + "name": "cedjijdtnznsnigghrxnsaz", + "displayName": "lhkjfbonwdtxckwzfebfwdyu", + "state": "nhbzw", + "startTime": "2023-08-25T00:28:55.456Z", + "endTime": "2023-08-25T00:28:55.456Z" + }, + "replicationHealth": "Normal", + "healthErrors": [ + { + "affectedResourceType": "scfniv", + "affectedResourceCorrelationIds": [ + "fope" + ], + "childErrors": [ + { + "code": "yuxxpblihirpedwkigywgwjjrlzq", + "healthCategory": "mhdgfjqwbikhxmhtomkl", + "category": "lcsdxrqxquke", + "severity": "wqxxiuaqjyagq", + "source": "wevvftugwydzzw", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "djsmgrltruljo", + "message": "sskcei", + "causes": "kefaugkpxjkpulimjthjnl", + "recommendation": "kqybwaesqumywtjepi" + } + ], + "code": "dgxkefzmeukd", + "healthCategory": "itc", + "category": "leigw", + "severity": "vvdajssdcypewdyechilxjmuijvdd", + "source": "iy", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "jtooblbvaxxrvcwgscbobq", + "message": "lbywtdprdqdekl", + "causes": "xznphqrrmsdzm", + "recommendation": "gmssteizlhjtclyeoo" + } + ], + "customProperties": { + "instanceType": "ProtectedItemModelCustomProperties" + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationVaults/vault1/protectedItems/item1", + "name": "t", + "type": "xlyjashandpfwivuipoplgkgsnwoh", + "systemData": { + "createdBy": "ghut", + "createdByType": "tzczp", + "createdAt": "2023-08-25T00:28:55.456Z", + "lastModifiedBy": "epo", + "lastModifiedByType": "ekzmwexhjttb", + "lastModifiedAt": "2023-08-25T00:28:55.456Z" + } + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/ProtectedItem_Delete.json b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/ProtectedItem_Delete.json new file mode 100644 index 000000000000..942b1e3af8e9 --- /dev/null +++ b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/ProtectedItem_Delete.json @@ -0,0 +1,20 @@ +{ + "title": "Deletes the protected item.", + "operationId": "ProtectedItem_Delete", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgrecoveryservicesdatareplication", + "vaultName": "4", + "protectedItemName": "d", + "forceDelete": true, + "api-version": "2024-09-01" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/ProtectedItem_Get.json b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/ProtectedItem_Get.json new file mode 100644 index 000000000000..28edec3e92ee --- /dev/null +++ b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/ProtectedItem_Get.json @@ -0,0 +1,128 @@ +{ + "title": "Gets the protected item.", + "operationId": "ProtectedItem_Get", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgrecoveryservicesdatareplication", + "vaultName": "4", + "protectedItemName": "d", + "api-version": "2024-09-01" + }, + "responses": { + "200": { + "body": { + "properties": { + "policyName": "tjoeiynplt", + "replicationExtensionName": "jwxdo", + "correlationId": "mvxvtcqwgp", + "provisioningState": "Canceled", + "protectionState": "UnprotectedStatesBegin", + "protectionStateDescription": "lp", + "testFailoverState": "None", + "testFailoverStateDescription": "msjz", + "resynchronizationState": "None", + "fabricObjectId": "kjcizdpahzqsrwyiywbhyzdxsufj", + "fabricObjectName": "glrjwtvmejxuagjepcwaxhih", + "sourceFabricProviderId": "srggkxaruzlegtpdalscio", + "targetFabricProviderId": "sutiqezfbeiewwjezflvcitqj", + "fabricId": "ebsxoblmhlhqjzzjzdwo", + "targetFabricId": "fb", + "fabricAgentId": "vxrmsufvxothxauhvqdowascmy", + "targetFabricAgentId": "oscnhreunbyibimlpvsesu", + "resyncRequired": true, + "lastSuccessfulPlannedFailoverTime": "2023-08-25T00:28:55.456Z", + "lastSuccessfulUnplannedFailoverTime": "2023-08-25T00:28:55.456Z", + "lastSuccessfulTestFailoverTime": "2023-08-25T00:28:55.456Z", + "currentJob": { + "scenarioName": "ljbnhbdmreowdqnlcqycvaramwuii", + "id": "bnmbzxzyfgwh", + "name": "kqtvbrfmqaxdgpttkbmzpwafjp", + "displayName": "awutlqrisstqb", + "state": "ztlpngveoqcdejpwaiudhrioskauqv", + "startTime": "2023-08-25T00:28:55.456Z", + "endTime": "2023-08-25T00:28:55.456Z" + }, + "allowedJobs": [ + "guryeoocjbvqvalfkrxecpxwynpxs" + ], + "lastFailedEnableProtectionJob": { + "scenarioName": "fhz", + "id": "hjzgyxgdy", + "name": "hvvolptulpcxwbnjdzky", + "displayName": "zrqjbcozwiuypjjnvy", + "state": "ljsixxmmcaq", + "startTime": "2023-08-25T00:28:55.456Z", + "endTime": "2023-08-25T00:28:55.456Z" + }, + "lastFailedPlannedFailoverJob": { + "scenarioName": "ceksuyfiplxj", + "id": "ndjurplurnkguwfxx", + "name": "ofblltxwhwzhyr", + "displayName": "whxsvbrzdhqsepbocfzsfx", + "state": "wpur", + "startTime": "2023-08-25T00:28:55.456Z", + "endTime": "2023-08-25T00:28:55.456Z" + }, + "lastTestFailoverJob": { + "scenarioName": "dfuovvz", + "id": "cta", + "name": "cedjijdtnznsnigghrxnsaz", + "displayName": "lhkjfbonwdtxckwzfebfwdyu", + "state": "nhbzw", + "startTime": "2023-08-25T00:28:55.456Z", + "endTime": "2023-08-25T00:28:55.456Z" + }, + "replicationHealth": "Normal", + "healthErrors": [ + { + "affectedResourceType": "scfniv", + "affectedResourceCorrelationIds": [ + "fope" + ], + "childErrors": [ + { + "code": "yuxxpblihirpedwkigywgwjjrlzq", + "healthCategory": "mhdgfjqwbikhxmhtomkl", + "category": "lcsdxrqxquke", + "severity": "wqxxiuaqjyagq", + "source": "wevvftugwydzzw", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "djsmgrltruljo", + "message": "sskcei", + "causes": "kefaugkpxjkpulimjthjnl", + "recommendation": "kqybwaesqumywtjepi" + } + ], + "code": "dgxkefzmeukd", + "healthCategory": "itc", + "category": "leigw", + "severity": "vvdajssdcypewdyechilxjmuijvdd", + "source": "iy", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "jtooblbvaxxrvcwgscbobq", + "message": "lbywtdprdqdekl", + "causes": "xznphqrrmsdzm", + "recommendation": "gmssteizlhjtclyeoo" + } + ], + "customProperties": { + "instanceType": "ProtectedItemModelCustomProperties" + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationVaults/vault1/protectedItems/item1", + "name": "t", + "type": "xlyjashandpfwivuipoplgkgsnwoh", + "systemData": { + "createdBy": "ghut", + "createdByType": "tzczp", + "createdAt": "2023-08-25T00:28:55.456Z", + "lastModifiedBy": "epo", + "lastModifiedByType": "ekzmwexhjttb", + "lastModifiedAt": "2023-08-25T00:28:55.456Z" + } + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/ProtectedItem_List.json b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/ProtectedItem_List.json new file mode 100644 index 000000000000..3ba5d87572ca --- /dev/null +++ b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/ProtectedItem_List.json @@ -0,0 +1,131 @@ +{ + "title": "Lists the protected items.", + "operationId": "ProtectedItem_List", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgrecoveryservicesdatareplication", + "vaultName": "4", + "api-version": "2024-09-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "policyName": "tjoeiynplt", + "replicationExtensionName": "jwxdo", + "correlationId": "mvxvtcqwgp", + "provisioningState": "Canceled", + "protectionState": "UnprotectedStatesBegin", + "protectionStateDescription": "lp", + "testFailoverState": "None", + "testFailoverStateDescription": "msjz", + "resynchronizationState": "None", + "fabricObjectId": "kjcizdpahzqsrwyiywbhyzdxsufj", + "fabricObjectName": "glrjwtvmejxuagjepcwaxhih", + "sourceFabricProviderId": "srggkxaruzlegtpdalscio", + "targetFabricProviderId": "sutiqezfbeiewwjezflvcitqj", + "fabricId": "ebsxoblmhlhqjzzjzdwo", + "targetFabricId": "fb", + "fabricAgentId": "vxrmsufvxothxauhvqdowascmy", + "targetFabricAgentId": "oscnhreunbyibimlpvsesu", + "resyncRequired": true, + "lastSuccessfulPlannedFailoverTime": "2023-08-25T00:28:55.456Z", + "lastSuccessfulUnplannedFailoverTime": "2023-08-25T00:28:55.456Z", + "lastSuccessfulTestFailoverTime": "2023-08-25T00:28:55.456Z", + "currentJob": { + "scenarioName": "ljbnhbdmreowdqnlcqycvaramwuii", + "id": "bnmbzxzyfgwh", + "name": "kqtvbrfmqaxdgpttkbmzpwafjp", + "displayName": "awutlqrisstqb", + "state": "ztlpngveoqcdejpwaiudhrioskauqv", + "startTime": "2023-08-25T00:28:55.456Z", + "endTime": "2023-08-25T00:28:55.456Z" + }, + "allowedJobs": [ + "guryeoocjbvqvalfkrxecpxwynpxs" + ], + "lastFailedEnableProtectionJob": { + "scenarioName": "fhz", + "id": "hjzgyxgdy", + "name": "hvvolptulpcxwbnjdzky", + "displayName": "zrqjbcozwiuypjjnvy", + "state": "ljsixxmmcaq", + "startTime": "2023-08-25T00:28:55.456Z", + "endTime": "2023-08-25T00:28:55.456Z" + }, + "lastFailedPlannedFailoverJob": { + "scenarioName": "ceksuyfiplxj", + "id": "ndjurplurnkguwfxx", + "name": "ofblltxwhwzhyr", + "displayName": "whxsvbrzdhqsepbocfzsfx", + "state": "wpur", + "startTime": "2023-08-25T00:28:55.456Z", + "endTime": "2023-08-25T00:28:55.456Z" + }, + "lastTestFailoverJob": { + "scenarioName": "dfuovvz", + "id": "cta", + "name": "cedjijdtnznsnigghrxnsaz", + "displayName": "lhkjfbonwdtxckwzfebfwdyu", + "state": "nhbzw", + "startTime": "2023-08-25T00:28:55.456Z", + "endTime": "2023-08-25T00:28:55.456Z" + }, + "replicationHealth": "Normal", + "healthErrors": [ + { + "affectedResourceType": "scfniv", + "affectedResourceCorrelationIds": [ + "fope" + ], + "childErrors": [ + { + "code": "yuxxpblihirpedwkigywgwjjrlzq", + "healthCategory": "mhdgfjqwbikhxmhtomkl", + "category": "lcsdxrqxquke", + "severity": "wqxxiuaqjyagq", + "source": "wevvftugwydzzw", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "djsmgrltruljo", + "message": "sskcei", + "causes": "kefaugkpxjkpulimjthjnl", + "recommendation": "kqybwaesqumywtjepi" + } + ], + "code": "dgxkefzmeukd", + "healthCategory": "itc", + "category": "leigw", + "severity": "vvdajssdcypewdyechilxjmuijvdd", + "source": "iy", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "jtooblbvaxxrvcwgscbobq", + "message": "lbywtdprdqdekl", + "causes": "xznphqrrmsdzm", + "recommendation": "gmssteizlhjtclyeoo" + } + ], + "customProperties": { + "instanceType": "ProtectedItemModelCustomProperties" + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationVaults/vault1/protectedItems/item1", + "name": "t", + "type": "xlyjashandpfwivuipoplgkgsnwoh", + "systemData": { + "createdBy": "ghut", + "createdByType": "tzczp", + "createdAt": "2023-08-25T00:28:55.456Z", + "lastModifiedBy": "epo", + "lastModifiedByType": "ekzmwexhjttb", + "lastModifiedAt": "2023-08-25T00:28:55.456Z" + } + } + ] + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/ProtectedItem_PlannedFailover.json b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/ProtectedItem_PlannedFailover.json new file mode 100644 index 000000000000..a5c0ed5dba8f --- /dev/null +++ b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/ProtectedItem_PlannedFailover.json @@ -0,0 +1,34 @@ +{ + "title": "Performs planned failover.", + "operationId": "ProtectedItem_PlannedFailover", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgrecoveryservicesdatareplication", + "vaultName": "4", + "protectedItemName": "d", + "api-version": "2024-09-01", + "body": { + "properties": { + "customProperties": { + "instanceType": "PlannedFailoverModelCustomProperties" + } + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "customProperties": { + "instanceType": "PlannedFailoverModelCustomProperties" + } + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/ProtectedItem_Update.json b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/ProtectedItem_Update.json new file mode 100644 index 000000000000..3e61ccae2bd9 --- /dev/null +++ b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/ProtectedItem_Update.json @@ -0,0 +1,140 @@ +{ + "title": "Update Protected Item", + "operationId": "ProtectedItem_Update", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgswagger_2024-09-01", + "vaultName": "4", + "protectedItemName": "d", + "api-version": "2024-09-01", + "body": { + "properties": { + "customProperties": { + "instanceType": "ProtectedItemModelCustomPropertiesUpdate" + } + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "policyName": "tjoeiynplt", + "replicationExtensionName": "jwxdo", + "customProperties": { + "instanceType": "ProtectedItemModelCustomProperties" + }, + "correlationId": "mvxvtcqwgp", + "provisioningState": "Canceled", + "protectionState": "UnprotectedStatesBegin", + "protectionStateDescription": "lp", + "testFailoverState": "None", + "testFailoverStateDescription": "msjz", + "resynchronizationState": "None", + "fabricObjectId": "kjcizdpahzqsrwyiywbhyzdxsufj", + "fabricObjectName": "glrjwtvmejxuagjepcwaxhih", + "sourceFabricProviderId": "srggkxaruzlegtpdalscio", + "targetFabricProviderId": "sutiqezfbeiewwjezflvcitqj", + "fabricId": "ebsxoblmhlhqjzzjzdwo", + "targetFabricId": "fb", + "fabricAgentId": "c", + "targetFabricAgentId": "tsekhcwafyaoujmijzawvexruifs", + "resyncRequired": true, + "lastSuccessfulPlannedFailoverTime": "2023-08-25T00:28:55.456Z", + "lastSuccessfulUnplannedFailoverTime": "2023-08-25T00:28:55.456Z", + "lastSuccessfulTestFailoverTime": "2023-08-25T00:28:55.456Z", + "currentJob": { + "scenarioName": "ljbnhbdmreowdqnlcqycvaramwuii", + "id": "bnmbzxzyfgwh", + "name": "kqtvbrfmqaxdgpttkbmzpwafjp", + "displayName": "awutlqrisstqb", + "state": "ztlpngveoqcdejpwaiudhrioskauqv", + "startTime": "2023-08-25T00:28:55.456Z", + "endTime": "2023-08-25T00:28:55.456Z" + }, + "allowedJobs": [ + "guryeoocjbvqvalfkrxecpxwynpxs" + ], + "lastFailedEnableProtectionJob": { + "scenarioName": "fhz", + "id": "hjzgyxgdy", + "name": "hvvolptulpcxwbnjdzky", + "displayName": "zrqjbcozwiuypjjnvy", + "state": "ljsixxmmcaq", + "startTime": "2023-08-25T00:28:55.456Z", + "endTime": "2023-08-25T00:28:55.456Z" + }, + "lastFailedPlannedFailoverJob": { + "scenarioName": "ceksuyfiplxj", + "id": "ndjurplurnkguwfxx", + "name": "ofblltxwhwzhyr", + "displayName": "whxsvbrzdhqsepbocfzsfx", + "state": "wpur", + "startTime": "2023-08-25T00:28:55.456Z", + "endTime": "2023-08-25T00:28:55.456Z" + }, + "lastTestFailoverJob": { + "scenarioName": "dfuovvz", + "id": "cta", + "name": "cedjijdtnznsnigghrxnsaz", + "displayName": "lhkjfbonwdtxckwzfebfwdyu", + "state": "nhbzw", + "startTime": "2023-08-25T00:28:55.456Z", + "endTime": "2023-08-25T00:28:55.456Z" + }, + "replicationHealth": "Normal", + "healthErrors": [ + { + "affectedResourceType": "scfniv", + "affectedResourceCorrelationIds": [ + "fope" + ], + "childErrors": [ + { + "code": "yuxxpblihirpedwkigywgwjjrlzq", + "healthCategory": "mhdgfjqwbikhxmhtomkl", + "category": "lcsdxrqxquke", + "severity": "wqxxiuaqjyagq", + "source": "wevvftugwydzzw", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "djsmgrltruljo", + "message": "sskcei", + "causes": "kefaugkpxjkpulimjthjnl", + "recommendation": "kqybwaesqumywtjepi" + } + ], + "code": "dgxkefzmeukd", + "healthCategory": "itc", + "category": "leigw", + "severity": "vvdajssdcypewdyechilxjmuijvdd", + "source": "iy", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "jtooblbvaxxrvcwgscbobq", + "message": "lbywtdprdqdekl", + "causes": "xznphqrrmsdzm", + "recommendation": "gmssteizlhjtclyeoo" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationVaults/vault1/protectedItems/item1", + "name": "t", + "type": "xlyjashandpfwivuipoplgkgsnwoh", + "systemData": { + "createdBy": "ewufpudzcjrljhmmzhfnxoqdqwnya", + "createdByType": "zioqm", + "createdAt": "2023-08-25T00:28:53.022Z", + "lastModifiedBy": "rx", + "lastModifiedByType": "tqbvuqoakaaqij", + "lastModifiedAt": "2023-08-25T00:28:53.022Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/RecoveryPoints_Get.json b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/RecoveryPoints_Get.json new file mode 100644 index 000000000000..db52650e867a --- /dev/null +++ b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/RecoveryPoints_Get.json @@ -0,0 +1,36 @@ +{ + "title": "Gets the recovery point.", + "operationId": "RecoveryPoint_Get", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgrecoveryservicesdatareplication", + "vaultName": "4", + "protectedItemName": "d", + "recoveryPointName": "1X", + "api-version": "2024-09-01" + }, + "responses": { + "200": { + "body": { + "properties": { + "recoveryPointTime": "2023-08-25T00:28:56.403Z", + "recoveryPointType": "ApplicationConsistent", + "customProperties": { + "instanceType": "RecoveryPointModelCustomProperties" + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationVaults/vault1/recoveryPoints/point1", + "name": "mfnjlwvvfnrsllcyyeslxxcchhvld", + "type": "zoeadplqxtonvqgwfqmeblh", + "systemData": { + "createdBy": "nykpygxolffv", + "createdByType": "agdgovroryjiwioytnnps", + "createdAt": "2023-08-25T00:28:56.403Z", + "lastModifiedBy": "tipxxgz", + "lastModifiedByType": "v", + "lastModifiedAt": "2023-08-25T00:28:56.404Z" + } + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/RecoveryPoints_List.json b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/RecoveryPoints_List.json new file mode 100644 index 000000000000..27d6c1cc841c --- /dev/null +++ b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/RecoveryPoints_List.json @@ -0,0 +1,39 @@ +{ + "title": "Lists the recovery points.", + "operationId": "RecoveryPoint_List", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgrecoveryservicesdatareplication", + "vaultName": "4", + "protectedItemName": "d", + "api-version": "2024-09-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "recoveryPointTime": "2023-08-25T00:28:56.403Z", + "recoveryPointType": "ApplicationConsistent", + "customProperties": { + "instanceType": "RecoveryPointModelCustomProperties" + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationVaults/vault1/recoveryPoints/point1", + "name": "mfnjlwvvfnrsllcyyeslxxcchhvld", + "type": "zoeadplqxtonvqgwfqmeblh", + "systemData": { + "createdBy": "nykpygxolffv", + "createdByType": "agdgovroryjiwioytnnps", + "createdAt": "2023-08-25T00:28:56.403Z", + "lastModifiedBy": "tipxxgz", + "lastModifiedByType": "v", + "lastModifiedAt": "2023-08-25T00:28:56.404Z" + } + } + ] + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/ReplicationExtension_Create.json b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/ReplicationExtension_Create.json new file mode 100644 index 000000000000..71fdca36262b --- /dev/null +++ b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/ReplicationExtension_Create.json @@ -0,0 +1,65 @@ +{ + "title": "Puts the replication extension.", + "operationId": "ReplicationExtension_Create", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgrecoveryservicesdatareplication", + "vaultName": "4", + "replicationExtensionName": "g16yjJ", + "api-version": "2024-09-01", + "body": { + "properties": { + "customProperties": { + "instanceType": "ReplicationExtensionModelCustomProperties" + } + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Canceled", + "customProperties": { + "instanceType": "ReplicationExtensionModelCustomProperties" + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationVaults/vault1/replicationExtensions/extension1", + "name": "xvjffbiecsd", + "type": "miadbgilpheilzfoonveznybthgdwh", + "systemData": { + "createdBy": "lagtinqhksctfdxmfbpf", + "createdByType": "dsqllpglanwztdmisrknjtqz", + "createdAt": "2023-08-25T00:28:56.732Z", + "lastModifiedBy": "suwjpejlaya", + "lastModifiedByType": "nrfjuyghtbivwihr", + "lastModifiedAt": "2023-08-25T00:28:56.732Z" + } + } + }, + "201": { + "headers": { + "location": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Canceled", + "customProperties": { + "instanceType": "ReplicationExtensionModelCustomProperties" + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationVaults/vault1/replicationExtensions/extension1", + "name": "xvjffbiecsd", + "type": "miadbgilpheilzfoonveznybthgdwh", + "systemData": { + "createdBy": "lagtinqhksctfdxmfbpf", + "createdByType": "dsqllpglanwztdmisrknjtqz", + "createdAt": "2023-08-25T00:28:56.732Z", + "lastModifiedBy": "suwjpejlaya", + "lastModifiedByType": "nrfjuyghtbivwihr", + "lastModifiedAt": "2023-08-25T00:28:56.732Z" + } + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/ReplicationExtension_Delete.json b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/ReplicationExtension_Delete.json new file mode 100644 index 000000000000..fd0c9778a3b9 --- /dev/null +++ b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/ReplicationExtension_Delete.json @@ -0,0 +1,19 @@ +{ + "title": "Deletes the replication extension.", + "operationId": "ReplicationExtension_Delete", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgrecoveryservicesdatareplication", + "vaultName": "4", + "replicationExtensionName": "g16yjJ", + "api-version": "2024-09-01" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/ReplicationExtension_Get.json b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/ReplicationExtension_Get.json new file mode 100644 index 000000000000..5ea7b6177839 --- /dev/null +++ b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/ReplicationExtension_Get.json @@ -0,0 +1,34 @@ +{ + "title": "Gets the replication extension.", + "operationId": "ReplicationExtension_Get", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgrecoveryservicesdatareplication", + "vaultName": "4", + "replicationExtensionName": "g16yjJ", + "api-version": "2024-09-01" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Canceled", + "customProperties": { + "instanceType": "ReplicationExtensionModelCustomProperties" + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationVaults/vault1/replicationExtensions/extension1", + "name": "xvjffbiecsd", + "type": "miadbgilpheilzfoonveznybthgdwh", + "systemData": { + "createdBy": "lagtinqhksctfdxmfbpf", + "createdByType": "dsqllpglanwztdmisrknjtqz", + "createdAt": "2023-08-25T00:28:56.732Z", + "lastModifiedBy": "suwjpejlaya", + "lastModifiedByType": "nrfjuyghtbivwihr", + "lastModifiedAt": "2023-08-25T00:28:56.732Z" + } + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/ReplicationExtension_List.json b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/ReplicationExtension_List.json new file mode 100644 index 000000000000..f040ef796b45 --- /dev/null +++ b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/ReplicationExtension_List.json @@ -0,0 +1,37 @@ +{ + "title": "Lists the replication extensions.", + "operationId": "ReplicationExtension_List", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgrecoveryservicesdatareplication", + "vaultName": "4", + "api-version": "2024-09-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Canceled", + "customProperties": { + "instanceType": "ReplicationExtensionModelCustomProperties" + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationVaults/vault1/replicationExtensions/extension1", + "name": "xvjffbiecsd", + "type": "miadbgilpheilzfoonveznybthgdwh", + "systemData": { + "createdBy": "lagtinqhksctfdxmfbpf", + "createdByType": "dsqllpglanwztdmisrknjtqz", + "createdAt": "2023-08-25T00:28:56.732Z", + "lastModifiedBy": "suwjpejlaya", + "lastModifiedByType": "nrfjuyghtbivwihr", + "lastModifiedAt": "2023-08-25T00:28:56.732Z" + } + } + ] + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/Vault_Create.json b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/Vault_Create.json new file mode 100644 index 000000000000..444a5229d345 --- /dev/null +++ b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/Vault_Create.json @@ -0,0 +1,72 @@ +{ + "title": "Puts the vault.", + "operationId": "Vault_Create", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgrecoveryservicesdatareplication", + "vaultName": "4", + "api-version": "2024-09-01", + "body": { + "location": "eck", + "properties": { + "vaultType": "DisasterRecovery" + }, + "tags": { + "key5359": "ljfilxolxzuxrauopwtyxghrp" + } + } + }, + "responses": { + "200": { + "body": { + "location": "eck", + "properties": { + "provisioningState": "Canceled", + "serviceResourceId": "mksumcmksgdsghojszxq", + "vaultType": "DisasterRecovery" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationVaults/vault1", + "name": "bqgyqxmnlgwqxbmajddqwtao", + "type": "xtcicpcmjvocohaznrk", + "systemData": { + "createdBy": "rm", + "createdByType": "uojlfokjrhzgqoodsvgz", + "createdAt": "2023-08-25T00:28:58.092Z", + "lastModifiedBy": "gkojzu", + "lastModifiedByType": "jua", + "lastModifiedAt": "2023-08-25T00:28:58.092Z" + }, + "tags": { + "key5359": "ljfilxolxzuxrauopwtyxghrp" + } + } + }, + "201": { + "headers": { + "location": "https://contoso.com/operationstatus" + }, + "body": { + "location": "eck", + "properties": { + "provisioningState": "Canceled", + "serviceResourceId": "mksumcmksgdsghojszxq", + "vaultType": "DisasterRecovery" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationVaults/vault1", + "name": "bqgyqxmnlgwqxbmajddqwtao", + "type": "xtcicpcmjvocohaznrk", + "systemData": { + "createdBy": "rm", + "createdByType": "uojlfokjrhzgqoodsvgz", + "createdAt": "2023-08-25T00:28:58.092Z", + "lastModifiedBy": "gkojzu", + "lastModifiedByType": "jua", + "lastModifiedAt": "2023-08-25T00:28:58.092Z" + }, + "tags": { + "key5359": "ljfilxolxzuxrauopwtyxghrp" + } + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/Vault_Delete.json b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/Vault_Delete.json new file mode 100644 index 000000000000..be77a6705439 --- /dev/null +++ b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/Vault_Delete.json @@ -0,0 +1,18 @@ +{ + "title": "Deletes the vault.", + "operationId": "Vault_Delete", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgrecoveryservicesdatareplication", + "vaultName": "4", + "api-version": "2024-09-01" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/Vault_Get.json b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/Vault_Get.json new file mode 100644 index 000000000000..7c6287278298 --- /dev/null +++ b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/Vault_Get.json @@ -0,0 +1,36 @@ +{ + "title": "Gets the vault.", + "operationId": "Vault_Get", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgrecoveryservicesdatareplication", + "vaultName": "4", + "api-version": "2024-09-01" + }, + "responses": { + "200": { + "body": { + "location": "eck", + "properties": { + "provisioningState": "Canceled", + "serviceResourceId": "mksumcmksgdsghojszxq", + "vaultType": "DisasterRecovery" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationVaults/vault1", + "name": "bqgyqxmnlgwqxbmajddqwtao", + "type": "xtcicpcmjvocohaznrk", + "systemData": { + "createdBy": "rm", + "createdByType": "uojlfokjrhzgqoodsvgz", + "createdAt": "2023-08-25T00:28:58.092Z", + "lastModifiedBy": "gkojzu", + "lastModifiedByType": "jua", + "lastModifiedAt": "2023-08-25T00:28:58.092Z" + }, + "tags": { + "key5359": "ljfilxolxzuxrauopwtyxghrp" + } + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/Vault_List.json b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/Vault_List.json new file mode 100644 index 000000000000..d1fa93dda6bf --- /dev/null +++ b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/Vault_List.json @@ -0,0 +1,40 @@ +{ + "title": "Lists the vaults.", + "operationId": "Vault_List", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgrecoveryservicesdatareplication", + "continuationToken": "mwculdaqndp", + "api-version": "2024-09-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "location": "eck", + "properties": { + "provisioningState": "Canceled", + "serviceResourceId": "mksumcmksgdsghojszxq", + "vaultType": "DisasterRecovery" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationVaults/vault1", + "name": "bqgyqxmnlgwqxbmajddqwtao", + "type": "xtcicpcmjvocohaznrk", + "systemData": { + "createdBy": "rm", + "createdByType": "uojlfokjrhzgqoodsvgz", + "createdAt": "2023-08-25T00:28:58.092Z", + "lastModifiedBy": "gkojzu", + "lastModifiedByType": "jua", + "lastModifiedAt": "2023-08-25T00:28:58.092Z" + }, + "tags": { + "key5359": "ljfilxolxzuxrauopwtyxghrp" + } + } + ] + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/Vault_ListBySubscription.json b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/Vault_ListBySubscription.json new file mode 100644 index 000000000000..c8ac4fdde156 --- /dev/null +++ b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/Vault_ListBySubscription.json @@ -0,0 +1,39 @@ +{ + "title": "Lists the vaults by subscription.", + "operationId": "Vault_ListBySubscription", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "continuationToken": "dqsjhseyugyexxrlrln", + "api-version": "2024-09-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "location": "eck", + "properties": { + "provisioningState": "Canceled", + "serviceResourceId": "mksumcmksgdsghojszxq", + "vaultType": "DisasterRecovery" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataReplication/replicationVaults/vault1", + "name": "bqgyqxmnlgwqxbmajddqwtao", + "type": "xtcicpcmjvocohaznrk", + "systemData": { + "createdBy": "rm", + "createdByType": "uojlfokjrhzgqoodsvgz", + "createdAt": "2023-08-25T00:28:58.092Z", + "lastModifiedBy": "gkojzu", + "lastModifiedByType": "jua", + "lastModifiedAt": "2023-08-25T00:28:58.092Z" + }, + "tags": { + "key5359": "ljfilxolxzuxrauopwtyxghrp" + } + } + ] + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/Vault_Update.json b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/Vault_Update.json new file mode 100644 index 000000000000..295423c96a7e --- /dev/null +++ b/specification/recoveryservicesdatareplication/DataReplication.Management/examples/2024-09-01/Vault_Update.json @@ -0,0 +1,49 @@ +{ + "title": "Updates the vault.", + "operationId": "Vault_Update", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgrecoveryservicesdatareplication", + "vaultName": "4", + "api-version": "2024-09-01", + "body": { + "properties": { + "vaultType": "DisasterRecovery" + }, + "tags": { + "key8872": "pvtc" + } + } + }, + "responses": { + "200": { + "body": { + "location": "eck", + "properties": { + "provisioningState": "Canceled", + "serviceResourceId": "mksumcmksgdsghojszxq", + "vaultType": "DisasterRecovery" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationVaults/vault1", + "name": "bqgyqxmnlgwqxbmajddqwtao", + "type": "xtcicpcmjvocohaznrk", + "systemData": { + "createdBy": "rm", + "createdByType": "uojlfokjrhzgqoodsvgz", + "createdAt": "2023-08-25T00:28:58.092Z", + "lastModifiedBy": "gkojzu", + "lastModifiedByType": "jua", + "lastModifiedAt": "2023-08-25T00:28:58.092Z" + }, + "tags": { + "key5359": "ljfilxolxzuxrauopwtyxghrp" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/DataReplication.Management/main.tsp b/specification/recoveryservicesdatareplication/DataReplication.Management/main.tsp new file mode 100644 index 000000000000..973fa3af0567 --- /dev/null +++ b/specification/recoveryservicesdatareplication/DataReplication.Management/main.tsp @@ -0,0 +1,54 @@ +/** + * PLEASE DO NOT REMOVE - USED FOR CONVERTER METRICS + * Generated by package: @autorest/openapi-to-typespec + * Version: 0.8.2 + * Date: 2024-10-14T19:30:50.518Z + */ +import "@typespec/rest"; +import "@typespec/versioning"; +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "./models.tsp"; +import "./EmailConfigurationModel.tsp"; +import "./EventModel.tsp"; +import "./FabricModel.tsp"; +import "./FabricAgentModel.tsp"; +import "./JobModel.tsp"; +import "./PolicyModel.tsp"; +import "./PrivateEndpointConnection.tsp"; +import "./PrivateEndpointConnectionProxy.tsp"; +import "./PrivateLinkResource.tsp"; +import "./ProtectedItemModel.tsp"; +import "./RecoveryPointModel.tsp"; +import "./ReplicationExtensionModel.tsp"; +import "./VaultModel.tsp"; +import "./routes.tsp"; + +using TypeSpec.Rest; +using TypeSpec.Http; +using Azure.ResourceManager.Foundations; +using Azure.Core; +using Azure.ResourceManager; +using TypeSpec.Versioning; +/** + * A first party Azure service enabling the data replication. + */ +@armProviderNamespace +@service({ + title: "Azure Site Recovery Management Service API", +}) +@versioned(Versions) +@armCommonTypesVersion(Azure.ResourceManager.CommonTypes.Versions.v6) +namespace Microsoft.DataReplication; + +/** + * The available API versions. + */ +enum Versions { + /** + * The 2024-09-01 API version. + */ + @useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1) + @useDependency(Azure.Core.Versions.v1_0_Preview_1) + v2024_09_01: "2024-09-01", +} diff --git a/specification/recoveryservicesdatareplication/DataReplication.Management/models.tsp b/specification/recoveryservicesdatareplication/DataReplication.Management/models.tsp new file mode 100644 index 000000000000..d4326337b150 --- /dev/null +++ b/specification/recoveryservicesdatareplication/DataReplication.Management/models.tsp @@ -0,0 +1,4217 @@ +import "@typespec/rest"; +import "@typespec/http"; +import "@azure-tools/typespec-azure-resource-manager"; + +using TypeSpec.Rest; +using TypeSpec.Http; +using Azure.ResourceManager; +using Azure.ResourceManager.Foundations; + +namespace Microsoft.DataReplication; + +interface Operations extends Azure.ResourceManager.Operations {} + +/** + * Gets or sets the provisioning state of the email configuration. + */ +union ProvisioningState { + string, + + /** + * Resource creation has been canceled + */ + Canceled: "Canceled", + + /** + * Resource is being created. + */ + Creating: "Creating", + + /** + * Resource is being deleted. + */ + Deleting: "Deleting", + + /** + * Resource has been deleted. + */ + Deleted: "Deleted", + + /** + * Resource creation failed. + */ + Failed: "Failed", + + /** + * Resource creation/update succeeded. + */ + Succeeded: "Succeeded", + + /** + * Resource is being updated. + */ + Updating: "Updating", +} + +/** + * Gets or sets the fabric health. + */ +union HealthStatus { + string, + + /** + * Healthy Status. + */ + Normal: "Normal", + + /** + * Warning Status. + */ + Warning: "Warning", + + /** + * Critical Status. + */ + Critical: "Critical", +} + +/** + * Gets or sets the job state. + */ +union JobState { + string, + + /** + * Job has not been started. + */ + Pending: "Pending", + + /** + * Job is in progress. + */ + Started: "Started", + + /** + * Job cancellation is in progress. + */ + Cancelling: "Cancelling", + + /** + * Job has completed successfully. + */ + Succeeded: "Succeeded", + + /** + * Job failed. + */ + Failed: "Failed", + + /** + * Job has been cancelled. + */ + Cancelled: "Cancelled", + + /** + * Job has completed with information. + */ + CompletedWithInformation: "CompletedWithInformation", + + /** + * Job has completed with warnings. + */ + CompletedWithWarnings: "CompletedWithWarnings", + + /** + * Job has completed with errors. + */ + CompletedWithErrors: "CompletedWithErrors", +} + +/** + * Gets or sets the object type. + */ +union JobObjectType { + string, + + /** + * AVS disk pool. + */ + AvsDiskPool: "AvsDiskPool", + + /** + * Fabric agent level workflow. + */ + FabricAgent: "FabricAgent", + + /** + * Fabric level job. + */ + Fabric: "Fabric", + + /** + * Policy level job. + */ + Policy: "Policy", + + /** + * Protected item level job. + */ + ProtectedItem: "ProtectedItem", + + /** + * Recovery plan level job. + */ + RecoveryPlan: "RecoveryPlan", + + /** + * Replication extension level job. + */ + ReplicationExtension: "ReplicationExtension", + + /** + * Vault level job. + */ + Vault: "Vault", +} + +/** + * Gets or sets the task state. + */ +union TaskState { + string, + + /** + * Task has not been started. + */ + Pending: "Pending", + + /** + * Task is in progress. + */ + Started: "Started", + + /** + * Task has completed successfully. + */ + Succeeded: "Succeeded", + + /** + * Task failed. + */ + Failed: "Failed", + + /** + * Task has been cancelled. + */ + Cancelled: "Cancelled", + + /** + * Task has been skipped. + */ + Skipped: "Skipped", +} + +/** + * Gets or sets the status. + */ +union PrivateEndpointConnectionStatus { + string, + + /** + * Approved Status. + */ + Approved: "Approved", + + /** + * Disconnected Status. + */ + Disconnected: "Disconnected", + + /** + * Pending Status. + */ + Pending: "Pending", + + /** + * Rejected Status. + */ + Rejected: "Rejected", +} + +/** + * Gets or sets the protection state. + */ +union ProtectionState { + string, + + /** + * Begin marker for unprotected states. + */ + UnprotectedStatesBegin: "UnprotectedStatesBegin", + + /** + * Enable protection is in progress. + */ + EnablingProtection: "EnablingProtection", + + /** + * Enable protection failed. + */ + EnablingFailed: "EnablingFailed", + + /** + * Disabling protection is in progress. + */ + DisablingProtection: "DisablingProtection", + + /** + * Disabling protection succeeded. This is a transient state before the protected item is deleted. + */ + MarkedForDeletion: "MarkedForDeletion", + + /** + * Disable protection failed. + */ + DisablingFailed: "DisablingFailed", + + /** + * End marker for unprotected states. + */ + UnprotectedStatesEnd: "UnprotectedStatesEnd", + + /** + * Begin marker for initial replication states. + */ + InitialReplicationStatesBegin: "InitialReplicationStatesBegin", + + /** + * Initial replication is in progress. + */ + InitialReplicationInProgress: "InitialReplicationInProgress", + + /** + * Initial replication has completed on the primary side. + */ + InitialReplicationCompletedOnPrimary: "InitialReplicationCompletedOnPrimary", + + /** + * Initial replication has completed on the recovery side. + */ + InitialReplicationCompletedOnRecovery: "InitialReplicationCompletedOnRecovery", + + /** + * Initial replication failed and would need to be started again. + */ + InitialReplicationFailed: "InitialReplicationFailed", + + /** + * End marker for initial replication states. + */ + InitialReplicationStatesEnd: "InitialReplicationStatesEnd", + + /** + * Begin marker for protected steady-state states. + */ + ProtectedStatesBegin: "ProtectedStatesBegin", + + /** + * Protected item is protected and replication is on-going. Any issues with replication will be surfaced separately via the health property and will not affect the state. + */ + Protected: "Protected", + + /** + * End marker for protected steady-state states. + */ + ProtectedStatesEnd: "ProtectedStatesEnd", + + /** + * Begin marker for planned failover transition states. + */ + PlannedFailoverTransitionStatesBegin: "PlannedFailoverTransitionStatesBegin", + + /** + * Planned failover has been initiated. + */ + PlannedFailoverInitiated: "PlannedFailoverInitiated", + + /** + * Planned failover preparing protected entities is in progress. + */ + PlannedFailoverCompleting: "PlannedFailoverCompleting", + + /** + * Planned failover has been completed successfully. + */ + PlannedFailoverCompleted: "PlannedFailoverCompleted", + + /** + * Planned failover initiation failed. + */ + PlannedFailoverFailed: "PlannedFailoverFailed", + + /** + * Planned failover preparing protected entities failed. + */ + PlannedFailoverCompletionFailed: "PlannedFailoverCompletionFailed", + + /** + * End marker for planned failover transition states. + */ + PlannedFailoverTransitionStatesEnd: "PlannedFailoverTransitionStatesEnd", + + /** + * Begin marker for unplanned failover transition states. + */ + UnplannedFailoverTransitionStatesBegin: "UnplannedFailoverTransitionStatesBegin", + + /** + * Unplanned failover has been initiated. + */ + UnplannedFailoverInitiated: "UnplannedFailoverInitiated", + + /** + * Unplanned failover preparing protected entities is in progress. + */ + UnplannedFailoverCompleting: "UnplannedFailoverCompleting", + + /** + * Unplanned failover preparing protected entities is in progress. + */ + UnplannedFailoverCompleted: "UnplannedFailoverCompleted", + + /** + * Unplanned failover initiation failed. + */ + UnplannedFailoverFailed: "UnplannedFailoverFailed", + + /** + * Unplanned failover preparing protected entities failed. + */ + UnplannedFailoverCompletionFailed: "UnplannedFailoverCompletionFailed", + + /** + * End marker for unplanned failover transition states. + */ + UnplannedFailoverTransitionStatesEnd: "UnplannedFailoverTransitionStatesEnd", + + /** + * Begin marker for commit failover states. + */ + CommitFailoverStatesBegin: "CommitFailoverStatesBegin", + + /** + * Commit failover is in progress on the primary side. + */ + CommitFailoverInProgressOnPrimary: "CommitFailoverInProgressOnPrimary", + + /** + * Commit failover is in progress on the recovery side. + */ + CommitFailoverInProgressOnRecovery: "CommitFailoverInProgressOnRecovery", + + /** + * Commit failover has been completed successfully. + */ + CommitFailoverCompleted: "CommitFailoverCompleted", + + /** + * Commit failover failed on the primary side. + */ + CommitFailoverFailedOnPrimary: "CommitFailoverFailedOnPrimary", + + /** + * Commit failover failed on the recovery side. + */ + CommitFailoverFailedOnRecovery: "CommitFailoverFailedOnRecovery", + + /** + * End marker for commit failover states. + */ + CommitFailoverStatesEnd: "CommitFailoverStatesEnd", + + /** + * Begin marker for cancel failover states. + */ + CancelFailoverStatesBegin: "CancelFailoverStatesBegin", + + /** + * Cancel failover is in progress on the primary side. + */ + CancelFailoverInProgressOnPrimary: "CancelFailoverInProgressOnPrimary", + + /** + * Cancel failover is in progress on the recovery side. + */ + CancelFailoverInProgressOnRecovery: "CancelFailoverInProgressOnRecovery", + + /** + * Cancel failover failed on the primary side. + */ + CancelFailoverFailedOnPrimary: "CancelFailoverFailedOnPrimary", + + /** + * Cancel failover failed on the recovery side. + */ + CancelFailoverFailedOnRecovery: "CancelFailoverFailedOnRecovery", + + /** + * End marker for cancel failover states. + */ + CancelFailoverStatesEnd: "CancelFailoverStatesEnd", + + /** + * Begin marker for change recovery point states. + */ + ChangeRecoveryPointStatesBegin: "ChangeRecoveryPointStatesBegin", + + /** + * Change recovery point has been initiated.. + */ + ChangeRecoveryPointInitiated: "ChangeRecoveryPointInitiated", + + /** + * Change recovery point has been completed successfully. + */ + ChangeRecoveryPointCompleted: "ChangeRecoveryPointCompleted", + + /** + * Change recovery point has failed. + */ + ChangeRecoveryPointFailed: "ChangeRecoveryPointFailed", + + /** + * End marker for change recovery point states. + */ + ChangeRecoveryPointStatesEnd: "ChangeRecoveryPointStatesEnd", + + /** + * Begin marker for reprotect states. + */ + ReprotectStatesBegin: "ReprotectStatesBegin", + + /** + * Reprotect has been initiated. + */ + ReprotectInitiated: "ReprotectInitiated", + + /** + * Reprotect has failed. + */ + ReprotectFailed: "ReprotectFailed", + + /** + * End marker for reprotect states. + */ + ReprotectStatesEnd: "ReprotectStatesEnd", +} + +/** + * Gets or sets the test failover state. + */ +union TestFailoverState { + string, + + /** + * Test failover is not active. + */ + None: "None", + + /** + * Test failover has been initiated. + */ + TestFailoverInitiated: "TestFailoverInitiated", + + /** + * Preparing test protected entities is in progress. + */ + TestFailoverCompleting: "TestFailoverCompleting", + + /** + * Test failover has been completed successfully. + */ + TestFailoverCompleted: "TestFailoverCompleted", + + /** + * Test failover initiation failed.. + */ + TestFailoverFailed: "TestFailoverFailed", + + /** + * Preparing test protected entities failed. + */ + TestFailoverCompletionFailed: "TestFailoverCompletionFailed", + + /** + * Test failover cleanup has been initiated. + */ + TestFailoverCleanupInitiated: "TestFailoverCleanupInitiated", + + /** + * Cleaning up test protected entities is in progress. + */ + TestFailoverCleanupCompleting: "TestFailoverCleanupCompleting", + + /** + * Test failover cleanup has completed/failed. This is a transient state before the state is moved back to None. + */ + MarkedForDeletion: "MarkedForDeletion", +} + +/** + * Gets or sets the resynchronization state. + */ +union ResynchronizationState { + string, + + /** + * Resynchronization is not active. + */ + None: "None", + + /** + * Resynchronization has been initiated. + */ + ResynchronizationInitiated: "ResynchronizationInitiated", + + /** + * Resynchronization has been completed successfully. + */ + ResynchronizationCompleted: "ResynchronizationCompleted", + + /** + * Resynchronization has failed and would need to be started again. + */ + ResynchronizationFailed: "ResynchronizationFailed", +} + +/** + * Gets or sets the recovery point type. + */ +union RecoveryPointType { + string, + + /** + * Application consistent recovery point. + */ + ApplicationConsistent: "ApplicationConsistent", + + /** + * Crash consistent recovery point. + */ + CrashConsistent: "CrashConsistent", +} + +/** + * Gets or sets the type of vault. + */ +union ReplicationVaultType { + string, + + /** + * Disaster recovery vault. + */ + DisasterRecovery: "DisasterRecovery", + + /** + * Migrate vault. + */ + Migrate: "Migrate", +} + +/** + * Gets or sets the identityType which can be either SystemAssigned or None. + */ +union VaultIdentityType { + string, + + /** + * No identity. + */ + None: "None", + + /** + * System assigned identity. + */ + SystemAssigned: "SystemAssigned", + + /** + * User assigned identity. + */ + UserAssigned: "UserAssigned", +} + +/** + * Gets or sets the selection type of the NIC. + */ +union VMNicSelection { + string, + + /** + * Not Selected. + */ + NotSelected: "NotSelected", + + /** + * Selected by user. + */ + SelectedByUser: "SelectedByUser", + + /** + * Default selection by ASR. + */ + SelectedByDefault: "SelectedByDefault", + + /** + * NIC configuration overridden by user. Differs from SelectedByUser in the sense that the legacy SelectedByUser is used both for explicit modification by user and implicit approval of user if the settings are used for TFO/FO. SelectedByUserOverride implies user overriding at least one of the configurations. + */ + SelectedByUserOverride: "SelectedByUserOverride", +} + +/** + * Gets or sets the location of the protected item. + */ +union ProtectedItemActiveLocation { + string, + + /** + * Protected item is active on Primary. + */ + Primary: "Primary", + + /** + * Protected item is active on Recovery. + */ + Recovery: "Recovery", +} + +/** + * Gets or sets the resync state. + */ +union VMwareToAzureMigrateResyncState { + string, + + /** + * None state. + */ + None: "None", + + /** + * Prepared for resynchronization state. + */ + PreparedForResynchronization: "PreparedForResynchronization", + + /** + * Started resynchronization state. + */ + StartedResynchronization: "StartedResynchronization", +} + +/** + * Email configuration model properties. + */ +model EmailConfigurationModelProperties { + /** + * Gets or sets a value indicating whether to send email to subscription administrator. + */ + sendToOwners: boolean; + + /** + * Gets or sets the custom email address for sending emails. + */ + customEmailAddresses?: string[]; + + /** + * Gets or sets the locale for the email notification. + */ + locale?: string; + + /** + * Gets or sets the provisioning state of the email configuration. + */ + @visibility("read") + provisioningState?: ProvisioningState; +} + +/** + * Event model properties. + */ +model EventModelProperties { + /** + * Gets or sets the resource type. + */ + @visibility("read") + resourceType?: string; + + /** + * Gets or sets the resource name. + */ + @visibility("read") + resourceName?: string; + + /** + * Gets or sets the event type. + */ + @visibility("read") + eventType?: string; + + /** + * Gets or sets the event name. + */ + @visibility("read") + eventName?: string; + + /** + * Gets or sets the time at which the event occurred at source. + */ + @visibility("read") + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + timeOfOccurrence?: utcDateTime; + + /** + * Gets or sets the event severity. + */ + @visibility("read") + severity?: string; + + /** + * Gets or sets the event description. + */ + @visibility("read") + description?: string; + + /** + * Gets or sets the event correlation Id. + */ + @visibility("read") + correlationId?: string; + + /** + * Gets or sets the errors associated with this event. + */ + @visibility("read") + @OpenAPI.extension("x-ms-identifiers", []) + healthErrors?: HealthErrorModel[]; + + /** + * Event model custom properties. + */ + customProperties: EventModelCustomProperties; + + /** + * Gets or sets the provisioning state of the event. + */ + @visibility("read") + provisioningState?: ProvisioningState; +} + +/** + * Health error model. + */ +model HealthErrorModel { + /** + * Gets or sets the type of affected resource type. + */ + affectedResourceType?: string; + + /** + * Gets or sets the list of affected resource correlation Ids. This can be used to uniquely identify the count of items affected by a specific category and severity as well as count of item affected by an specific issue. + */ + affectedResourceCorrelationIds?: string[]; + + /** + * Gets or sets a list of child health errors associated with this error. + */ + @OpenAPI.extension("x-ms-identifiers", []) + childErrors?: InnerHealthErrorModel[]; + + /** + * Gets or sets the error code. + */ + @visibility("read") + code?: string; + + /** + * Gets or sets the health category. + */ + @visibility("read") + healthCategory?: string; + + /** + * Gets or sets the error category. + */ + @visibility("read") + category?: string; + + /** + * Gets or sets the error severity. + */ + @visibility("read") + severity?: string; + + /** + * Gets or sets the error source. + */ + @visibility("read") + source?: string; + + /** + * Gets or sets the error creation time. + */ + @visibility("read") + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + creationTime?: utcDateTime; + + /** + * Gets or sets a value indicating whether the error is customer resolvable. + */ + @visibility("read") + isCustomerResolvable?: boolean; + + /** + * Gets or sets the error summary. + */ + @visibility("read") + summary?: string; + + /** + * Gets or sets the error message. + */ + @visibility("read") + message?: string; + + /** + * Gets or sets possible causes of the error. + */ + @visibility("read") + causes?: string; + + /** + * Gets or sets recommended action to resolve the error. + */ + @visibility("read") + recommendation?: string; +} + +/** + * Inner health error model. + */ +model InnerHealthErrorModel { + /** + * Gets or sets the error code. + */ + @visibility("read") + code?: string; + + /** + * Gets or sets the health category. + */ + @visibility("read") + healthCategory?: string; + + /** + * Gets or sets the error category. + */ + @visibility("read") + category?: string; + + /** + * Gets or sets the error severity. + */ + @visibility("read") + severity?: string; + + /** + * Gets or sets the error source. + */ + @visibility("read") + source?: string; + + /** + * Gets or sets the error creation time. + */ + @visibility("read") + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + creationTime?: utcDateTime; + + /** + * Gets or sets a value indicating whether the error is customer resolvable. + */ + @visibility("read") + isCustomerResolvable?: boolean; + + /** + * Gets or sets the error summary. + */ + @visibility("read") + summary?: string; + + /** + * Gets or sets the error message. + */ + @visibility("read") + message?: string; + + /** + * Gets or sets possible causes of the error. + */ + @visibility("read") + causes?: string; + + /** + * Gets or sets recommended action to resolve the error. + */ + @visibility("read") + recommendation?: string; +} + +/** + * Event model custom properties. + */ +#suppress "@azure-tools/typespec-azure-core/no-string-discriminator" +#suppress "@azure-tools/typespec-azure-resource-manager/no-empty-model" +@discriminator("instanceType") +model EventModelCustomProperties {} + +/** + * Fabric model properties. + */ +model FabricModelProperties { + /** + * Gets or sets the provisioning state of the fabric. + */ + @visibility("read") + provisioningState?: ProvisioningState; + + /** + * Gets or sets the service endpoint. + */ + @visibility("read") + serviceEndpoint?: string; + + /** + * Gets or sets the service resource Id. + */ + @visibility("read") + serviceResourceId?: string; + + /** + * Gets or sets the fabric health. + */ + @visibility("read") + health?: HealthStatus; + + /** + * Gets or sets the list of health errors. + */ + @visibility("read") + @OpenAPI.extension("x-ms-identifiers", []) + healthErrors?: HealthErrorModel[]; + + /** + * Fabric model custom properties. + */ + customProperties: FabricModelCustomProperties; +} + +/** + * Fabric model custom properties. + */ +#suppress "@azure-tools/typespec-azure-core/no-string-discriminator" +#suppress "@azure-tools/typespec-azure-resource-manager/no-empty-model" +@discriminator("instanceType") +model FabricModelCustomProperties {} + +/** + * Fabric model update. + */ +model FabricModelUpdate { + /** + * Gets or sets the resource tags. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" + tags?: Record; + + /** + * Fabric model properties. + */ + properties?: FabricModelProperties; + + /** + * Gets or sets the Id of the resource. + */ + @visibility("read") + id?: string; + + /** + * Gets or sets the name of the resource. + */ + @visibility("read") + name?: string; + + /** + * Gets or sets the type of the resource. + */ + @visibility("read") + type?: string; + + /** + * Metadata pertaining to creation and last modification of the resource. + */ + @visibility("read") + systemData?: SystemData; +} + +/** + * Fabric agent model properties. + */ +model FabricAgentModelProperties { + /** + * Gets or sets the fabric agent correlation Id. + */ + @visibility("read") + correlationId?: string; + + /** + * Gets or sets the machine Id where fabric agent is running. + */ + @minLength(1) + machineId: string; + + /** + * Gets or sets the machine name where fabric agent is running. + */ + @minLength(1) + machineName: string; + + /** + * Identity model. + */ + authenticationIdentity: IdentityModel; + + /** + * Identity model. + */ + resourceAccessIdentity: IdentityModel; + + /** + * Gets or sets a value indicating whether the fabric agent is responsive. + */ + @visibility("read") + isResponsive?: boolean; + + /** + * Gets or sets the time when last heartbeat was sent by the fabric agent. + */ + @visibility("read") + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + lastHeartbeat?: utcDateTime; + + /** + * Gets or sets the fabric agent version. + */ + @visibility("read") + versionNumber?: string; + + /** + * Gets or sets the provisioning state of the fabric agent. + */ + @visibility("read") + provisioningState?: ProvisioningState; + + /** + * Gets or sets the list of health errors. + */ + @visibility("read") + @OpenAPI.extension("x-ms-identifiers", []) + healthErrors?: HealthErrorModel[]; + + /** + * Fabric agent model custom properties. + */ + customProperties: FabricAgentModelCustomProperties; +} + +/** + * Identity model. + */ +model IdentityModel { + /** + * Gets or sets the tenant Id of the SPN with which fabric agent communicates to service. + */ + @minLength(1) + tenantId: string; + + /** + * Gets or sets the client/application Id of the SPN with which fabric agent communicates to service. + */ + @minLength(1) + applicationId: string; + + /** + * Gets or sets the object Id of the SPN with which fabric agent communicates to service. + */ + @minLength(1) + objectId: string; + + /** + * Gets or sets the audience of the SPN with which fabric agent communicates to service. + */ + @minLength(1) + audience: string; + + /** + * Gets or sets the authority of the SPN with which fabric agent communicates to service. + */ + @minLength(1) + aadAuthority: string; +} + +/** + * Fabric agent model custom properties. + */ +#suppress "@azure-tools/typespec-azure-core/no-string-discriminator" +#suppress "@azure-tools/typespec-azure-resource-manager/no-empty-model" +@discriminator("instanceType") +model FabricAgentModelCustomProperties {} + +/** + * Job model properties. + */ +model JobModelProperties { + /** + * Gets or sets the friendly display name. + */ + @visibility("read") + displayName?: string; + + /** + * Gets or sets the job state. + */ + @visibility("read") + state?: JobState; + + /** + * Gets or sets the start time. + */ + @visibility("read") + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + startTime?: utcDateTime; + + /** + * Gets or sets the end time. + */ + @visibility("read") + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + endTime?: utcDateTime; + + /** + * Gets or sets the affected object Id. + */ + @visibility("read") + objectId?: string; + + /** + * Gets or sets the affected object name. + */ + @visibility("read") + objectName?: string; + + /** + * Gets or sets the affected object internal Id. + */ + @visibility("read") + objectInternalId?: string; + + /** + * Gets or sets the affected object internal name. + */ + @visibility("read") + objectInternalName?: string; + + /** + * Gets or sets the object type. + */ + @visibility("read") + objectType?: JobObjectType; + + /** + * Gets or sets the replication provider. + */ + @visibility("read") + replicationProviderId?: string; + + /** + * Gets or sets the source fabric provider. + */ + @visibility("read") + sourceFabricProviderId?: string; + + /** + * Gets or sets the target fabric provider. + */ + @visibility("read") + targetFabricProviderId?: string; + + /** + * Gets or sets the list of allowed actions on the job. + */ + @visibility("read") + allowedActions?: string[]; + + /** + * Gets or sets the job activity id. + */ + @visibility("read") + activityId?: string; + + /** + * Gets or sets the list of tasks. + */ + @visibility("read") + @OpenAPI.extension("x-ms-identifiers", []) + tasks?: TaskModel[]; + + /** + * Gets or sets the list of errors. + */ + @visibility("read") + @OpenAPI.extension("x-ms-identifiers", []) + errors?: ErrorModel[]; + + /** + * Job model custom properties. + */ + customProperties: JobModelCustomProperties; + + /** + * Gets or sets the provisioning state of the job. + */ + @visibility("read") + provisioningState?: ProvisioningState; +} + +/** + * Task model. + */ +model TaskModel { + /** + * Gets or sets the task name. + */ + @visibility("read") + taskName?: string; + + /** + * Gets or sets the task state. + */ + @visibility("read") + state?: TaskState; + + /** + * Gets or sets the start time. + */ + @visibility("read") + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + startTime?: utcDateTime; + + /** + * Gets or sets the end time. + */ + @visibility("read") + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + endTime?: utcDateTime; + + /** + * Task model custom properties. + */ + customProperties?: TaskModelCustomProperties; + + /** + * Gets or sets the list of children job models. + */ + @OpenAPI.extension("x-ms-identifiers", []) + childrenJobs?: JobModel[]; +} + +/** + * Task model custom properties. + */ +model TaskModelCustomProperties { + /** + * Gets or sets the instance type. + */ + @minLength(1) + instanceType: string; +} + +/** + * Error model. + */ +model ErrorModel { + /** + * Gets or sets the error code. + */ + @visibility("read") + code?: string; + + /** + * Gets or sets the error type. + */ + @visibility("read") + type?: string; + + /** + * Gets or sets the error severity. + */ + @visibility("read") + severity?: string; + + /** + * Gets or sets the creation time of error. + */ + @visibility("read") + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + creationTime?: utcDateTime; + + /** + * Gets or sets the error message. + */ + @visibility("read") + message?: string; + + /** + * Gets or sets the possible causes of error. + */ + @visibility("read") + causes?: string; + + /** + * Gets or sets the recommended action to resolve error. + */ + @visibility("read") + recommendation?: string; +} + +/** + * Job model custom properties. + */ +#suppress "@azure-tools/typespec-azure-core/no-string-discriminator" +@discriminator("instanceType") +model JobModelCustomProperties { + /** + * Gets or sets any custom properties of the affected object. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" + @visibility("read") + affectedObjectDetails?: { + description?: string; + type?: "object"; + }; +} + +/** + * Policy model properties. + */ +model PolicyModelProperties { + /** + * Gets or sets the provisioning state of the policy. + */ + @visibility("read") + provisioningState?: ProvisioningState; + + /** + * Policy model custom properties. + */ + customProperties: PolicyModelCustomProperties; +} + +/** + * Policy model custom properties. + */ +#suppress "@azure-tools/typespec-azure-core/no-string-discriminator" +#suppress "@azure-tools/typespec-azure-resource-manager/no-empty-model" +@discriminator("instanceType") +model PolicyModelCustomProperties {} + +/** + * Represents Private endpoint connection response properties. + */ +model PrivateEndpointConnectionResponseProperties { + /** + * Gets or sets provisioning state of the private endpoint connection. + */ + @visibility("read") + provisioningState?: ProvisioningState; + + /** + * Represent private Endpoint network resource that is linked to the Private Endpoint connection. + */ + privateEndpoint?: PrivateEndpoint; + + /** + * Represents Private link service connection state. + */ + privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState; +} + +/** + * Represent private Endpoint network resource that is linked to the Private Endpoint connection. + */ +model PrivateEndpoint { + /** + * Gets or sets the id. + */ + id?: string; +} + +/** + * Represents Private link service connection state. + */ +model PrivateLinkServiceConnectionState { + /** + * Gets or sets the status. + */ + status?: PrivateEndpointConnectionStatus; + + /** + * Gets or sets description. + */ + description?: string; + + /** + * Gets or sets actions required. + */ + actionsRequired?: string; +} + +/** + * Represents private endpoint connection proxy request. + */ +model PrivateEndpointConnectionProxyProperties { + /** + * Gets or sets the provisioning state of the private endpoint connection proxy. + */ + @visibility("read") + provisioningState?: ProvisioningState; + + /** + * Represent remote private endpoint information for the private endpoint connection proxy. + */ + remotePrivateEndpoint?: RemotePrivateEndpoint; +} + +/** + * Represent remote private endpoint information for the private endpoint connection proxy. + */ +model RemotePrivateEndpoint { + /** + * Gets or sets private link service proxy id. + */ + @minLength(1) + id: string; + + /** + * Gets or sets the list of Private Link Service Connections and gets populated for Auto approval flow. + */ + @OpenAPI.extension("x-ms-identifiers", []) + privateLinkServiceConnections?: PrivateLinkServiceConnection[]; + + /** + * Gets or sets the list of Manual Private Link Service Connections and gets populated for Manual approval flow. + */ + @OpenAPI.extension("x-ms-identifiers", []) + manualPrivateLinkServiceConnections?: PrivateLinkServiceConnection[]; + + /** + * Gets or sets the list of private link service proxies. + */ + @OpenAPI.extension("x-ms-identifiers", []) + privateLinkServiceProxies?: PrivateLinkServiceProxy[]; + + /** + * Gets or sets the list of Connection Details. This is the connection details for private endpoint. + */ + @OpenAPI.extension("x-ms-identifiers", []) + connectionDetails?: ConnectionDetails[]; +} + +/** + * Represents of an NRP private link service connection. + */ +model PrivateLinkServiceConnection { + /** + * Gets or sets private link service connection name. + */ + name?: string; + + /** + * Gets or sets group ids. + */ + groupIds?: string[]; + + /** + * Gets or sets the request message for the private link service connection. + */ + requestMessage?: string; +} + +/** + * Represents NRP private link service proxy. + */ +model PrivateLinkServiceProxy { + /** + * Gets or sets private link service proxy id. + */ + id?: string; + + /** + * Represents Private link service connection state. + */ + remotePrivateLinkServiceConnectionState?: PrivateLinkServiceConnectionState; + + /** + * Represent remote private endpoint connection. + */ + remotePrivateEndpointConnection?: RemotePrivateEndpointConnection; + + /** + * Gets or sets group connectivity information. + */ + @OpenAPI.extension("x-ms-identifiers", []) + groupConnectivityInformation?: GroupConnectivityInformation[]; +} + +/** + * Represent remote private endpoint connection. + */ +model RemotePrivateEndpointConnection { + /** + * Gets or sets the remote private endpoint connection id. + */ + id?: string; +} + +/** + * Represents of a connection's group information. + */ +model GroupConnectivityInformation { + /** + * Gets or sets group id. + */ + groupId?: string; + + /** + * Gets or sets member name. + */ + memberName?: string; + + /** + * Gets or sets customer visible FQDNs. + */ + customerVisibleFqdns?: string[]; + + /** + * Gets or sets Internal Fqdn. + */ + internalFqdn?: string; + + /** + * Gets or sets the redirect map id. + */ + redirectMapId?: string; + + /** + * Gets or sets the private link service arm region. + */ + privateLinkServiceArmRegion?: string; +} + +/** + * Private endpoint connection details at member level. + */ +model ConnectionDetails { + /** + * Gets or sets id. + */ + id?: string; + + /** + * Gets or sets private IP address. + */ + privateIpAddress?: string; + + /** + * Gets or sets link identifier. + */ + linkIdentifier?: string; + + /** + * Gets or sets group id. + */ + groupId?: string; + + /** + * Gets or sets member name. + */ + memberName?: string; +} + +/** + * Represents private link resource properties. + */ +model PrivateLinkResourceProperties { + /** + * Gets or sets the group id. + */ + groupId?: string; + + /** + * Gets or sets the required member. This translates to how many Private IPs should be created for each privately linkable resource. + */ + requiredMembers?: string[]; + + /** + * Gets or sets the private DNS zone names. + */ + requiredZoneNames?: string[]; + + /** + * Gets or sets the provisioning state of the private link resource. + */ + @visibility("read") + provisioningState?: ProvisioningState; +} + +/** + * Protected item model properties. + */ +model ProtectedItemModelProperties { + /** + * Gets or sets the policy name. + */ + @minLength(1) + policyName: string; + + /** + * Gets or sets the replication extension name. + */ + @minLength(1) + replicationExtensionName: string; + + /** + * Gets or sets the protected item correlation Id. + */ + @visibility("read") + correlationId?: string; + + /** + * Gets or sets the provisioning state of the fabric agent. + */ + @visibility("read") + provisioningState?: ProvisioningState; + + /** + * Gets or sets the protection state. + */ + @visibility("read") + protectionState?: ProtectionState; + + /** + * Gets or sets the protection state description. + */ + @visibility("read") + protectionStateDescription?: string; + + /** + * Gets or sets the test failover state. + */ + @visibility("read") + testFailoverState?: TestFailoverState; + + /** + * Gets or sets the Test failover state description. + */ + @visibility("read") + testFailoverStateDescription?: string; + + /** + * Gets or sets the resynchronization state. + */ + @visibility("read") + resynchronizationState?: ResynchronizationState; + + /** + * Gets or sets the fabric object Id. + */ + @visibility("read") + fabricObjectId?: string; + + /** + * Gets or sets the fabric object name. + */ + @visibility("read") + fabricObjectName?: string; + + /** + * Gets or sets the source fabric provider Id. + */ + @visibility("read") + sourceFabricProviderId?: string; + + /** + * Gets or sets the target fabric provider Id. + */ + @visibility("read") + targetFabricProviderId?: string; + + /** + * Gets or sets the fabric Id. + */ + @visibility("read") + fabricId?: string; + + /** + * Gets or sets the target fabric Id. + */ + @visibility("read") + targetFabricId?: string; + + /** + * Gets or sets the fabric agent Id. + */ + @visibility("read") + fabricAgentId?: string; + + /** + * Gets or sets the target fabric agent Id. + */ + @visibility("read") + targetFabricAgentId?: string; + + /** + * Gets or sets a value indicating whether resynchronization is required or not. + */ + @visibility("read") + resyncRequired?: boolean; + + /** + * Gets or sets the Last successful planned failover time. + */ + @visibility("read") + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + lastSuccessfulPlannedFailoverTime?: utcDateTime; + + /** + * Gets or sets the Last successful unplanned failover time. + */ + @visibility("read") + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + lastSuccessfulUnplannedFailoverTime?: utcDateTime; + + /** + * Gets or sets the Last successful test failover time. + */ + @visibility("read") + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + lastSuccessfulTestFailoverTime?: utcDateTime; + + /** + * Gets or sets the current scenario. + */ + @visibility("read") + currentJob?: ProtectedItemJobProperties; + + /** + * Gets or sets the allowed scenarios on the protected item. + */ + @visibility("read") + allowedJobs?: string[]; + + /** + * Gets or sets the last failed enabled protection job. + */ + @visibility("read") + lastFailedEnableProtectionJob?: ProtectedItemJobProperties; + + /** + * Gets or sets the last failed planned failover job. + */ + @visibility("read") + lastFailedPlannedFailoverJob?: ProtectedItemJobProperties; + + /** + * Gets or sets the last test failover job. + */ + @visibility("read") + lastTestFailoverJob?: ProtectedItemJobProperties; + + /** + * Gets or sets protected item replication health. + */ + @visibility("read") + replicationHealth?: HealthStatus; + + /** + * Gets or sets the list of health errors. + */ + @visibility("read") + @OpenAPI.extension("x-ms-identifiers", []) + healthErrors?: HealthErrorModel[]; + + /** + * Protected item model custom properties. + */ + customProperties: ProtectedItemModelCustomProperties; +} + +/** + * Protected item job properties. + */ +model ProtectedItemJobProperties { + /** + * Gets or sets protection scenario name. + */ + @visibility("read") + scenarioName?: string; + + /** + * Gets or sets job Id. + */ + @visibility("read") + id?: string; + + /** + * Gets or sets job name. + */ + @visibility("read") + name?: string; + + /** + * Gets or sets the job friendly display name. + */ + @visibility("read") + displayName?: string; + + /** + * Gets or sets job state. + */ + @visibility("read") + state?: string; + + /** + * Gets or sets start time of the job. + */ + @visibility("read") + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + startTime?: utcDateTime; + + /** + * Gets or sets end time of the job. + */ + @visibility("read") + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + endTime?: utcDateTime; +} + +/** + * Protected item model custom properties. + */ +#suppress "@azure-tools/typespec-azure-core/no-string-discriminator" +#suppress "@azure-tools/typespec-azure-resource-manager/no-empty-model" +@discriminator("instanceType") +model ProtectedItemModelCustomProperties {} + +/** + * Protected item model update. + */ +model ProtectedItemModelUpdate { + /** + * Protected item model properties. + */ + properties?: ProtectedItemModelPropertiesUpdate; + + /** + * Gets or sets the Id of the resource. + */ + @visibility("read") + id?: string; + + /** + * Gets or sets the name of the resource. + */ + @visibility("read") + name?: string; + + /** + * Gets or sets the type of the resource. + */ + @visibility("read") + type?: string; + + /** + * Metadata pertaining to creation and last modification of the resource. + */ + @visibility("read") + systemData?: SystemData; +} + +/** + * Protected item model properties update. + */ +model ProtectedItemModelPropertiesUpdate { + /** + * Protected item model custom properties update. + */ + customProperties?: ProtectedItemModelCustomPropertiesUpdate; +} + +/** + * Protected item model custom properties. + */ +#suppress "@azure-tools/typespec-azure-core/no-string-discriminator" +#suppress "@azure-tools/typespec-azure-resource-manager/no-empty-model" +@discriminator("instanceType") +model ProtectedItemModelCustomPropertiesUpdate {} + +/** + * Planned failover model. + */ +model PlannedFailoverModel { + /** + * Planned failover model properties. + */ + properties: PlannedFailoverModelProperties; +} + +/** + * Planned failover model properties. + */ +model PlannedFailoverModelProperties { + /** + * Planned failover model custom properties. + */ + customProperties: PlannedFailoverModelCustomProperties; +} + +/** + * Planned failover model custom properties. + */ +#suppress "@azure-tools/typespec-azure-core/no-string-discriminator" +#suppress "@azure-tools/typespec-azure-resource-manager/no-empty-model" +@discriminator("instanceType") +model PlannedFailoverModelCustomProperties {} + +/** + * Recovery point model properties. + */ +model RecoveryPointModelProperties { + /** + * Gets or sets the recovery point time. + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + recoveryPointTime: utcDateTime; + + /** + * Gets or sets the recovery point type. + */ + recoveryPointType: RecoveryPointType; + + /** + * Recovery point model custom properties. + */ + customProperties: RecoveryPointModelCustomProperties; + + /** + * Gets or sets the provisioning state of the recovery point item. + */ + @visibility("read") + provisioningState?: ProvisioningState; +} + +/** + * Recovery point model custom properties. + */ +#suppress "@azure-tools/typespec-azure-core/no-string-discriminator" +#suppress "@azure-tools/typespec-azure-resource-manager/no-empty-model" +@discriminator("instanceType") +model RecoveryPointModelCustomProperties {} + +/** + * Replication extension model properties. + */ +model ReplicationExtensionModelProperties { + /** + * Gets or sets the provisioning state of the replication extension. + */ + @visibility("read") + provisioningState?: ProvisioningState; + + /** + * Replication extension model custom properties. + */ + customProperties: ReplicationExtensionModelCustomProperties; +} + +/** + * Replication extension model custom properties. + */ +#suppress "@azure-tools/typespec-azure-core/no-string-discriminator" +#suppress "@azure-tools/typespec-azure-resource-manager/no-empty-model" +@discriminator("instanceType") +model ReplicationExtensionModelCustomProperties {} + +/** + * Check name availability model. + */ +model CheckNameAvailabilityModel { + /** + * Gets or sets the resource name. + */ + name?: string; + + /** + * Gets or sets the resource type. + */ + type?: string; +} + +/** + * Check name availability response model. + */ +model CheckNameAvailabilityResponseModel { + /** + * Gets or sets a value indicating whether resource name is available or not. + */ + nameAvailable?: boolean; + + /** + * Gets or sets the reason for resource name unavailability. + */ + reason?: string; + + /** + * Gets or sets the message for resource name unavailability. + */ + message?: string; +} + +/** + * Deployment preflight model. + */ +model DeploymentPreflightModel { + /** + * Gets or sets the list of resources. + */ + @OpenAPI.extension("x-ms-identifiers", []) + resources?: DeploymentPreflightResource[]; +} + +/** + * Deployment preflight resource. + */ +model DeploymentPreflightResource { + /** + * Gets or sets the resource name. + */ + name?: string; + + /** + * Gets or sets the resource type. + */ + type?: string; + + /** + * Gets or sets the location of the resource. + */ + @visibility("read", "create") + location?: string; + + /** + * Gets or sets the Api version. + */ + apiVersion?: string; + + /** + * Gets or sets the properties of the resource. + */ + #suppress "@azure-tools/typespec-azure-core/no-unknown" + properties?: unknown; +} + +/** + * Defines the operation status. + */ +model OperationStatus { + /** + * Gets or sets the Id. + */ + id?: string; + + /** + * Gets or sets the operation name. + */ + name?: string; + + /** + * Gets or sets the status of the operation. ARM expects the terminal status to be one of Succeeded/ Failed/ Canceled. All other values imply that the operation is still running. + */ + status?: string; + + /** + * Gets or sets the start time. + */ + startTime?: string; + + /** + * Gets or sets the end time. + */ + endTime?: string; +} + +/** + * Vault properties. + */ +model VaultModelProperties { + /** + * Gets or sets the provisioning state of the vault. + */ + @visibility("read") + provisioningState?: ProvisioningState; + + /** + * Gets or sets the service resource Id. + */ + @visibility("read") + serviceResourceId?: string; + + /** + * Gets or sets the type of vault. + */ + vaultType?: ReplicationVaultType; +} + +/** + * Vault model. + */ +model VaultIdentityModel { + /** + * Gets or sets the identityType which can be either SystemAssigned or None. + */ + type: VaultIdentityType; + + /** + * Gets or sets the object ID of the service principal object for the managed identity that is used to grant role-based access to an Azure resource. + */ + @visibility("read") + principalId?: string; + + /** + * Gets or sets a Globally Unique Identifier (GUID) that represents the Azure AD tenant where the resource is now a member. + */ + @visibility("read") + tenantId?: string; +} + +/** + * Vault model update. + */ +model VaultModelUpdate { + /** + * Gets or sets the resource tags. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" + tags?: Record; + + /** + * Vault properties. + */ + properties?: VaultModelProperties; + + /** + * Vault identity. + */ + identity?: VaultIdentityModel; + + /** + * Gets or sets the Id of the resource. + */ + @visibility("read") + id?: string; + + /** + * Gets or sets the name of the resource. + */ + @visibility("read") + name?: string; + + /** + * Gets or sets the type of the resource. + */ + @visibility("read") + type?: string; + + /** + * Metadata pertaining to creation and last modification of the resource. + */ + @visibility("read") + systemData?: SystemData; +} + +/** + * AzStackHCI cluster properties. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" +model AzStackHCIClusterProperties { + /** + * Gets or sets the AzStackHCICluster FQDN name. + */ + @minLength(1) + clusterName: string; + + /** + * Gets or sets the AzStackHCICluster resource name. + */ + @minLength(1) + resourceName: string; + + /** + * Gets or sets the Storage account name. + */ + @minLength(1) + storageAccountName: string; + + /** + * Gets or sets the list of AzStackHCICluster Storage Container. + */ + @OpenAPI.extension("x-ms-identifiers", []) + storageContainers: StorageContainerProperties[]; +} + +/** + * Storage container properties. + */ +model StorageContainerProperties { + /** + * Gets or sets the Name. + */ + @minLength(1) + name: string; + + /** + * Gets or sets the ClusterSharedVolumePath. + */ + @minLength(1) + clusterSharedVolumePath: string; +} + +/** + * AzStackHCI fabric model custom properties. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" +model AzStackHCIFabricModelCustomProperties + extends FabricModelCustomProperties { + /** + * Gets or sets the ARM Id of the AzStackHCI site. + */ + @minLength(1) + azStackHciSiteId: string; + + /** + * Gets or sets the Appliance name. + */ + @visibility("read") + applianceName?: string[]; + + /** + * AzStackHCI cluster properties. + */ + cluster: AzStackHCIClusterProperties; + + /** + * Gets or sets the fabric resource Id. + */ + @visibility("read") + fabricResourceId?: string; + + /** + * Gets or sets the fabric container Id. + */ + @visibility("read") + fabricContainerId?: string; + + /** + * Gets or sets the Migration solution ARM Id. + */ + @minLength(1) + migrationSolutionId: string; + + /** + * Gets or sets the migration hub Uri. + */ + @visibility("read") + migrationHubUri?: string; + + /** + * Gets or sets the instance type. + */ + instanceType: "AzStackHCI"; +} + +/** + * Disk controller. + */ +model DiskControllerInputs { + /** + * Gets or sets the controller name (IDE,SCSI). + */ + @minLength(1) + controllerName: string; + + /** + * Gets or sets the controller ID. + */ + controllerId: int32; + + /** + * Gets or sets the controller Location. + */ + controllerLocation: int32; +} + +/** + * Failover job model custom properties. + */ +model FailoverJobModelCustomProperties extends JobModelCustomProperties { + /** + * Gets or sets the failed over protected item details. + */ + @visibility("read") + @OpenAPI.extension("x-ms-identifiers", []) + protectedItemDetails?: FailoverProtectedItemProperties[]; + + /** + * Gets or sets the instance type. + */ + instanceType: "FailoverJobDetails"; +} + +/** + * Failover properties of the protected item. + */ +model FailoverProtectedItemProperties { + /** + * Gets or sets the protected item name. + */ + @visibility("read") + protectedItemName?: string; + + /** + * Gets or sets the VM name. + */ + @visibility("read") + vmName?: string; + + /** + * Gets or sets the test VM name. + */ + @visibility("read") + testVmName?: string; + + /** + * Gets or sets the recovery point Id. + */ + @visibility("read") + recoveryPointId?: string; + + /** + * Gets or sets the recovery point time. + */ + @visibility("read") + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + recoveryPointTime?: utcDateTime; + + /** + * Gets or sets the network name. + */ + @visibility("read") + networkName?: string; + + /** + * Gets or sets the network subnet. + */ + @visibility("read") + subnet?: string; +} + +/** + * HyperV migrate fabric model custom properties. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" +model HyperVMigrateFabricModelCustomProperties + extends FabricModelCustomProperties { + /** + * Gets or sets the ARM Id of the HyperV site. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" + @minLength(1) + hyperVSiteId: string; + + /** + * Gets or sets the fabric resource Id. + */ + @visibility("read") + fabricResourceId?: string; + + /** + * Gets or sets the fabric container Id. + */ + @visibility("read") + fabricContainerId?: string; + + /** + * Gets or sets the migration solution ARM Id. + */ + @minLength(1) + migrationSolutionId: string; + + /** + * Gets or sets the migration hub Uri. + */ + @visibility("read") + migrationHubUri?: string; + + /** + * Gets or sets the instance type. + */ + instanceType: "HyperVMigrate"; +} + +/** + * HyperVToAzStack disk input. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" +model HyperVToAzStackHCIDiskInput { + /** + * Gets or sets the disk Id. + */ + @minLength(1) + diskId: string; + + /** + * Gets or sets the target storage account ARM Id. + */ + storageContainerId?: string; + + /** + * Gets or sets a value indicating whether dynamic sizing is enabled on the virtual hard disk. + */ + isDynamic?: boolean; + + /** + * Gets or sets the disk size in GB. + */ + diskSizeGB: int64; + + /** + * Gets or sets the type of the virtual hard disk, vhd or vhdx. + */ + @minLength(1) + diskFileFormat: string; + + /** + * Gets or sets a value indicating whether disk is os disk. + */ + isOsDisk: boolean; + + /** + * Gets or sets a value of disk block size. + */ + diskBlockSize?: int64; + + /** + * Gets or sets a value of disk logical sector size. + */ + diskLogicalSectorSize?: int64; + + /** + * Gets or sets a value of disk physical sector size. + */ + diskPhysicalSectorSize?: int64; + + /** + * Gets or sets a value of disk identifier. + */ + diskIdentifier?: string; + + /** + * Disk controller. + */ + diskController?: DiskControllerInputs; +} + +/** + * HyperV to AzStackHCI event model custom properties. This class provides provider specific details for events of type DataContract.HealthEvents.HealthEventType.ProtectedItemHealth and DataContract.HealthEvents.HealthEventType.AgentHealth. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" +model HyperVToAzStackHCIEventModelCustomProperties + extends EventModelCustomProperties { + /** + * Gets or sets the friendly name of the source which has raised this health event. + */ + @visibility("read") + eventSourceFriendlyName?: string; + + /** + * Gets or sets the protected item friendly name. + */ + @visibility("read") + protectedItemFriendlyName?: string; + + /** + * Gets or sets the source appliance name. + */ + @visibility("read") + sourceApplianceName?: string; + + /** + * Gets or sets the source target name. + */ + @visibility("read") + targetApplianceName?: string; + + /** + * Gets or sets the server type. + */ + @visibility("read") + serverType?: string; + + /** + * Gets or sets the instance type. + */ + instanceType: "HyperVToAzStackHCI"; +} + +/** + * HyperVToAzStackHCI NIC properties. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" +model HyperVToAzStackHCINicInput { + /** + * Gets or sets the NIC Id. + */ + @minLength(1) + nicId: string; + + /** + * Gets or sets the network name. + */ + @visibility("read") + networkName?: string; + + /** + * Gets or sets the target network Id within AzStackHCI Cluster. + */ + targetNetworkId?: string; + + /** + * Gets or sets the target test network Id within AzStackHCI Cluster. + */ + testNetworkId?: string; + + /** + * Gets or sets the selection type of the NIC. + */ + selectionTypeForFailover: VMNicSelection; + + /** + * Gets or sets a value indicating whether static ip migration is enabled. + */ + isStaticIpMigrationEnabled?: boolean; + + /** + * Gets or sets a value indicating whether mac address migration is enabled. + */ + isMacMigrationEnabled?: boolean; +} + +/** + * HyperV to AzStackHCI planned failover model custom properties. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" +model HyperVToAzStackHCIPlannedFailoverModelCustomProperties + extends PlannedFailoverModelCustomProperties { + /** + * Gets or sets a value indicating whether VM needs to be shut down. + */ + shutdownSourceVM: boolean; + + /** + * Gets or sets the instance type. + */ + instanceType: "HyperVToAzStackHCI"; +} + +/** + * HyperV To AzStackHCI Policy model custom properties. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" +model HyperVToAzStackHCIPolicyModelCustomProperties + extends PolicyModelCustomProperties { + /** + * Gets or sets the duration in minutes until which the recovery points need to be stored. + */ + recoveryPointHistoryInMinutes: int32; + + /** + * Gets or sets the crash consistent snapshot frequency (in minutes). + */ + crashConsistentFrequencyInMinutes: int32; + + /** + * Gets or sets the app consistent snapshot frequency (in minutes). + */ + appConsistentFrequencyInMinutes: int32; + + /** + * Gets or sets the instance type. + */ + instanceType: "HyperVToAzStackHCI"; +} + +/** + * HyperVToAzStackHCI protected disk properties. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" +model HyperVToAzStackHCIProtectedDiskProperties { + /** + * Gets or sets the ARM Id of the storage container. + */ + @visibility("read") + storageContainerId?: string; + + /** + * Gets or sets the local path of the storage container. + */ + @visibility("read") + storageContainerLocalPath?: string; + + /** + * Gets or sets the source disk Id. + */ + @visibility("read") + sourceDiskId?: string; + + /** + * Gets or sets the source disk Name. + */ + @visibility("read") + sourceDiskName?: string; + + /** + * Gets or sets the seed disk name. + */ + @visibility("read") + seedDiskName?: string; + + /** + * Gets or sets the test failover clone disk. + */ + @visibility("read") + testMigrateDiskName?: string; + + /** + * Gets or sets the failover clone disk. + */ + @visibility("read") + migrateDiskName?: string; + + /** + * Gets or sets a value indicating whether the disk is the OS disk. + */ + @visibility("read") + isOsDisk?: boolean; + + /** + * Gets or sets the disk capacity in bytes. + */ + @visibility("read") + capacityInBytes?: int64; + + /** + * Gets or sets a value indicating whether dynamic sizing is enabled on the virtual hard disk. + */ + @visibility("read") + isDynamic?: boolean; + + /** + * Gets or sets the disk type. + */ + @visibility("read") + diskType?: string; + + /** + * Gets or sets a value of disk block size. + */ + @visibility("read") + diskBlockSize?: int64; + + /** + * Gets or sets a value of disk logical sector size. + */ + @visibility("read") + diskLogicalSectorSize?: int64; + + /** + * Gets or sets a value of disk physical sector size. + */ + @visibility("read") + diskPhysicalSectorSize?: int64; +} + +/** + * HyperV to AzStackHCI Protected item model custom properties. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" +model HyperVToAzStackHCIProtectedItemModelCustomProperties + extends ProtectedItemModelCustomProperties { + /** + * Gets or sets the location of the protected item. + */ + @visibility("read") + activeLocation?: ProtectedItemActiveLocation; + + /** + * Gets or sets the Target HCI Cluster ARM Id. + */ + @minLength(1) + targetHciClusterId: string; + + /** + * Gets or sets the Target Arc Cluster Custom Location ARM Id. + */ + @minLength(1) + targetArcClusterCustomLocationId: string; + + /** + * Gets or sets the Target AzStackHCI cluster name. + */ + @visibility("read") + targetAzStackHciClusterName?: string; + + /** + * Gets or sets the ARM Id of the discovered machine. + */ + @minLength(1) + fabricDiscoveryMachineId: string; + + /** + * Gets or sets the list of disks to replicate. + */ + @OpenAPI.extension("x-ms-identifiers", []) + disksToInclude: HyperVToAzStackHCIDiskInput[]; + + /** + * Gets or sets the list of VM NIC to replicate. + */ + @OpenAPI.extension("x-ms-identifiers", []) + nicsToInclude: HyperVToAzStackHCINicInput[]; + + /** + * Gets or sets the source VM display name. + */ + @visibility("read") + sourceVmName?: string; + + /** + * Gets or sets the source VM CPU cores. + */ + @visibility("read") + sourceCpuCores?: int32; + + /** + * Gets or sets the source VM ram memory size in megabytes. + */ + @visibility("read") + sourceMemoryInMegaBytes?: float64; + + /** + * Gets or sets the target VM display name. + */ + targetVmName?: string; + + /** + * Gets or sets the target resource group ARM Id. + */ + @minLength(1) + targetResourceGroupId: string; + + /** + * Gets or sets the target storage container ARM Id. + */ + @minLength(1) + storageContainerId: string; + + /** + * Gets or sets the hypervisor generation of the virtual machine. + */ + @minLength(1) + hyperVGeneration: string; + + /** + * Gets or sets the target network Id within AzStackHCI Cluster. + */ + targetNetworkId?: string; + + /** + * Gets or sets the target test network Id within AzStackHCI Cluster. + */ + testNetworkId?: string; + + /** + * Gets or sets the target CPU cores. + */ + targetCpuCores?: int32; + + /** + * Gets or sets a value indicating whether memory is dynamical. + */ + isDynamicRam?: boolean; + + /** + * Protected item dynamic memory config. + */ + dynamicMemoryConfig?: ProtectedItemDynamicMemoryConfig; + + /** + * Gets or sets the target memory in mega-bytes. + */ + targetMemoryInMegaBytes?: int32; + + /** + * Gets or sets the Run As account Id. + */ + @minLength(1) + runAsAccountId: string; + + /** + * Gets or sets the source fabric agent name. + */ + @minLength(1) + sourceFabricAgentName: string; + + /** + * Gets or sets the target fabric agent name. + */ + @minLength(1) + targetFabricAgentName: string; + + /** + * Gets or sets the source appliance name. + */ + @visibility("read") + sourceApplianceName?: string; + + /** + * Gets or sets the target appliance name. + */ + @visibility("read") + targetApplianceName?: string; + + /** + * Gets or sets the type of the OS. + */ + @visibility("read") + osType?: string; + + /** + * Gets or sets the name of the OS. + */ + @visibility("read") + osName?: string; + + /** + * Gets or sets the firmware type. + */ + @visibility("read") + firmwareType?: string; + + /** + * Gets or sets the target location. + */ + @visibility("read") + targetLocation?: string; + + /** + * Gets or sets the location of Azure Arc HCI custom location resource. + */ + @minLength(1) + customLocationRegion: string; + + /** + * Gets or sets the recovery point Id to which the VM was failed over. + */ + @visibility("read") + failoverRecoveryPointId?: string; + + /** + * Gets or sets the last recovery point received time. + */ + @visibility("read") + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + lastRecoveryPointReceived?: utcDateTime; + + /** + * Gets or sets the last recovery point Id. + */ + @visibility("read") + lastRecoveryPointId?: string; + + /** + * Gets or sets the initial replication progress percentage. This is calculated based on total bytes processed for all disks in the source VM. + */ + @visibility("read") + initialReplicationProgressPercentage?: int32; + + /** + * Gets or sets the resync progress percentage. This is calculated based on total bytes processed for all disks in the source VM. + */ + @visibility("read") + resyncProgressPercentage?: int32; + + /** + * Gets or sets the list of protected disks. + */ + @visibility("read") + @OpenAPI.extension("x-ms-identifiers", []) + protectedDisks?: HyperVToAzStackHCIProtectedDiskProperties[]; + + /** + * Gets or sets the VM NIC details. + */ + @visibility("read") + @OpenAPI.extension("x-ms-identifiers", []) + protectedNics?: HyperVToAzStackHCIProtectedNicProperties[]; + + /** + * Gets or sets the BIOS Id of the target AzStackHCI VM. + */ + @visibility("read") + targetVmBiosId?: string; + + /** + * Gets or sets the latest timestamp that replication status is updated. + */ + @visibility("read") + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + lastReplicationUpdateTime?: utcDateTime; + + /** + * Gets or sets the instance type. + */ + instanceType: "HyperVToAzStackHCI"; +} + +/** + * Protected item dynamic memory config. + */ +model ProtectedItemDynamicMemoryConfig { + /** + * Gets or sets maximum memory in MB. + */ + maximumMemoryInMegaBytes: int64; + + /** + * Gets or sets minimum memory in MB. + */ + minimumMemoryInMegaBytes: int64; + + /** + * Gets or sets target memory buffer in %. + */ + targetMemoryBufferPercentage: int32; +} + +/** + * HyperVToAzStackHCI NIC properties. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" +model HyperVToAzStackHCIProtectedNicProperties { + /** + * Gets or sets the NIC Id. + */ + @visibility("read") + nicId?: string; + + /** + * Gets or sets the NIC mac address. + */ + @visibility("read") + macAddress?: string; + + /** + * Gets or sets the network name. + */ + @visibility("read") + networkName?: string; + + /** + * Gets or sets the target network Id within AzStackHCI Cluster. + */ + @visibility("read") + targetNetworkId?: string; + + /** + * Gets or sets the target test network Id within AzStackHCI Cluster. + */ + @visibility("read") + testNetworkId?: string; + + /** + * Gets or sets the selection type of the NIC. + */ + @visibility("read") + selectionTypeForFailover?: VMNicSelection; +} + +/** + * HyperV to AzStackHCI Protected item model custom properties. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" +model HyperVToAzStackHCIProtectedItemModelCustomPropertiesUpdate + extends ProtectedItemModelCustomPropertiesUpdate { + /** + * Gets or sets the list of VM NIC to replicate. + */ + @OpenAPI.extension("x-ms-identifiers", []) + nicsToInclude?: HyperVToAzStackHCINicInput[]; + + /** + * Gets or sets the target CPU cores. + */ + targetCpuCores?: int32; + + /** + * Gets or sets a value indicating whether memory is dynamical. + */ + isDynamicRam?: boolean; + + /** + * Protected item dynamic memory config. + */ + dynamicMemoryConfig?: ProtectedItemDynamicMemoryConfig; + + /** + * Gets or sets the target memory in mega-bytes. + */ + targetMemoryInMegaBytes?: int32; + + /** + * Gets or sets the instance type. + */ + instanceType: "HyperVToAzStackHCI"; + + /** + * Gets or sets the type of the OS. + */ + osType?: string; +} + +/** + * HyperV to AzStackHCI recovery point model custom properties. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" +model HyperVToAzStackHCIRecoveryPointModelCustomProperties + extends RecoveryPointModelCustomProperties { + /** + * Gets or sets the list of the disk Ids. + */ + @visibility("read") + diskIds?: string[]; + + /** + * Gets or sets the instance type. + */ + instanceType: "HyperVToAzStackHCI"; +} + +/** + * HyperV to AzStackHCI Replication extension model custom properties. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" +model HyperVToAzStackHCIReplicationExtensionModelCustomProperties + extends ReplicationExtensionModelCustomProperties { + /** + * Gets or sets the ARM Id of the source HyperV fabric. + */ + @minLength(1) + hyperVFabricArmId: string; + + /** + * Gets or sets the ARM Id of the HyperV site. + */ + @visibility("read") + hyperVSiteId?: string; + + /** + * Gets or sets the ARM Id of the target AzStackHCI fabric. + */ + @minLength(1) + azStackHciFabricArmId: string; + + /** + * Gets or sets the ARM Id of the AzStackHCI site. + */ + @visibility("read") + azStackHciSiteId?: string; + + /** + * Gets or sets the storage account Id. + */ + storageAccountId?: string; + + /** + * Gets or sets the Sas Secret of storage account. + */ + storageAccountSasSecretName?: string; + + /** + * Gets or sets the Uri of ASR. + */ + @visibility("read") + asrServiceUri?: string; + + /** + * Gets or sets the Uri of Rcm. + */ + @visibility("read") + rcmServiceUri?: string; + + /** + * Gets or sets the Uri of Gateway. + */ + @visibility("read") + gatewayServiceUri?: string; + + /** + * Gets or sets the gateway service Id of source. + */ + @visibility("read") + sourceGatewayServiceId?: string; + + /** + * Gets or sets the gateway service Id of target. + */ + @visibility("read") + targetGatewayServiceId?: string; + + /** + * Gets or sets the source storage container name. + */ + @visibility("read") + sourceStorageContainerName?: string; + + /** + * Gets or sets the target storage container name. + */ + @visibility("read") + targetStorageContainerName?: string; + + /** + * Gets or sets the resource location. + */ + @visibility("read") + resourceLocation?: string; + + /** + * Gets or sets the subscription. + */ + @visibility("read") + subscriptionId?: string; + + /** + * Gets or sets the resource group. + */ + @visibility("read") + resourceGroup?: string; + + /** + * Gets or sets the instance type. + */ + instanceType: "HyperVToAzStackHCI"; +} + +/** + * Operation model. + */ +model OperationModel { + /** + * Gets or sets the name of the operation. + */ + name?: string; + + /** + * Gets or sets a value indicating whether the action is specific to data plane or control plane. + */ + isDataAction?: boolean; + + /** + * Gets or sets the executor of the operation. + */ + origin?: string; + + /** + * Operation model properties. + */ + display?: OperationModelProperties; +} + +/** + * Operation model properties. + */ +model OperationModelProperties { + /** + * Gets or sets the resource provider name. + */ + provider?: string; + + /** + * Gets or sets resource name. + */ + resource?: string; + + /** + * Gets or sets the operation. + */ + operation?: string; + + /** + * Gets or sets the description. + */ + description?: string; +} + +/** + * Available operations of the service. + */ +model OperationModelCollection { + /** + * Gets or sets the list of operations. + */ + @OpenAPI.extension("x-ms-identifiers", []) + value?: OperationModel[]; + + /** + * Gets or sets the value of next link. + */ + nextLink?: string; +} + +/** + * System data required to be defined for Azure resources. + */ +model SystemDataModel { + /** + * Gets or sets identity that created the resource. + */ + createdBy?: string; + + /** + * Gets or sets the type of identity that created the resource: user, application,managedIdentity. + */ + createdByType?: string; + + /** + * Gets or sets the timestamp of resource creation (UTC). + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + createdAt?: utcDateTime; + + /** + * Gets or sets the identity that last modified the resource. + */ + lastModifiedBy?: string; + + /** + * Gets or sets the type of identity that last modified the resource: user, application,managedIdentity. + */ + lastModifiedByType?: string; + + /** + * Gets or sets the timestamp of resource last modification (UTC). + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + lastModifiedAt?: utcDateTime; +} + +/** + * Test failover cleanup job model custom properties. + */ +model TestFailoverCleanupJobModelCustomProperties + extends JobModelCustomProperties { + /** + * Gets or sets the test failover cleanup comments. + */ + @visibility("read") + comments?: string; + + /** + * Gets or sets the instance type. + */ + instanceType: "TestFailoverCleanupJobDetails"; +} + +/** + * Test failover job model custom properties. + */ +model TestFailoverJobModelCustomProperties extends JobModelCustomProperties { + /** + * Gets or sets the test VM details. + */ + @visibility("read") + @OpenAPI.extension("x-ms-identifiers", []) + protectedItemDetails?: FailoverProtectedItemProperties[]; + + /** + * Gets or sets the instance type. + */ + instanceType: "TestFailoverJobDetails"; +} + +/** + * VMware fabric agent model custom properties. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" +model VMwareFabricAgentModelCustomProperties + extends FabricAgentModelCustomProperties { + /** + * Gets or sets the BIOS Id of the fabric agent machine. + */ + @minLength(1) + biosId: string; + + /** + * Identity model. + */ + marsAuthenticationIdentity: IdentityModel; + + /** + * Gets or sets the instance type. + */ + instanceType: "VMware"; +} + +/** + * VMware migrate fabric model custom properties. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" +model VMwareMigrateFabricModelCustomProperties + extends FabricModelCustomProperties { + /** + * Gets or sets the ARM Id of the VMware site. + */ + @minLength(1) + vmwareSiteId: string; + + /** + * Gets or sets the ARM Id of the migration solution. + */ + @minLength(1) + migrationSolutionId: string; + + /** + * Gets or sets the instance type. + */ + instanceType: "VMwareMigrate"; +} + +/** + * VMwareToAzStack disk input. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" +model VMwareToAzStackHCIDiskInput { + /** + * Gets or sets the disk Id. + */ + @minLength(1) + diskId: string; + + /** + * Gets or sets the target storage account ARM Id. + */ + storageContainerId?: string; + + /** + * Gets or sets a value indicating whether dynamic sizing is enabled on the virtual hard disk. + */ + isDynamic?: boolean; + + /** + * Gets or sets the disk size in GB. + */ + diskSizeGB: int64; + + /** + * Gets or sets the type of the virtual hard disk, vhd or vhdx. + */ + @minLength(1) + diskFileFormat: string; + + /** + * Gets or sets a value indicating whether disk is os disk. + */ + isOsDisk: boolean; + + /** + * Gets or sets a value of disk block size. + */ + diskBlockSize?: int64; + + /** + * Gets or sets a value of disk logical sector size. + */ + diskLogicalSectorSize?: int64; + + /** + * Gets or sets a value of disk physical sector size. + */ + diskPhysicalSectorSize?: int64; + + /** + * Gets or sets a value of disk identifier. + */ + diskIdentifier?: string; + + /** + * Disk controller. + */ + diskController?: DiskControllerInputs; +} + +/** + * VMware to AzStackHCI event model custom properties. This class provides provider specific details for events of type DataContract.HealthEvents.HealthEventType.ProtectedItemHealth and DataContract.HealthEvents.HealthEventType.AgentHealth. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" +model VMwareToAzStackHCIEventModelCustomProperties + extends EventModelCustomProperties { + /** + * Gets or sets the friendly name of the source which has raised this health event. + */ + @visibility("read") + eventSourceFriendlyName?: string; + + /** + * Gets or sets the protected item friendly name. + */ + @visibility("read") + protectedItemFriendlyName?: string; + + /** + * Gets or sets the source appliance name. + */ + @visibility("read") + sourceApplianceName?: string; + + /** + * Gets or sets the source target name. + */ + @visibility("read") + targetApplianceName?: string; + + /** + * Gets or sets the server type. + */ + @visibility("read") + serverType?: string; + + /** + * Gets or sets the instance type. + */ + instanceType: "VMwareToAzStackHCI"; +} + +/** + * VMwareToAzStackHCI NIC properties. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" +model VMwareToAzStackHCINicInput { + /** + * Gets or sets the NIC Id. + */ + @minLength(1) + nicId: string; + + /** + * Gets or sets the NIC label. + */ + @minLength(1) + label: string; + + /** + * Gets or sets the network name. + */ + @visibility("read") + networkName?: string; + + /** + * Gets or sets the target network Id within AzStackHCI Cluster. + */ + targetNetworkId?: string; + + /** + * Gets or sets the target test network Id within AzStackHCI Cluster. + */ + testNetworkId?: string; + + /** + * Gets or sets the selection type of the NIC. + */ + selectionTypeForFailover: VMNicSelection; + + /** + * Gets or sets a value indicating whether static ip migration is enabled. + */ + isStaticIpMigrationEnabled?: boolean; + + /** + * Gets or sets a value indicating whether mac address migration is enabled. + */ + isMacMigrationEnabled?: boolean; +} + +/** + * VMware to AzStackHCI planned failover model custom properties. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" +model VMwareToAzStackHCIPlannedFailoverModelCustomProperties + extends PlannedFailoverModelCustomProperties { + /** + * Gets or sets a value indicating whether VM needs to be shut down. + */ + shutdownSourceVM: boolean; + + /** + * Gets or sets the instance type. + */ + instanceType: "VMwareToAzStackHCI"; +} + +/** + * VMware To AzStackHCI Policy model custom properties. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" +model VMwareToAzStackHCIPolicyModelCustomProperties + extends PolicyModelCustomProperties { + /** + * Gets or sets the duration in minutes until which the recovery points need to be stored. + */ + recoveryPointHistoryInMinutes: int32; + + /** + * Gets or sets the crash consistent snapshot frequency (in minutes). + */ + crashConsistentFrequencyInMinutes: int32; + + /** + * Gets or sets the app consistent snapshot frequency (in minutes). + */ + appConsistentFrequencyInMinutes: int32; + + /** + * Gets or sets the instance type. + */ + instanceType: "VMwareToAzStackHCI"; +} + +/** + * VMwareToAzStackHCI protected disk properties. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" +model VMwareToAzStackHCIProtectedDiskProperties { + /** + * Gets or sets the ARM Id of the storage container. + */ + @visibility("read") + storageContainerId?: string; + + /** + * Gets or sets the local path of the storage container. + */ + @visibility("read") + storageContainerLocalPath?: string; + + /** + * Gets or sets the source disk Id. + */ + @visibility("read") + sourceDiskId?: string; + + /** + * Gets or sets the source disk Name. + */ + @visibility("read") + sourceDiskName?: string; + + /** + * Gets or sets the seed disk name. + */ + @visibility("read") + seedDiskName?: string; + + /** + * Gets or sets the test failover clone disk. + */ + @visibility("read") + testMigrateDiskName?: string; + + /** + * Gets or sets the failover clone disk. + */ + @visibility("read") + migrateDiskName?: string; + + /** + * Gets or sets a value indicating whether the disk is the OS disk. + */ + @visibility("read") + isOsDisk?: boolean; + + /** + * Gets or sets the disk capacity in bytes. + */ + @visibility("read") + capacityInBytes?: int64; + + /** + * Gets or sets a value indicating whether dynamic sizing is enabled on the virtual hard disk. + */ + @visibility("read") + isDynamic?: boolean; + + /** + * Gets or sets the disk type. + */ + @visibility("read") + diskType?: string; + + /** + * Gets or sets a value of disk block size. + */ + @visibility("read") + diskBlockSize?: int64; + + /** + * Gets or sets a value of disk logical sector size. + */ + @visibility("read") + diskLogicalSectorSize?: int64; + + /** + * Gets or sets a value of disk physical sector size. + */ + @visibility("read") + diskPhysicalSectorSize?: int64; +} + +/** + * VMware to AzStackHCI Protected item model custom properties. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" +model VMwareToAzStackHCIProtectedItemModelCustomProperties + extends ProtectedItemModelCustomProperties { + /** + * Gets or sets the location of the protected item. + */ + @visibility("read") + activeLocation?: ProtectedItemActiveLocation; + + /** + * Gets or sets the Target HCI Cluster ARM Id. + */ + @minLength(1) + targetHciClusterId: string; + + /** + * Gets or sets the Target Arc Cluster Custom Location ARM Id. + */ + @minLength(1) + targetArcClusterCustomLocationId: string; + + /** + * Gets or sets the Target AzStackHCI cluster name. + */ + @visibility("read") + targetAzStackHciClusterName?: string; + + /** + * Gets or sets the target storage container ARM Id. + */ + @minLength(1) + storageContainerId: string; + + /** + * Gets or sets the target resource group ARM Id. + */ + @minLength(1) + targetResourceGroupId: string; + + /** + * Gets or sets the target location. + */ + @visibility("read") + targetLocation?: string; + + /** + * Gets or sets the location of Azure Arc HCI custom location resource. + */ + @minLength(1) + customLocationRegion: string; + + /** + * Gets or sets the list of disks to replicate. + */ + @OpenAPI.extension("x-ms-identifiers", []) + disksToInclude: VMwareToAzStackHCIDiskInput[]; + + /** + * Gets or sets the list of VM NIC to replicate. + */ + @OpenAPI.extension("x-ms-identifiers", []) + nicsToInclude: VMwareToAzStackHCINicInput[]; + + /** + * Gets or sets the list of protected disks. + */ + @visibility("read") + @OpenAPI.extension("x-ms-identifiers", []) + protectedDisks?: VMwareToAzStackHCIProtectedDiskProperties[]; + + /** + * Gets or sets the VM NIC details. + */ + @visibility("read") + @OpenAPI.extension("x-ms-identifiers", []) + protectedNics?: VMwareToAzStackHCIProtectedNicProperties[]; + + /** + * Gets or sets the BIOS Id of the target AzStackHCI VM. + */ + @visibility("read") + targetVmBiosId?: string; + + /** + * Gets or sets the target VM display name. + */ + targetVmName?: string; + + /** + * Gets or sets the hypervisor generation of the virtual machine possible values are 1,2. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" + @minLength(1) + hyperVGeneration: string; + + /** + * Gets or sets the target network Id within AzStackHCI Cluster. + */ + targetNetworkId?: string; + + /** + * Gets or sets the target test network Id within AzStackHCI Cluster. + */ + testNetworkId?: string; + + /** + * Gets or sets the target CPU cores. + */ + targetCpuCores?: int32; + + /** + * Gets or sets a value indicating whether memory is dynamical. + */ + isDynamicRam?: boolean; + + /** + * Protected item dynamic memory config. + */ + dynamicMemoryConfig?: ProtectedItemDynamicMemoryConfig; + + /** + * Gets or sets the target memory in mega-bytes. + */ + targetMemoryInMegaBytes?: int32; + + /** + * Gets or sets the type of the OS. + */ + @visibility("read") + osType?: string; + + /** + * Gets or sets the name of the OS. + */ + @visibility("read") + osName?: string; + + /** + * Gets or sets the firmware type. + */ + @visibility("read") + firmwareType?: string; + + /** + * Gets or sets the ARM Id of the discovered machine. + */ + @minLength(1) + fabricDiscoveryMachineId: string; + + /** + * Gets or sets the source VM display name. + */ + @visibility("read") + sourceVmName?: string; + + /** + * Gets or sets the source VM CPU cores. + */ + @visibility("read") + sourceCpuCores?: int32; + + /** + * Gets or sets the source VM ram memory size in megabytes. + */ + @visibility("read") + sourceMemoryInMegaBytes?: float64; + + /** + * Gets or sets the run as account Id. + */ + @minLength(1) + runAsAccountId: string; + + /** + * Gets or sets the source fabric agent name. + */ + @minLength(1) + sourceFabricAgentName: string; + + /** + * Gets or sets the target fabric agent name. + */ + @minLength(1) + targetFabricAgentName: string; + + /** + * Gets or sets the source appliance name. + */ + @visibility("read") + sourceApplianceName?: string; + + /** + * Gets or sets the target appliance name. + */ + @visibility("read") + targetApplianceName?: string; + + /** + * Gets or sets the recovery point Id to which the VM was failed over. + */ + @visibility("read") + failoverRecoveryPointId?: string; + + /** + * Gets or sets the last recovery point received time. + */ + @visibility("read") + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + lastRecoveryPointReceived?: utcDateTime; + + /** + * Gets or sets the last recovery point Id. + */ + @visibility("read") + lastRecoveryPointId?: string; + + /** + * Gets or sets the initial replication progress percentage. This is calculated based on total bytes processed for all disks in the source VM. + */ + @visibility("read") + initialReplicationProgressPercentage?: int32; + + /** + * Gets or sets the migration progress percentage. + */ + @visibility("read") + migrationProgressPercentage?: int32; + + /** + * Gets or sets the resume progress percentage. + */ + @visibility("read") + resumeProgressPercentage?: int32; + + /** + * Gets or sets the resync progress percentage. This is calculated based on total bytes processed for all disks in the source VM. + */ + @visibility("read") + resyncProgressPercentage?: int32; + + /** + * Gets or sets the resync retry count. + */ + @visibility("read") + resyncRetryCount?: int64; + + /** + * Gets or sets a value indicating whether resync is required. + */ + @visibility("read") + resyncRequired?: boolean; + + /** + * Gets or sets the resync state. + */ + @visibility("read") + resyncState?: VMwareToAzureMigrateResyncState; + + /** + * Gets or sets a value indicating whether auto resync is to be done. + */ + performAutoResync?: boolean; + + /** + * Gets or sets the resume retry count. + */ + @visibility("read") + resumeRetryCount?: int64; + + /** + * Gets or sets the latest timestamp that replication status is updated. + */ + @visibility("read") + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + lastReplicationUpdateTime?: utcDateTime; + + /** + * Gets or sets the instance type. + */ + instanceType: "VMwareToAzStackHCI"; +} + +/** + * VMwareToAzStackHCI NIC properties. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" +model VMwareToAzStackHCIProtectedNicProperties { + /** + * Gets or sets the NIC Id. + */ + @visibility("read") + nicId?: string; + + /** + * Gets or sets the NIC mac address. + */ + @visibility("read") + macAddress?: string; + + /** + * Gets or sets the NIC label. + */ + @visibility("read") + label?: string; + + /** + * Gets or sets a value indicating whether this is the primary NIC. + */ + isPrimaryNic?: boolean; + + /** + * Gets or sets the network name. + */ + @visibility("read") + networkName?: string; + + /** + * Gets or sets the target network Id within AzStackHCI Cluster. + */ + @visibility("read") + targetNetworkId?: string; + + /** + * Gets or sets the target test network Id within AzStackHCI Cluster. + */ + @visibility("read") + testNetworkId?: string; + + /** + * Gets or sets the selection type of the NIC. + */ + @visibility("read") + selectionTypeForFailover?: VMNicSelection; +} + +/** + * VMware to AzStackHCI Protected item model custom properties. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" +model VMwareToAzStackHCIProtectedItemModelCustomPropertiesUpdate + extends ProtectedItemModelCustomPropertiesUpdate { + /** + * Gets or sets the list of VM NIC to replicate. + */ + @OpenAPI.extension("x-ms-identifiers", []) + nicsToInclude?: VMwareToAzStackHCINicInput[]; + + /** + * Gets or sets the target CPU cores. + */ + targetCpuCores?: int32; + + /** + * Gets or sets a value indicating whether memory is dynamical. + */ + isDynamicRam?: boolean; + + /** + * Protected item dynamic memory config. + */ + dynamicMemoryConfig?: ProtectedItemDynamicMemoryConfig; + + /** + * Gets or sets the target memory in mega-bytes. + */ + targetMemoryInMegaBytes?: int32; + + /** + * Gets or sets the instance type. + */ + instanceType: "VMwareToAzStackHCI"; + + /** + * Gets or sets the type of the OS. + */ + osType?: string; +} + +/** + * VMware to AzStackHCI recovery point model custom properties. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" +model VMwareToAzStackHCIRecoveryPointModelCustomProperties + extends RecoveryPointModelCustomProperties { + /** + * Gets or sets the list of the disk Ids. + */ + @visibility("read") + diskIds?: string[]; + + /** + * Gets or sets the instance type. + */ + instanceType: "VMwareToAzStackHCIRecoveryPointModelCustomProperties"; +} + +/** + * VMware to AzStackHCI Replication extension model custom properties. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" +model VMwareToAzStackHCIReplicationExtensionModelCustomProperties + extends ReplicationExtensionModelCustomProperties { + /** + * Gets or sets the ARM Id of the source VMware fabric. + */ + @minLength(1) + vmwareFabricArmId: string; + + /** + * Gets or sets the ARM Id of the VMware site. + */ + @visibility("read") + vmwareSiteId?: string; + + /** + * Gets or sets the ARM Id of the target AzStackHCI fabric. + */ + @minLength(1) + azStackHciFabricArmId: string; + + /** + * Gets or sets the ARM Id of the AzStackHCI site. + */ + @visibility("read") + azStackHciSiteId?: string; + + /** + * Gets or sets the storage account Id. + */ + storageAccountId?: string; + + /** + * Gets or sets the Sas Secret of storage account. + */ + storageAccountSasSecretName?: string; + + /** + * Gets or sets the Uri of ASR. + */ + @visibility("read") + asrServiceUri?: string; + + /** + * Gets or sets the Uri of Rcm. + */ + @visibility("read") + rcmServiceUri?: string; + + /** + * Gets or sets the Uri of Gateway. + */ + @visibility("read") + gatewayServiceUri?: string; + + /** + * Gets or sets the gateway service Id of source. + */ + @visibility("read") + sourceGatewayServiceId?: string; + + /** + * Gets or sets the gateway service Id of target. + */ + @visibility("read") + targetGatewayServiceId?: string; + + /** + * Gets or sets the source storage container name. + */ + @visibility("read") + sourceStorageContainerName?: string; + + /** + * Gets or sets the target storage container name. + */ + @visibility("read") + targetStorageContainerName?: string; + + /** + * Gets or sets the resource location. + */ + @visibility("read") + resourceLocation?: string; + + /** + * Gets or sets the subscription. + */ + @visibility("read") + subscriptionId?: string; + + /** + * Gets or sets the resource group. + */ + @visibility("read") + resourceGroup?: string; + + /** + * Gets or sets the instance type. + */ + instanceType: "VMwareToAzStackHCI"; +} diff --git a/specification/recoveryservicesdatareplication/DataReplication.Management/routes.tsp b/specification/recoveryservicesdatareplication/DataReplication.Management/routes.tsp new file mode 100644 index 000000000000..6fccaea7abac --- /dev/null +++ b/specification/recoveryservicesdatareplication/DataReplication.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"; + +using TypeSpec.Rest; +using TypeSpec.Http; +using Azure.ResourceManager; + +namespace Microsoft.DataReplication; + +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "Cannot use @armResourceOperations decorator here, the auto-generated routes do not match feature requirements" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "Cannot use @armResourceOperations decorator here, the auto-generated routes do not match feature requirements" +interface CheckNameAvailability { + /** + * Checks the resource name availability. + */ + @summary("Performs the resource name availability check.") + @route("/subscriptions/{subscriptionId}/providers/Microsoft.DataReplication/locations/{location}/checkNameAvailability") + @post + post( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...LocationResourceParameter, + + /** + * Resource details. + */ + @body + body?: CheckNameAvailabilityModel, + ): ArmResponse | ErrorResponse; +} + +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "Cannot use @armResourceOperations decorator here, the auto-generated routes do not match feature requirements" +interface DeploymentPreflight { + /** + * Performs resource deployment preflight validation. + */ + @summary("Performs resource deployment validation.") + @route("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/deployments/{deploymentId}/preflight") + @armResourceAction(DeploymentPreflightModel) + @post + post( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + + /** + * Deployment Id. + */ + @path + deploymentId: string, + + /** + * Deployment preflight model. + */ + @body + body?: DeploymentPreflightModel, + ): ArmResponse | ErrorResponse; +} + +@armResourceOperations +interface OperationResults { + /** + * Gets the operations. + */ + @summary("Gets the operation result status.") + @route("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/operationResults/{operationId}") + @armResourceRead(ArmResponse) + @get + get( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Foundations.OperationIdParameter, + ): ArmResponse | ErrorResponse; +} diff --git a/specification/recoveryservicesdatareplication/DataReplication.Management/tspconfig.yaml b/specification/recoveryservicesdatareplication/DataReplication.Management/tspconfig.yaml new file mode 100644 index 000000000000..735650cde709 --- /dev/null +++ b/specification/recoveryservicesdatareplication/DataReplication.Management/tspconfig.yaml @@ -0,0 +1,43 @@ +parameters: + "service-dir": + default: "sdk/recoveryservicesdatareplication" +emit: + - "@azure-tools/typespec-autorest" +options: + "@azure-tools/typespec-autorest": + use-read-only-status-schema: true + 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}/recoveryservicesdatareplication.json" + examples-dir: "{project-root}/examples" + "@azure-tools/typespec-csharp": + flavor: azure + package-dir: "Azure.ResourceManager.RecoveryServicesDataReplication" + clear-output-folder: true + model-namespace: false + namespace: "{package-dir}" + "@azure-tools/typespec-python": + package-dir: "azure-mgmt-recoveryservicesdatareplication" + package-name: "{package-dir}" + flavor: "azure" + generate-test: true + generate-sample: true + "@azure-tools/typespec-go": + service-dir: "sdk/resourcemanager/recoveryservicesdatareplication" + package-dir: "armrecoveryservicesdatareplication" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + fix-const-stuttering: true + flavor: "azure" + generate-examples: true + generate-fakes: true + head-as-boolean: true + inject-spans: true + "@azure-tools/typespec-java": + package-dir: "azure-resourcemanager-recoveryservicesdatareplication" + flavor: "azure" + namespace: "com.azure.resourcemanager.recoveryservicesdatareplication" + service-name: "Recovery Services Data Replication" +linter: + extends: + - "@azure-tools/typespec-azure-rulesets/resource-manager" diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/CheckNameAvailability_Post.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/CheckNameAvailability_Post.json new file mode 100644 index 000000000000..a69f798bd032 --- /dev/null +++ b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/CheckNameAvailability_Post.json @@ -0,0 +1,22 @@ +{ + "title": "Performs the resource name availability check.", + "operationId": "CheckNameAvailability_Post", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "location": "trfqtbtmusswpibw", + "api-version": "2024-09-01", + "body": { + "name": "updkdcixs", + "type": "gngmcancdauwhdixjjvqnfkvqc" + } + }, + "responses": { + "200": { + "body": { + "nameAvailable": true, + "reason": "wwbvswyrmghbmv", + "message": "gddmrunlrhtuhm" + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/DeploymentPreflight_Post.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/DeploymentPreflight_Post.json new file mode 100644 index 000000000000..256f2c29f2b9 --- /dev/null +++ b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/DeploymentPreflight_Post.json @@ -0,0 +1,34 @@ +{ + "title": "Performs resource deployment validation.", + "operationId": "DeploymentPreflight_Post", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgswagger_2024-09-01", + "deploymentId": "lnfcwsmlowbwkndkztzvaj", + "api-version": "2024-09-01", + "body": { + "resources": [ + { + "name": "xtgugoflfc", + "type": "nsnaptduolqcxsikrewvgjbxqpt", + "location": "cbsgtxkjdzwbyp", + "apiVersion": "otihymhvzblycdoxo" + } + ] + } + }, + "responses": { + "200": { + "body": { + "resources": [ + { + "name": "xtgugoflfc", + "type": "nsnaptduolqcxsikrewvgjbxqpt", + "location": "cbsgtxkjdzwbyp", + "apiVersion": "otihymhvzblycdoxo" + } + ] + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/EmailConfiguration_Create.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/EmailConfiguration_Create.json new file mode 100644 index 000000000000..01e7ec9b5b83 --- /dev/null +++ b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/EmailConfiguration_Create.json @@ -0,0 +1,68 @@ +{ + "title": "Creates email configuration settings.", + "operationId": "EmailConfiguration_Create", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgswagger_2024-09-01", + "vaultName": "4", + "emailConfigurationName": "0", + "api-version": "2024-09-01", + "body": { + "properties": { + "sendToOwners": true, + "customEmailAddresses": [ + "ketvbducyailcny" + ], + "locale": "vpnjxjvdqtebnucyxiyrjiko" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "sendToOwners": true, + "customEmailAddresses": [ + "ketvbducyailcny" + ], + "locale": "vpnjxjvdqtebnucyxiyrjiko", + "provisioningState": "Canceled" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationVaults/vault1/alertSettings/emailConfiguration1", + "name": "ywjplnjzaeu", + "type": "bkaq", + "systemData": { + "createdBy": "ewufpudzcjrljhmmzhfnxoqdqwnya", + "createdByType": "zioqm", + "createdAt": "2023-08-25T00:28:53.022Z", + "lastModifiedBy": "rx", + "lastModifiedByType": "tqbvuqoakaaqij", + "lastModifiedAt": "2023-08-25T00:28:53.022Z" + } + } + }, + "201": { + "body": { + "properties": { + "sendToOwners": true, + "customEmailAddresses": [ + "ketvbducyailcny" + ], + "locale": "vpnjxjvdqtebnucyxiyrjiko", + "provisioningState": "Canceled" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationVaults/vault1/alertSettings/emailConfiguration1", + "name": "ywjplnjzaeu", + "type": "bkaq", + "systemData": { + "createdBy": "ewufpudzcjrljhmmzhfnxoqdqwnya", + "createdByType": "zioqm", + "createdAt": "2023-08-25T00:28:53.022Z", + "lastModifiedBy": "rx", + "lastModifiedByType": "tqbvuqoakaaqij", + "lastModifiedAt": "2023-08-25T00:28:53.022Z" + } + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/EmailConfiguration_Get.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/EmailConfiguration_Get.json new file mode 100644 index 000000000000..15edf0343c86 --- /dev/null +++ b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/EmailConfiguration_Get.json @@ -0,0 +1,36 @@ +{ + "title": "Gets the email configuration setting.", + "operationId": "EmailConfiguration_Get", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgswagger_2024-09-01", + "vaultName": "4", + "emailConfigurationName": "0", + "api-version": "2024-09-01" + }, + "responses": { + "200": { + "body": { + "properties": { + "sendToOwners": true, + "customEmailAddresses": [ + "ketvbducyailcny" + ], + "locale": "vpnjxjvdqtebnucyxiyrjiko", + "provisioningState": "Canceled" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationVaults/vault1/alertSettings/emailConfiguration1", + "name": "ywjplnjzaeu", + "type": "bkaq", + "systemData": { + "createdBy": "ewufpudzcjrljhmmzhfnxoqdqwnya", + "createdByType": "zioqm", + "createdAt": "2023-08-25T00:28:53.022Z", + "lastModifiedBy": "rx", + "lastModifiedByType": "tqbvuqoakaaqij", + "lastModifiedAt": "2023-08-25T00:28:53.022Z" + } + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/EmailConfiguration_List.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/EmailConfiguration_List.json new file mode 100644 index 000000000000..5f97c9d9d5f9 --- /dev/null +++ b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/EmailConfiguration_List.json @@ -0,0 +1,39 @@ +{ + "title": "Lists the email configuration settings", + "operationId": "EmailConfiguration_List", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgswagger_2024-09-01", + "vaultName": "4", + "api-version": "2024-09-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "sendToOwners": true, + "customEmailAddresses": [ + "ketvbducyailcny" + ], + "locale": "vpnjxjvdqtebnucyxiyrjiko", + "provisioningState": "Canceled" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationVaults/vault1/alertSettings/emailConfiguration1", + "name": "ywjplnjzaeu", + "type": "bkaq", + "systemData": { + "createdBy": "ewufpudzcjrljhmmzhfnxoqdqwnya", + "createdByType": "zioqm", + "createdAt": "2023-08-25T00:28:53.022Z", + "lastModifiedBy": "rx", + "lastModifiedByType": "tqbvuqoakaaqij", + "lastModifiedAt": "2023-08-25T00:28:53.022Z" + } + } + ] + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/Event_Get.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/Event_Get.json new file mode 100644 index 000000000000..f9182f1b39f1 --- /dev/null +++ b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/Event_Get.json @@ -0,0 +1,76 @@ +{ + "title": "Gets the event.", + "operationId": "Event_Get", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgswagger_2024-09-01", + "vaultName": "4", + "eventName": "231CIG", + "api-version": "2024-09-01" + }, + "responses": { + "200": { + "body": { + "properties": { + "resourceType": "surgdzezskgregozynvlinfutyh", + "resourceName": "yhpkowkbvtqnbiklnjzc", + "eventType": "npumqmvspm", + "eventName": "s", + "timeOfOccurrence": "2023-08-25T00:28:53.432Z", + "severity": "sjous", + "correlationId": "lwfsxforxnhvpmheujutjicflmxv", + "healthErrors": [ + { + "affectedResourceType": "scfniv", + "affectedResourceCorrelationIds": [ + "fope" + ], + "childErrors": [ + { + "code": "yuxxpblihirpedwkigywgwjjrlzq", + "healthCategory": "mhdgfjqwbikhxmhtomkl", + "category": "lcsdxrqxquke", + "severity": "wqxxiuaqjyagq", + "source": "wevvftugwydzzw", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "djsmgrltruljo", + "message": "sskcei", + "causes": "kefaugkpxjkpulimjthjnl", + "recommendation": "kqybwaesqumywtjepi" + } + ], + "code": "dgxkefzmeukd", + "healthCategory": "itc", + "category": "leigw", + "severity": "vvdajssdcypewdyechilxjmuijvdd", + "source": "iy", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "jtooblbvaxxrvcwgscbobq", + "message": "lbywtdprdqdekl", + "causes": "xznphqrrmsdzm", + "recommendation": "gmssteizlhjtclyeoo" + } + ], + "customProperties": { + "instanceType": "EventModelCustomProperties" + }, + "description": "kwjzliiqagudb", + "provisioningState": "Canceled" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationVaults/vault1/events/event1", + "name": "j", + "type": "lgk", + "systemData": { + "createdBy": "uske", + "createdByType": "luzowppyxjalugkef", + "createdAt": "2023-08-25T00:28:53.432Z", + "lastModifiedBy": "ufrixpmhben", + "lastModifiedByType": "aubgraubkuaeipwzvbcgnlpseobx", + "lastModifiedAt": "2023-08-25T00:28:53.432Z" + } + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/Event_List.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/Event_List.json new file mode 100644 index 000000000000..b8b0665bb80b --- /dev/null +++ b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/Event_List.json @@ -0,0 +1,80 @@ +{ + "title": "Lists the events.", + "operationId": "Event_List", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgswagger_2024-09-01", + "vaultName": "4", + "continuationToken": "gabpzsxrifposvleqqcjnvofz", + "api-version": "2024-09-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "resourceType": "surgdzezskgregozynvlinfutyh", + "resourceName": "yhpkowkbvtqnbiklnjzc", + "eventType": "npumqmvspm", + "eventName": "s", + "timeOfOccurrence": "2023-08-25T00:28:53.432Z", + "severity": "sjous", + "correlationId": "lwfsxforxnhvpmheujutjicflmxv", + "healthErrors": [ + { + "affectedResourceType": "scfniv", + "affectedResourceCorrelationIds": [ + "fope" + ], + "childErrors": [ + { + "code": "yuxxpblihirpedwkigywgwjjrlzq", + "healthCategory": "mhdgfjqwbikhxmhtomkl", + "category": "lcsdxrqxquke", + "severity": "wqxxiuaqjyagq", + "source": "wevvftugwydzzw", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "djsmgrltruljo", + "message": "sskcei", + "causes": "kefaugkpxjkpulimjthjnl", + "recommendation": "kqybwaesqumywtjepi" + } + ], + "code": "dgxkefzmeukd", + "healthCategory": "itc", + "category": "leigw", + "severity": "vvdajssdcypewdyechilxjmuijvdd", + "source": "iy", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "jtooblbvaxxrvcwgscbobq", + "message": "lbywtdprdqdekl", + "causes": "xznphqrrmsdzm", + "recommendation": "gmssteizlhjtclyeoo" + } + ], + "customProperties": { + "instanceType": "EventModelCustomProperties" + }, + "description": "dk", + "provisioningState": "Canceled" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationVaults/vault1/events/event1", + "name": "j", + "type": "lgk", + "systemData": { + "createdBy": "uske", + "createdByType": "luzowppyxjalugkef", + "createdAt": "2023-08-25T00:28:53.432Z", + "lastModifiedBy": "ufrixpmhben", + "lastModifiedByType": "aubgraubkuaeipwzvbcgnlpseobx", + "lastModifiedAt": "2023-08-25T00:28:53.432Z" + } + } + ] + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/FabricAgent_Create.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/FabricAgent_Create.json new file mode 100644 index 000000000000..fdc98fa7d719 --- /dev/null +++ b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/FabricAgent_Create.json @@ -0,0 +1,189 @@ +{ + "title": "Puts the fabric agent", + "operationId": "FabricAgent_Create", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgswagger_2024-09-01", + "fabricName": "wPR", + "fabricAgentName": "M", + "api-version": "2024-09-01", + "body": { + "properties": { + "machineId": "envzcoijbqhtrpncbjbhk", + "machineName": "y", + "authenticationIdentity": { + "tenantId": "joclkkdovixwapephhxaqtefubhhmq", + "applicationId": "cwktzrwajuvfyyymfstpey", + "objectId": "khsiaqfbpuhp", + "audience": "dkjobanyqgzenivyxhvavottpc", + "aadAuthority": "bubwwbowfhdmujrt" + }, + "resourceAccessIdentity": { + "tenantId": "joclkkdovixwapephhxaqtefubhhmq", + "applicationId": "cwktzrwajuvfyyymfstpey", + "objectId": "khsiaqfbpuhp", + "audience": "dkjobanyqgzenivyxhvavottpc", + "aadAuthority": "bubwwbowfhdmujrt" + }, + "customProperties": { + "instanceType": "FabricAgentModelCustomProperties" + } + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "machineId": "envzcoijbqhtrpncbjbhk", + "machineName": "y", + "authenticationIdentity": { + "tenantId": "joclkkdovixwapephhxaqtefubhhmq", + "applicationId": "cwktzrwajuvfyyymfstpey", + "objectId": "khsiaqfbpuhp", + "audience": "dkjobanyqgzenivyxhvavottpc", + "aadAuthority": "bubwwbowfhdmujrt" + }, + "resourceAccessIdentity": { + "tenantId": "joclkkdovixwapephhxaqtefubhhmq", + "applicationId": "cwktzrwajuvfyyymfstpey", + "objectId": "khsiaqfbpuhp", + "audience": "dkjobanyqgzenivyxhvavottpc", + "aadAuthority": "bubwwbowfhdmujrt" + }, + "customProperties": { + "instanceType": "FabricAgentModelCustomProperties" + }, + "correlationId": "t", + "isResponsive": true, + "lastHeartbeat": "2023-08-25T00:28:52.127Z", + "versionNumber": "wnksfnisrhs", + "provisioningState": "Canceled", + "healthErrors": [ + { + "affectedResourceType": "scfniv", + "affectedResourceCorrelationIds": [ + "fope" + ], + "childErrors": [ + { + "code": "yuxxpblihirpedwkigywgwjjrlzq", + "healthCategory": "mhdgfjqwbikhxmhtomkl", + "category": "lcsdxrqxquke", + "severity": "wqxxiuaqjyagq", + "source": "wevvftugwydzzw", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "djsmgrltruljo", + "message": "sskcei", + "causes": "kefaugkpxjkpulimjthjnl", + "recommendation": "kqybwaesqumywtjepi" + } + ], + "code": "dgxkefzmeukd", + "healthCategory": "itc", + "category": "leigw", + "severity": "vvdajssdcypewdyechilxjmuijvdd", + "source": "iy", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "jtooblbvaxxrvcwgscbobq", + "message": "lbywtdprdqdekl", + "causes": "xznphqrrmsdzm", + "recommendation": "gmssteizlhjtclyeoo" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationFabrics/fabric1/fabricAgents/agent1", + "name": "ioxmwhzrzdilxivkvhpvzexl", + "type": "ptgmahzsyv", + "systemData": { + "createdBy": "ewufpudzcjrljhmmzhfnxoqdqwnya", + "createdByType": "zioqm", + "createdAt": "2023-08-25T00:28:53.022Z", + "lastModifiedBy": "rx", + "lastModifiedByType": "tqbvuqoakaaqij", + "lastModifiedAt": "2023-08-25T00:28:53.022Z" + } + } + }, + "201": { + "headers": { + "location": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "machineId": "envzcoijbqhtrpncbjbhk", + "machineName": "y", + "authenticationIdentity": { + "tenantId": "joclkkdovixwapephhxaqtefubhhmq", + "applicationId": "cwktzrwajuvfyyymfstpey", + "objectId": "khsiaqfbpuhp", + "audience": "dkjobanyqgzenivyxhvavottpc", + "aadAuthority": "bubwwbowfhdmujrt" + }, + "resourceAccessIdentity": { + "tenantId": "joclkkdovixwapephhxaqtefubhhmq", + "applicationId": "cwktzrwajuvfyyymfstpey", + "objectId": "khsiaqfbpuhp", + "audience": "dkjobanyqgzenivyxhvavottpc", + "aadAuthority": "bubwwbowfhdmujrt" + }, + "customProperties": { + "instanceType": "FabricAgentModelCustomProperties" + }, + "correlationId": "t", + "isResponsive": true, + "lastHeartbeat": "2023-08-25T00:28:52.127Z", + "versionNumber": "wnksfnisrhs", + "provisioningState": "Canceled", + "healthErrors": [ + { + "affectedResourceType": "scfniv", + "affectedResourceCorrelationIds": [ + "fope" + ], + "childErrors": [ + { + "code": "yuxxpblihirpedwkigywgwjjrlzq", + "healthCategory": "mhdgfjqwbikhxmhtomkl", + "category": "lcsdxrqxquke", + "severity": "wqxxiuaqjyagq", + "source": "wevvftugwydzzw", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "djsmgrltruljo", + "message": "sskcei", + "causes": "kefaugkpxjkpulimjthjnl", + "recommendation": "kqybwaesqumywtjepi" + } + ], + "code": "dgxkefzmeukd", + "healthCategory": "itc", + "category": "leigw", + "severity": "vvdajssdcypewdyechilxjmuijvdd", + "source": "iy", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "jtooblbvaxxrvcwgscbobq", + "message": "lbywtdprdqdekl", + "causes": "xznphqrrmsdzm", + "recommendation": "gmssteizlhjtclyeoo" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationFabrics/fabric1/fabricAgents/agent1", + "name": "ioxmwhzrzdilxivkvhpvzexl", + "type": "ptgmahzsyv", + "systemData": { + "createdBy": "ewufpudzcjrljhmmzhfnxoqdqwnya", + "createdByType": "zioqm", + "createdAt": "2023-08-25T00:28:53.022Z", + "lastModifiedBy": "rx", + "lastModifiedByType": "tqbvuqoakaaqij", + "lastModifiedAt": "2023-08-25T00:28:53.022Z" + } + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/FabricAgent_Delete.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/FabricAgent_Delete.json new file mode 100644 index 000000000000..706ceeffa8df --- /dev/null +++ b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/FabricAgent_Delete.json @@ -0,0 +1,19 @@ +{ + "title": "Deletes the Fabric Agent", + "operationId": "FabricAgent_Delete", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgswagger_2024-09-01", + "fabricName": "wPR", + "fabricAgentName": "M", + "api-version": "2024-09-01" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/FabricAgent_Get.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/FabricAgent_Get.json new file mode 100644 index 000000000000..4b9e231660a0 --- /dev/null +++ b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/FabricAgent_Get.json @@ -0,0 +1,88 @@ +{ + "title": "Gets the fabric agent.", + "operationId": "FabricAgent_Get", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgrecoveryservicesdatareplication", + "fabricName": "wPR", + "fabricAgentName": "M", + "api-version": "2024-09-01" + }, + "responses": { + "200": { + "body": { + "properties": { + "correlationId": "t", + "machineId": "envzcoijbqhtrpncbjbhk", + "machineName": "y", + "authenticationIdentity": { + "tenantId": "joclkkdovixwapephhxaqtefubhhmq", + "applicationId": "cwktzrwajuvfyyymfstpey", + "objectId": "khsiaqfbpuhp", + "audience": "dkjobanyqgzenivyxhvavottpc", + "aadAuthority": "bubwwbowfhdmujrt" + }, + "resourceAccessIdentity": { + "tenantId": "joclkkdovixwapephhxaqtefubhhmq", + "applicationId": "cwktzrwajuvfyyymfstpey", + "objectId": "khsiaqfbpuhp", + "audience": "dkjobanyqgzenivyxhvavottpc", + "aadAuthority": "bubwwbowfhdmujrt" + }, + "isResponsive": true, + "lastHeartbeat": "2023-08-25T00:28:52.127Z", + "versionNumber": "wnksfnisrhs", + "provisioningState": "Canceled", + "healthErrors": [ + { + "affectedResourceType": "scfniv", + "affectedResourceCorrelationIds": [ + "fope" + ], + "childErrors": [ + { + "code": "yuxxpblihirpedwkigywgwjjrlzq", + "healthCategory": "mhdgfjqwbikhxmhtomkl", + "category": "lcsdxrqxquke", + "severity": "wqxxiuaqjyagq", + "source": "wevvftugwydzzw", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "djsmgrltruljo", + "message": "sskcei", + "causes": "kefaugkpxjkpulimjthjnl", + "recommendation": "kqybwaesqumywtjepi" + } + ], + "code": "dgxkefzmeukd", + "healthCategory": "itc", + "category": "leigw", + "severity": "vvdajssdcypewdyechilxjmuijvdd", + "source": "iy", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "jtooblbvaxxrvcwgscbobq", + "message": "lbywtdprdqdekl", + "causes": "xznphqrrmsdzm", + "recommendation": "gmssteizlhjtclyeoo" + } + ], + "customProperties": { + "instanceType": "FabricAgentModelCustomProperties" + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationFabrics/fabric1/fabricAgents/agent1", + "name": "ioxmwhzrzdilxivkvhpvzexl", + "type": "ptgmahzsyv", + "systemData": { + "createdBy": "fazidmklka", + "createdByType": "obpndgkaeyklqzmpjh", + "createdAt": "2023-08-25T00:28:52.128Z", + "lastModifiedBy": "cfoopkrisaroztncgss", + "lastModifiedByType": "dysxbvohxhrpl", + "lastModifiedAt": "2023-08-25T00:28:52.128Z" + } + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/FabricAgent_List.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/FabricAgent_List.json new file mode 100644 index 000000000000..1934f8b98f8d --- /dev/null +++ b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/FabricAgent_List.json @@ -0,0 +1,88 @@ +{ + "title": "Lists the fabric agents", + "operationId": "FabricAgent_List", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgswagger_2024-09-01", + "fabricName": "wPR", + "continuationToken": "jw", + "api-version": "2024-09-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Canceled", + "healthErrors": [ + { + "affectedResourceType": "scfniv", + "affectedResourceCorrelationIds": [ + "fope" + ], + "childErrors": [ + { + "code": "yuxxpblihirpedwkigywgwjjrlzq", + "healthCategory": "mhdgfjqwbikhxmhtomkl", + "category": "lcsdxrqxquke", + "severity": "wqxxiuaqjyagq", + "source": "wevvftugwydzzw", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "djsmgrltruljo", + "message": "sskcei", + "causes": "kefaugkpxjkpulimjthjnl", + "recommendation": "kqybwaesqumywtjepi" + } + ], + "code": "dgxkefzmeukd", + "healthCategory": "itc", + "category": "leigw", + "severity": "vvdajssdcypewdyechilxjmuijvdd", + "source": "iy", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "jtooblbvaxxrvcwgscbobq", + "message": "lbywtdprdqdekl", + "causes": "xznphqrrmsdzm", + "recommendation": "gmssteizlhjtclyeoo" + } + ], + "machineId": "envzcoijbqhtrpncbjbhk", + "machineName": "y", + "authenticationIdentity": { + "tenantId": "joclkkdovixwapephhxaqtefubhhmq", + "applicationId": "cwktzrwajuvfyyymfstpey", + "objectId": "khsiaqfbpuhp", + "audience": "dkjobanyqgzenivyxhvavottpc", + "aadAuthority": "bubwwbowfhdmujrt" + }, + "resourceAccessIdentity": { + "tenantId": "joclkkdovixwapephhxaqtefubhhmq", + "applicationId": "cwktzrwajuvfyyymfstpey", + "objectId": "khsiaqfbpuhp", + "audience": "dkjobanyqgzenivyxhvavottpc", + "aadAuthority": "bubwwbowfhdmujrt" + }, + "customProperties": { + "instanceType": "FabricAgentModelCustomProperties" + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationFabrics/fabric1/fabricAgents/agent1", + "name": "rhojydcwjgvgexpdwswjib", + "type": "toipsryjyqchikyakeiuatshiu", + "systemData": { + "createdBy": "yhdmbqrsgimuucexvpas", + "createdByType": "brnojz", + "createdAt": "2023-08-25T00:28:53.716Z", + "lastModifiedBy": "balecqnwu", + "lastModifiedByType": "ukvqlncihf", + "lastModifiedAt": "2023-08-25T00:28:53.716Z" + } + } + ] + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/Fabric_Create.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/Fabric_Create.json new file mode 100644 index 000000000000..40a10387146e --- /dev/null +++ b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/Fabric_Create.json @@ -0,0 +1,144 @@ +{ + "title": "Puts the fabric.", + "operationId": "Fabric_Create", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgswagger_2024-09-01", + "fabricName": "wPR", + "api-version": "2024-09-01", + "location": "tqygutlpob", + "body": { + "location": "tqygutlpob", + "properties": { + "customProperties": { + "instanceType": "FabricModelCustomProperties" + } + } + } + }, + "responses": { + "200": { + "body": { + "location": "tqygutlpob", + "properties": { + "customProperties": { + "instanceType": "FabricModelCustomProperties" + }, + "provisioningState": "Canceled", + "serviceEndpoint": "ilrfl", + "serviceResourceId": "xukigpdrbyyy", + "health": "Normal", + "healthErrors": [ + { + "affectedResourceType": "scfniv", + "affectedResourceCorrelationIds": [ + "fope" + ], + "childErrors": [ + { + "code": "yuxxpblihirpedwkigywgwjjrlzq", + "healthCategory": "mhdgfjqwbikhxmhtomkl", + "category": "lcsdxrqxquke", + "severity": "wqxxiuaqjyagq", + "source": "wevvftugwydzzw", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "djsmgrltruljo", + "message": "sskcei", + "causes": "kefaugkpxjkpulimjthjnl", + "recommendation": "kqybwaesqumywtjepi" + } + ], + "code": "dgxkefzmeukd", + "healthCategory": "itc", + "category": "leigw", + "severity": "vvdajssdcypewdyechilxjmuijvdd", + "source": "iy", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "jtooblbvaxxrvcwgscbobq", + "message": "lbywtdprdqdekl", + "causes": "xznphqrrmsdzm", + "recommendation": "gmssteizlhjtclyeoo" + } + ] + }, + "tags": {}, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationFabrics/fabric1", + "name": "rhojydcwjgvgexpdwswjib", + "type": "toipsryjyqchikyakeiuatshiu", + "systemData": { + "createdBy": "ewufpudzcjrljhmmzhfnxoqdqwnya", + "createdByType": "zioqm", + "createdAt": "2023-08-25T00:28:53.022Z", + "lastModifiedBy": "rx", + "lastModifiedByType": "tqbvuqoakaaqij", + "lastModifiedAt": "2023-08-25T00:28:53.022Z" + } + } + }, + "201": { + "headers": { + "location": "https://contoso.com/operationstatus" + }, + "body": { + "location": "tqygutlpob", + "properties": { + "customProperties": { + "instanceType": "FabricModelCustomProperties" + }, + "provisioningState": "Canceled", + "serviceEndpoint": "ilrfl", + "serviceResourceId": "xukigpdrbyyy", + "health": "Normal", + "healthErrors": [ + { + "affectedResourceType": "scfniv", + "affectedResourceCorrelationIds": [ + "fope" + ], + "childErrors": [ + { + "code": "yuxxpblihirpedwkigywgwjjrlzq", + "healthCategory": "mhdgfjqwbikhxmhtomkl", + "category": "lcsdxrqxquke", + "severity": "wqxxiuaqjyagq", + "source": "wevvftugwydzzw", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "djsmgrltruljo", + "message": "sskcei", + "causes": "kefaugkpxjkpulimjthjnl", + "recommendation": "kqybwaesqumywtjepi" + } + ], + "code": "dgxkefzmeukd", + "healthCategory": "itc", + "category": "leigw", + "severity": "vvdajssdcypewdyechilxjmuijvdd", + "source": "iy", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "jtooblbvaxxrvcwgscbobq", + "message": "lbywtdprdqdekl", + "causes": "xznphqrrmsdzm", + "recommendation": "gmssteizlhjtclyeoo" + } + ] + }, + "tags": {}, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationFabrics/fabric1", + "name": "rhojydcwjgvgexpdwswjib", + "type": "toipsryjyqchikyakeiuatshiu", + "systemData": { + "createdBy": "ewufpudzcjrljhmmzhfnxoqdqwnya", + "createdByType": "zioqm", + "createdAt": "2023-08-25T00:28:53.022Z", + "lastModifiedBy": "rx", + "lastModifiedByType": "tqbvuqoakaaqij", + "lastModifiedAt": "2023-08-25T00:28:53.022Z" + } + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/Fabric_Delete.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/Fabric_Delete.json new file mode 100644 index 000000000000..48c767772d99 --- /dev/null +++ b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/Fabric_Delete.json @@ -0,0 +1,18 @@ +{ + "title": "Deletes the fabric.", + "operationId": "Fabric_Delete", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgrecoveryservicesdatareplication", + "fabricName": "wPR", + "api-version": "2024-09-01" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/Fabric_Get.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/Fabric_Get.json new file mode 100644 index 000000000000..adbf5ffd29e9 --- /dev/null +++ b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/Fabric_Get.json @@ -0,0 +1,74 @@ +{ + "title": "Gets the fabric.", + "operationId": "Fabric_Get", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgrecoveryservicesdatareplication", + "fabricName": "wPR", + "api-version": "2024-09-01" + }, + "responses": { + "200": { + "body": { + "location": "tqygutlpob", + "properties": { + "provisioningState": "Canceled", + "serviceEndpoint": "ilrfl", + "serviceResourceId": "xukigpdrbyyy", + "health": "Normal", + "healthErrors": [ + { + "affectedResourceType": "scfniv", + "affectedResourceCorrelationIds": [ + "fope" + ], + "childErrors": [ + { + "code": "yuxxpblihirpedwkigywgwjjrlzq", + "healthCategory": "mhdgfjqwbikhxmhtomkl", + "category": "lcsdxrqxquke", + "severity": "wqxxiuaqjyagq", + "source": "wevvftugwydzzw", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "djsmgrltruljo", + "message": "sskcei", + "causes": "kefaugkpxjkpulimjthjnl", + "recommendation": "kqybwaesqumywtjepi" + } + ], + "code": "dgxkefzmeukd", + "healthCategory": "itc", + "category": "leigw", + "severity": "vvdajssdcypewdyechilxjmuijvdd", + "source": "iy", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "jtooblbvaxxrvcwgscbobq", + "message": "lbywtdprdqdekl", + "causes": "xznphqrrmsdzm", + "recommendation": "gmssteizlhjtclyeoo" + } + ], + "customProperties": { + "instanceType": "FabricModelCustomProperties" + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationFabrics/fabric1", + "name": "rhojydcwjgvgexpdwswjib", + "type": "toipsryjyqchikyakeiuatshiu", + "systemData": { + "createdBy": "yhdmbqrsgimuucexvpas", + "createdByType": "brnojz", + "createdAt": "2023-08-25T00:28:53.716Z", + "lastModifiedBy": "balecqnwu", + "lastModifiedByType": "ukvqlncihf", + "lastModifiedAt": "2023-08-25T00:28:53.716Z" + }, + "tags": { + "key3917": "vgralu" + } + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/Fabric_List.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/Fabric_List.json new file mode 100644 index 000000000000..a7d8b0e37fdf --- /dev/null +++ b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/Fabric_List.json @@ -0,0 +1,76 @@ +{ + "title": "Lists the fabrics.", + "operationId": "Fabric_List", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgswagger_2024-09-01", + "continuationToken": "jw", + "api-version": "2024-09-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "location": "tqygutlpob", + "properties": { + "provisioningState": "Canceled", + "serviceEndpoint": "ilrfl", + "serviceResourceId": "xukigpdrbyyy", + "health": "Normal", + "healthErrors": [ + { + "affectedResourceType": "scfniv", + "affectedResourceCorrelationIds": [ + "fope" + ], + "childErrors": [ + { + "code": "yuxxpblihirpedwkigywgwjjrlzq", + "healthCategory": "mhdgfjqwbikhxmhtomkl", + "category": "lcsdxrqxquke", + "severity": "wqxxiuaqjyagq", + "source": "wevvftugwydzzw", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "djsmgrltruljo", + "message": "sskcei", + "causes": "kefaugkpxjkpulimjthjnl", + "recommendation": "kqybwaesqumywtjepi" + } + ], + "code": "dgxkefzmeukd", + "healthCategory": "itc", + "category": "leigw", + "severity": "vvdajssdcypewdyechilxjmuijvdd", + "source": "iy", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "jtooblbvaxxrvcwgscbobq", + "message": "lbywtdprdqdekl", + "causes": "xznphqrrmsdzm", + "recommendation": "gmssteizlhjtclyeoo" + } + ], + "customProperties": { + "instanceType": "FabricModelCustomProperties" + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationFabrics/fabric1", + "name": "rhojydcwjgvgexpdwswjib", + "type": "toipsryjyqchikyakeiuatshiu", + "systemData": { + "createdBy": "yhdmbqrsgimuucexvpas", + "createdByType": "brnojz", + "createdAt": "2023-08-25T00:28:53.716Z", + "lastModifiedBy": "balecqnwu", + "lastModifiedByType": "ukvqlncihf", + "lastModifiedAt": "2023-08-25T00:28:53.716Z" + }, + "tags": {} + } + ] + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/Fabric_ListBySubscription.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/Fabric_ListBySubscription.json new file mode 100644 index 000000000000..ba8d7bb6f04f --- /dev/null +++ b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/Fabric_ListBySubscription.json @@ -0,0 +1,75 @@ +{ + "title": "Lists the fabrics by subscription.", + "operationId": "Fabric_ListBySubscription", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "continuationToken": "gab", + "api-version": "2024-09-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "location": "tqygutlpob", + "properties": { + "provisioningState": "Canceled", + "serviceEndpoint": "ilrfl", + "serviceResourceId": "xukigpdrbyyy", + "health": "Normal", + "healthErrors": [ + { + "affectedResourceType": "scfniv", + "affectedResourceCorrelationIds": [ + "fope" + ], + "childErrors": [ + { + "code": "yuxxpblihirpedwkigywgwjjrlzq", + "healthCategory": "mhdgfjqwbikhxmhtomkl", + "category": "lcsdxrqxquke", + "severity": "wqxxiuaqjyagq", + "source": "wevvftugwydzzw", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "djsmgrltruljo", + "message": "sskcei", + "causes": "kefaugkpxjkpulimjthjnl", + "recommendation": "kqybwaesqumywtjepi" + } + ], + "code": "dgxkefzmeukd", + "healthCategory": "itc", + "category": "leigw", + "severity": "vvdajssdcypewdyechilxjmuijvdd", + "source": "iy", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "jtooblbvaxxrvcwgscbobq", + "message": "lbywtdprdqdekl", + "causes": "xznphqrrmsdzm", + "recommendation": "gmssteizlhjtclyeoo" + } + ], + "customProperties": { + "instanceType": "FabricModelCustomProperties" + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataReplication/replicationFabrics/fabric1", + "name": "rhojydcwjgvgexpdwswjib", + "type": "toipsryjyqchikyakeiuatshiu", + "systemData": { + "createdBy": "yhdmbqrsgimuucexvpas", + "createdByType": "brnojz", + "createdAt": "2023-08-25T00:28:53.716Z", + "lastModifiedBy": "balecqnwu", + "lastModifiedByType": "ukvqlncihf", + "lastModifiedAt": "2023-08-25T00:28:53.716Z" + }, + "tags": {} + } + ] + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/Fabric_Update.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/Fabric_Update.json new file mode 100644 index 000000000000..554b7473dafa --- /dev/null +++ b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/Fabric_Update.json @@ -0,0 +1,85 @@ +{ + "title": "Updates the fabric.", + "operationId": "Fabric_Update", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgswagger_2024-09-01", + "fabricName": "wPR", + "api-version": "2024-09-01", + "body": { + "properties": { + "customProperties": { + "instanceType": "FabricModelCustomProperties" + } + }, + "tags": {} + } + }, + "responses": { + "200": { + "body": { + "location": "tqygutlpob", + "properties": { + "customProperties": { + "instanceType": "FabricModelCustomProperties" + }, + "provisioningState": "Canceled", + "serviceEndpoint": "ilrfl", + "serviceResourceId": "xukigpdrbyyy", + "health": "Normal", + "healthErrors": [ + { + "affectedResourceType": "scfniv", + "affectedResourceCorrelationIds": [ + "fope" + ], + "childErrors": [ + { + "code": "yuxxpblihirpedwkigywgwjjrlzq", + "healthCategory": "mhdgfjqwbikhxmhtomkl", + "category": "lcsdxrqxquke", + "severity": "wqxxiuaqjyagq", + "source": "wevvftugwydzzw", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "djsmgrltruljo", + "message": "sskcei", + "causes": "kefaugkpxjkpulimjthjnl", + "recommendation": "kqybwaesqumywtjepi" + } + ], + "code": "dgxkefzmeukd", + "healthCategory": "itc", + "category": "leigw", + "severity": "vvdajssdcypewdyechilxjmuijvdd", + "source": "iy", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "jtooblbvaxxrvcwgscbobq", + "message": "lbywtdprdqdekl", + "causes": "xznphqrrmsdzm", + "recommendation": "gmssteizlhjtclyeoo" + } + ] + }, + "tags": {}, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationFabrics/fabric1", + "name": "rhojydcwjgvgexpdwswjib", + "type": "toipsryjyqchikyakeiuatshiu", + "systemData": { + "createdBy": "ewufpudzcjrljhmmzhfnxoqdqwnya", + "createdByType": "zioqm", + "createdAt": "2023-08-25T00:28:53.022Z", + "lastModifiedBy": "rx", + "lastModifiedByType": "tqbvuqoakaaqij", + "lastModifiedAt": "2023-08-25T00:28:53.022Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/Job_Get.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/Job_Get.json new file mode 100644 index 000000000000..4963a4c327dd --- /dev/null +++ b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/Job_Get.json @@ -0,0 +1,72 @@ +{ + "title": "Gets the job.", + "operationId": "Job_Get", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgrecoveryservicesdatareplication", + "vaultName": "4", + "jobName": "ZGH4y", + "api-version": "2024-09-01" + }, + "responses": { + "200": { + "body": { + "properties": { + "displayName": "dhopzytkd", + "state": "Pending", + "startTime": "2023-08-25T00:28:59.269Z", + "endTime": "2023-08-25T00:28:59.269Z", + "objectId": "wvtmwiyxqrpqvljzn", + "objectName": "ieieqaw", + "objectInternalId": "ahbtlwmbeivmlbj", + "objectInternalName": "mxikyrinkeyj", + "objectType": "AvsDiskPool", + "replicationProviderId": "ghxsbnvdkx", + "sourceFabricProviderId": "yqlertkmzdsgsplzgkmwcttsiagsa", + "targetFabricProviderId": "stjlmqzpgnrug", + "allowedActions": [ + "mfsyvxzgmcpgdzfbbhoxrzhya" + ], + "activityId": "esjvxsa", + "tasks": [ + { + "taskName": "flkzfbbpngqbbjsdqysqfon", + "state": "Pending", + "startTime": "2023-08-25T00:28:59.269Z", + "endTime": "2023-08-25T00:28:59.269Z", + "customProperties": { + "instanceType": "aaqgqvnhskxpsbnrdekxaghweon" + } + } + ], + "errors": [ + { + "code": "ndcxzieiuwoxoklilcvjmglml", + "type": "iyktxohrtrkshbjdhboscsu", + "severity": "ldgmfmbzmjtqjg", + "creationTime": "2023-08-25T00:28:59.269Z", + "message": "ltuufmxomfecqeyvzrfjqlelytkdwr", + "causes": "iffxig", + "recommendation": "brridkskflo" + } + ], + "customProperties": { + "instanceType": "JobModelCustomProperties", + "affectedObjectDetails": {} + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationVaults/vault1/jobs/job1", + "name": "ukii", + "type": "cswros", + "systemData": { + "createdBy": "jurgsdagntjg", + "createdByType": "zowfl", + "createdAt": "2023-08-25T00:28:59.270Z", + "lastModifiedBy": "vuw", + "lastModifiedByType": "h", + "lastModifiedAt": "2023-08-25T00:28:59.270Z" + } + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/Job_List.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/Job_List.json new file mode 100644 index 000000000000..d8c11849e00c --- /dev/null +++ b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/Job_List.json @@ -0,0 +1,76 @@ +{ + "title": "Lists the jobs.", + "operationId": "Job_List", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgrecoveryservicesdatareplication", + "vaultName": "4", + "continuationToken": "rdavrzbethhslmkqgajontnxsue", + "api-version": "2024-09-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "displayName": "dhopzytkd", + "state": "Pending", + "startTime": "2023-08-25T00:28:59.269Z", + "endTime": "2023-08-25T00:28:59.269Z", + "objectId": "wvtmwiyxqrpqvljzn", + "objectName": "ieieqaw", + "objectInternalId": "ahbtlwmbeivmlbj", + "objectInternalName": "mxikyrinkeyj", + "objectType": "AvsDiskPool", + "replicationProviderId": "ghxsbnvdkx", + "sourceFabricProviderId": "yqlertkmzdsgsplzgkmwcttsiagsa", + "targetFabricProviderId": "stjlmqzpgnrug", + "allowedActions": [ + "mfsyvxzgmcpgdzfbbhoxrzhya" + ], + "activityId": "esjvxsa", + "tasks": [ + { + "taskName": "flkzfbbpngqbbjsdqysqfon", + "state": "Pending", + "startTime": "2023-08-25T00:28:59.269Z", + "endTime": "2023-08-25T00:28:59.269Z", + "customProperties": { + "instanceType": "aaqgqvnhskxpsbnrdekxaghweon" + } + } + ], + "errors": [ + { + "code": "ndcxzieiuwoxoklilcvjmglml", + "type": "iyktxohrtrkshbjdhboscsu", + "severity": "ldgmfmbzmjtqjg", + "creationTime": "2023-08-25T00:28:59.269Z", + "message": "ltuufmxomfecqeyvzrfjqlelytkdwr", + "causes": "iffxig", + "recommendation": "brridkskflo" + } + ], + "customProperties": { + "instanceType": "JobModelCustomProperties", + "affectedObjectDetails": {} + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationVaults/vault1/jobs/job1", + "name": "ukii", + "type": "cswros", + "systemData": { + "createdBy": "jurgsdagntjg", + "createdByType": "zowfl", + "createdAt": "2023-08-25T00:28:59.270Z", + "lastModifiedBy": "vuw", + "lastModifiedByType": "h", + "lastModifiedAt": "2023-08-25T00:28:59.270Z" + } + } + ] + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/OperationResults_Get.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/OperationResults_Get.json new file mode 100644 index 000000000000..c22f140f65e1 --- /dev/null +++ b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/OperationResults_Get.json @@ -0,0 +1,21 @@ +{ + "title": "Gets the Operation Results", + "operationId": "OperationResults_Get", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgswagger_2024-09-01", + "operationId": "lghle", + "api-version": "2024-09-01" + }, + "responses": { + "200": { + "body": { + "id": "inhnjrxtqtyumflbzdne", + "name": "eawsgzqm", + "status": "jjijbsrjfqvqzriekxfvynb", + "startTime": "slmhzgrfzkkrxdalacmidyxijq", + "endTime": "ixkalnbiajfpjtur" + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/Operations_List.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/Operations_List.json new file mode 100644 index 000000000000..583c3a7c1568 --- /dev/null +++ b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/Operations_List.json @@ -0,0 +1,28 @@ +{ + "title": "Get a list of REST API operations supported by Microsoft.DataReplication.", + "operationId": "Operations_List", + "parameters": { + "api-version": "2024-09-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "chktcqashuxscvbp", + "isDataAction": true, + "display": { + "provider": "yembewkfmaq", + "resource": "epyscqvmqhxbwgyqhzeaumpor", + "operation": "dfal", + "description": "bjdvnagzxjandxcbcrf" + }, + "origin": "user", + "actionType": "Internal" + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/Policy_Create.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/Policy_Create.json new file mode 100644 index 000000000000..2c0901c65b6c --- /dev/null +++ b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/Policy_Create.json @@ -0,0 +1,65 @@ +{ + "title": "Puts the policy.", + "operationId": "Policy_Create", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgrecoveryservicesdatareplication", + "vaultName": "4", + "policyName": "fafqwc", + "api-version": "2024-09-01", + "body": { + "properties": { + "customProperties": { + "instanceType": "PolicyModelCustomProperties" + } + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Canceled", + "customProperties": { + "instanceType": "PolicyModelCustomProperties" + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationVaults/vault1/replicationPolicies/policy1", + "name": "ocmty", + "type": "pvltqld", + "systemData": { + "createdBy": "yiaelkrpuzsfumovsxeb", + "createdByType": "qwzrkjsfloruegijrfnfpn", + "createdAt": "2023-08-25T00:28:54.713Z", + "lastModifiedBy": "xy", + "lastModifiedByType": "rnc", + "lastModifiedAt": "2023-08-25T00:28:54.713Z" + } + } + }, + "201": { + "headers": { + "location": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Canceled", + "customProperties": { + "instanceType": "PolicyModelCustomProperties" + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationVaults/vault1/replicationPolicies/policy1", + "name": "ocmty", + "type": "pvltqld", + "systemData": { + "createdBy": "yiaelkrpuzsfumovsxeb", + "createdByType": "qwzrkjsfloruegijrfnfpn", + "createdAt": "2023-08-25T00:28:54.713Z", + "lastModifiedBy": "xy", + "lastModifiedByType": "rnc", + "lastModifiedAt": "2023-08-25T00:28:54.713Z" + } + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/Policy_Delete.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/Policy_Delete.json new file mode 100644 index 000000000000..48043bea3da9 --- /dev/null +++ b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/Policy_Delete.json @@ -0,0 +1,19 @@ +{ + "title": "Deletes the policy.", + "operationId": "Policy_Delete", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgrecoveryservicesdatareplication", + "vaultName": "4", + "policyName": "wqfscsdv", + "api-version": "2024-09-01" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/Policy_Get.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/Policy_Get.json new file mode 100644 index 000000000000..a85e5c86d241 --- /dev/null +++ b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/Policy_Get.json @@ -0,0 +1,34 @@ +{ + "title": "Gets the policy.", + "operationId": "Policy_Get", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgrecoveryservicesdatareplication", + "vaultName": "4", + "policyName": "wdqsacasc", + "api-version": "2024-09-01" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Canceled", + "customProperties": { + "instanceType": "PolicyModelCustomProperties" + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationVaults/vault1/replicationPolicies/policy1", + "name": "ocmty", + "type": "pvltqld", + "systemData": { + "createdBy": "yiaelkrpuzsfumovsxeb", + "createdByType": "qwzrkjsfloruegijrfnfpn", + "createdAt": "2023-08-25T00:28:54.713Z", + "lastModifiedBy": "xy", + "lastModifiedByType": "rnc", + "lastModifiedAt": "2023-08-25T00:28:54.713Z" + } + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/Policy_List.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/Policy_List.json new file mode 100644 index 000000000000..cc1df46227bb --- /dev/null +++ b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/Policy_List.json @@ -0,0 +1,37 @@ +{ + "title": "Lists the policies.", + "operationId": "Policy_List", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgrecoveryservicesdatareplication", + "vaultName": "4", + "api-version": "2024-09-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Canceled", + "customProperties": { + "instanceType": "PolicyModelCustomProperties" + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationVaults/vault1/replicationPolicies/policy1", + "name": "ocmty", + "type": "pvltqld", + "systemData": { + "createdBy": "yiaelkrpuzsfumovsxeb", + "createdByType": "qwzrkjsfloruegijrfnfpn", + "createdAt": "2023-08-25T00:28:54.713Z", + "lastModifiedBy": "xy", + "lastModifiedByType": "rnc", + "lastModifiedAt": "2023-08-25T00:28:54.713Z" + } + } + ] + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/PrivateEndpointConnectionProxy_Create.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/PrivateEndpointConnectionProxy_Create.json new file mode 100644 index 000000000000..db269e545940 --- /dev/null +++ b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/PrivateEndpointConnectionProxy_Create.json @@ -0,0 +1,203 @@ +{ + "title": "Creates the Private Endpoint Connection Proxy.", + "operationId": "PrivateEndpointConnectionProxies_Create", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgswagger_2024-09-01", + "vaultName": "4", + "privateEndpointConnectionProxyName": "d", + "api-version": "2024-09-01", + "body": { + "etag": "hruibxrezstxroxrxweh", + "properties": { + "remotePrivateEndpoint": { + "id": "yipalno", + "privateLinkServiceConnections": [ + { + "name": "jqwntlzfsksl", + "groupIds": [ + "hvejynjktikteipnioyeja" + ], + "requestMessage": "bukgzpkvcvfbmcdmpcbiigbvugicqa" + } + ], + "manualPrivateLinkServiceConnections": [ + { + "name": "jqwntlzfsksl", + "groupIds": [ + "hvejynjktikteipnioyeja" + ], + "requestMessage": "bukgzpkvcvfbmcdmpcbiigbvugicqa" + } + ], + "privateLinkServiceProxies": [ + { + "id": "nzqxevuyqeedrqnkbnlcyrrrbzxvl", + "remotePrivateLinkServiceConnectionState": { + "status": "Approved", + "description": "y", + "actionsRequired": "afwbq" + }, + "remotePrivateEndpointConnection": { + "id": "ocunsgawjsqohkrcyxiv" + }, + "groupConnectivityInformation": [ + { + "groupId": "per", + "memberName": "ybptuypgdqoxkuwqx", + "customerVisibleFqdns": [ + "vedcg" + ], + "internalFqdn": "maqavwhxwzzhbzjbryyquvitmup", + "redirectMapId": "pezncxcq", + "privateLinkServiceArmRegion": "rerkqqxinteevmlbrdkktaqhcch" + } + ] + } + ], + "connectionDetails": [ + { + "id": "lenqkogzkes", + "privateIpAddress": "cyiacdzzyqmxjpijjbwgasegehtqe", + "linkIdentifier": "ravfufhkdowufd", + "groupId": "pjrlygpadir", + "memberName": "ybuysjrlfupewxe" + } + ] + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationVaults/vault1/privateEndpointConnectionProxies/proxy1", + "name": "wrbeymbilwm", + "type": "xpfgxxykisvjcifsnlvtgjakwifak", + "etag": "hruibxrezstxroxrxweh", + "properties": { + "remotePrivateEndpoint": { + "id": "yipalno", + "privateLinkServiceConnections": [ + { + "name": "jqwntlzfsksl", + "groupIds": [ + "hvejynjktikteipnioyeja" + ], + "requestMessage": "bukgzpkvcvfbmcdmpcbiigbvugicqa" + } + ], + "manualPrivateLinkServiceConnections": [ + { + "name": "jqwntlzfsksl", + "groupIds": [ + "hvejynjktikteipnioyeja" + ], + "requestMessage": "bukgzpkvcvfbmcdmpcbiigbvugicqa" + } + ], + "privateLinkServiceProxies": [ + { + "id": "nzqxevuyqeedrqnkbnlcyrrrbzxvl", + "remotePrivateLinkServiceConnectionState": { + "status": "Approved", + "description": "y", + "actionsRequired": "afwbq" + }, + "remotePrivateEndpointConnection": { + "id": "ocunsgawjsqohkrcyxiv" + }, + "groupConnectivityInformation": [ + { + "groupId": "per", + "memberName": "ybptuypgdqoxkuwqx", + "customerVisibleFqdns": [ + "vedcg" + ], + "internalFqdn": "maqavwhxwzzhbzjbryyquvitmup", + "redirectMapId": "pezncxcq", + "privateLinkServiceArmRegion": "rerkqqxinteevmlbrdkktaqhcch" + } + ] + } + ], + "connectionDetails": [ + { + "id": "lenqkogzkes", + "privateIpAddress": "cyiacdzzyqmxjpijjbwgasegehtqe", + "linkIdentifier": "ravfufhkdowufd", + "groupId": "pjrlygpadir", + "memberName": "ybuysjrlfupewxe" + } + ] + } + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationVaults/vault1/privateEndpointConnectionProxies/proxy1", + "name": "wrbeymbilwm", + "type": "xpfgxxykisvjcifsnlvtgjakwifak", + "etag": "hruibxrezstxroxrxweh", + "properties": { + "remotePrivateEndpoint": { + "id": "yipalno", + "privateLinkServiceConnections": [ + { + "name": "jqwntlzfsksl", + "groupIds": [ + "hvejynjktikteipnioyeja" + ], + "requestMessage": "bukgzpkvcvfbmcdmpcbiigbvugicqa" + } + ], + "manualPrivateLinkServiceConnections": [ + { + "name": "jqwntlzfsksl", + "groupIds": [ + "hvejynjktikteipnioyeja" + ], + "requestMessage": "bukgzpkvcvfbmcdmpcbiigbvugicqa" + } + ], + "privateLinkServiceProxies": [ + { + "id": "nzqxevuyqeedrqnkbnlcyrrrbzxvl", + "remotePrivateLinkServiceConnectionState": { + "status": "Approved", + "description": "y", + "actionsRequired": "afwbq" + }, + "remotePrivateEndpointConnection": { + "id": "ocunsgawjsqohkrcyxiv" + }, + "groupConnectivityInformation": [ + { + "groupId": "per", + "memberName": "ybptuypgdqoxkuwqx", + "customerVisibleFqdns": [ + "vedcg" + ], + "internalFqdn": "maqavwhxwzzhbzjbryyquvitmup", + "redirectMapId": "pezncxcq", + "privateLinkServiceArmRegion": "rerkqqxinteevmlbrdkktaqhcch" + } + ] + } + ], + "connectionDetails": [ + { + "id": "lenqkogzkes", + "privateIpAddress": "cyiacdzzyqmxjpijjbwgasegehtqe", + "linkIdentifier": "ravfufhkdowufd", + "groupId": "pjrlygpadir", + "memberName": "ybuysjrlfupewxe" + } + ] + } + } + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/PrivateEndpointConnectionProxy_Delete.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/PrivateEndpointConnectionProxy_Delete.json new file mode 100644 index 000000000000..94b52afff1fb --- /dev/null +++ b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/PrivateEndpointConnectionProxy_Delete.json @@ -0,0 +1,19 @@ +{ + "title": "Deletes the Private Endpoint Proxy Connection", + "operationId": "PrivateEndpointConnectionProxies_Delete", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgswagger_2024-09-01", + "vaultName": "4", + "privateEndpointConnectionProxyName": "d", + "api-version": "2024-09-01" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/PrivateEndpointConnectionProxy_Get.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/PrivateEndpointConnectionProxy_Get.json new file mode 100644 index 000000000000..00013730aedd --- /dev/null +++ b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/PrivateEndpointConnectionProxy_Get.json @@ -0,0 +1,78 @@ +{ + "title": "Get Private Endpoint Connection Proxy", + "operationId": "PrivateEndpointConnectionProxies_Get", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgswagger_2024-09-01", + "vaultName": "4", + "privateEndpointConnectionProxyName": "d", + "api-version": "2024-09-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationVaults/vault1/privateEndpointConnectionProxies/proxy1", + "name": "wrbeymbilwm", + "type": "xpfgxxykisvjcifsnlvtgjakwifak", + "etag": "hruibxrezstxroxrxweh", + "properties": { + "remotePrivateEndpoint": { + "id": "yipalno", + "privateLinkServiceConnections": [ + { + "name": "jqwntlzfsksl", + "groupIds": [ + "hvejynjktikteipnioyeja" + ], + "requestMessage": "bukgzpkvcvfbmcdmpcbiigbvugicqa" + } + ], + "manualPrivateLinkServiceConnections": [ + { + "name": "jqwntlzfsksl", + "groupIds": [ + "hvejynjktikteipnioyeja" + ], + "requestMessage": "bukgzpkvcvfbmcdmpcbiigbvugicqa" + } + ], + "privateLinkServiceProxies": [ + { + "id": "nzqxevuyqeedrqnkbnlcyrrrbzxvl", + "remotePrivateLinkServiceConnectionState": { + "status": "Approved", + "description": "y", + "actionsRequired": "afwbq" + }, + "remotePrivateEndpointConnection": { + "id": "ocunsgawjsqohkrcyxiv" + }, + "groupConnectivityInformation": [ + { + "groupId": "per", + "memberName": "ybptuypgdqoxkuwqx", + "customerVisibleFqdns": [ + "vedcg" + ], + "internalFqdn": "maqavwhxwzzhbzjbryyquvitmup", + "redirectMapId": "pezncxcq", + "privateLinkServiceArmRegion": "rerkqqxinteevmlbrdkktaqhcch" + } + ] + } + ], + "connectionDetails": [ + { + "id": "lenqkogzkes", + "privateIpAddress": "cyiacdzzyqmxjpijjbwgasegehtqe", + "linkIdentifier": "ravfufhkdowufd", + "groupId": "pjrlygpadir", + "memberName": "ybuysjrlfupewxe" + } + ] + } + } + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/PrivateEndpointConnectionProxy_List.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/PrivateEndpointConnectionProxy_List.json new file mode 100644 index 000000000000..06955fb5d54e --- /dev/null +++ b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/PrivateEndpointConnectionProxy_List.json @@ -0,0 +1,81 @@ +{ + "title": "Lists the Private Endpoint Connection Proxy", + "operationId": "PrivateEndpointConnectionProxies_List", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgswagger_2024-09-01", + "vaultName": "4", + "api-version": "2024-09-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationVaults/vault1/privateEndpointConnectionProxies/proxy1", + "name": "wrbeymbilwm", + "type": "xpfgxxykisvjcifsnlvtgjakwifak", + "etag": "hruibxrezstxroxrxweh", + "properties": { + "remotePrivateEndpoint": { + "id": "yipalno", + "privateLinkServiceConnections": [ + { + "name": "jqwntlzfsksl", + "groupIds": [ + "hvejynjktikteipnioyeja" + ], + "requestMessage": "bukgzpkvcvfbmcdmpcbiigbvugicqa" + } + ], + "manualPrivateLinkServiceConnections": [ + { + "name": "jqwntlzfsksl", + "groupIds": [ + "hvejynjktikteipnioyeja" + ], + "requestMessage": "bukgzpkvcvfbmcdmpcbiigbvugicqa" + } + ], + "privateLinkServiceProxies": [ + { + "id": "nzqxevuyqeedrqnkbnlcyrrrbzxvl", + "remotePrivateLinkServiceConnectionState": { + "status": "Approved", + "description": "y", + "actionsRequired": "afwbq" + }, + "remotePrivateEndpointConnection": { + "id": "ocunsgawjsqohkrcyxiv" + }, + "groupConnectivityInformation": [ + { + "groupId": "per", + "memberName": "ybptuypgdqoxkuwqx", + "customerVisibleFqdns": [ + "vedcg" + ], + "internalFqdn": "maqavwhxwzzhbzjbryyquvitmup", + "redirectMapId": "pezncxcq", + "privateLinkServiceArmRegion": "rerkqqxinteevmlbrdkktaqhcch" + } + ] + } + ], + "connectionDetails": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationVaults/vault1/privateEndpointConnections/connection1", + "privateIpAddress": "cyiacdzzyqmxjpijjbwgasegehtqe", + "linkIdentifier": "ravfufhkdowufd", + "groupId": "pjrlygpadir", + "memberName": "ybuysjrlfupewxe" + } + ] + } + } + } + ] + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/PrivateEndpointConnectionProxy_Validate.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/PrivateEndpointConnectionProxy_Validate.json new file mode 100644 index 000000000000..cd181990d443 --- /dev/null +++ b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/PrivateEndpointConnectionProxy_Validate.json @@ -0,0 +1,138 @@ +{ + "title": "Validates the Private Endpoint Connection Proxy", + "operationId": "PrivateEndpointConnectionProxies_Validate", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgswagger_2024-09-01", + "vaultName": "4", + "privateEndpointConnectionProxyName": "d", + "api-version": "2024-09-01", + "body": { + "etag": "hruibxrezstxroxrxweh", + "properties": { + "remotePrivateEndpoint": { + "id": "yipalno", + "privateLinkServiceConnections": [ + { + "name": "jqwntlzfsksl", + "groupIds": [ + "hvejynjktikteipnioyeja" + ], + "requestMessage": "bukgzpkvcvfbmcdmpcbiigbvugicqa" + } + ], + "manualPrivateLinkServiceConnections": [ + { + "name": "jqwntlzfsksl", + "groupIds": [ + "hvejynjktikteipnioyeja" + ], + "requestMessage": "bukgzpkvcvfbmcdmpcbiigbvugicqa" + } + ], + "privateLinkServiceProxies": [ + { + "id": "nzqxevuyqeedrqnkbnlcyrrrbzxvl", + "remotePrivateLinkServiceConnectionState": { + "status": "Approved", + "description": "y", + "actionsRequired": "afwbq" + }, + "remotePrivateEndpointConnection": { + "id": "ocunsgawjsqohkrcyxiv" + }, + "groupConnectivityInformation": [ + { + "groupId": "per", + "memberName": "ybptuypgdqoxkuwqx", + "customerVisibleFqdns": [ + "vedcg" + ], + "internalFqdn": "maqavwhxwzzhbzjbryyquvitmup", + "redirectMapId": "pezncxcq", + "privateLinkServiceArmRegion": "rerkqqxinteevmlbrdkktaqhcch" + } + ] + } + ], + "connectionDetails": [ + { + "id": "lenqkogzkes", + "privateIpAddress": "cyiacdzzyqmxjpijjbwgasegehtqe", + "linkIdentifier": "ravfufhkdowufd", + "groupId": "pjrlygpadir", + "memberName": "ybuysjrlfupewxe" + } + ] + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationVaults/vault1/privateEndpointConnectionProxies/proxy1", + "name": "wrbeymbilwm", + "type": "xpfgxxykisvjcifsnlvtgjakwifak", + "etag": "hruibxrezstxroxrxweh", + "properties": { + "remotePrivateEndpoint": { + "id": "yipalno", + "privateLinkServiceConnections": [ + { + "name": "jqwntlzfsksl", + "groupIds": [ + "hvejynjktikteipnioyeja" + ], + "requestMessage": "bukgzpkvcvfbmcdmpcbiigbvugicqa" + } + ], + "manualPrivateLinkServiceConnections": [ + { + "name": "jqwntlzfsksl", + "groupIds": [ + "hvejynjktikteipnioyeja" + ], + "requestMessage": "bukgzpkvcvfbmcdmpcbiigbvugicqa" + } + ], + "privateLinkServiceProxies": [ + { + "id": "nzqxevuyqeedrqnkbnlcyrrrbzxvl", + "remotePrivateLinkServiceConnectionState": { + "status": "Approved", + "description": "y", + "actionsRequired": "afwbq" + }, + "remotePrivateEndpointConnection": { + "id": "ocunsgawjsqohkrcyxiv" + }, + "groupConnectivityInformation": [ + { + "groupId": "per", + "memberName": "ybptuypgdqoxkuwqx", + "customerVisibleFqdns": [ + "vedcg" + ], + "internalFqdn": "maqavwhxwzzhbzjbryyquvitmup", + "redirectMapId": "pezncxcq", + "privateLinkServiceArmRegion": "rerkqqxinteevmlbrdkktaqhcch" + } + ] + } + ], + "connectionDetails": [ + { + "id": "lenqkogzkes", + "privateIpAddress": "cyiacdzzyqmxjpijjbwgasegehtqe", + "linkIdentifier": "ravfufhkdowufd", + "groupId": "pjrlygpadir", + "memberName": "ybuysjrlfupewxe" + } + ] + } + } + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/PrivateEndpointConnection_Delete.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/PrivateEndpointConnection_Delete.json new file mode 100644 index 000000000000..5935fd7ef8a2 --- /dev/null +++ b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/PrivateEndpointConnection_Delete.json @@ -0,0 +1,19 @@ +{ + "title": "Deletes the Private Endpoint Connection", + "operationId": "PrivateEndpointConnections_Delete", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgswagger_2024-09-01", + "vaultName": "4", + "privateEndpointConnectionName": "sdwqtfhigjirrzhpbmqtzgs", + "api-version": "2024-09-01" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/PrivateEndpointConnection_Get.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/PrivateEndpointConnection_Get.json new file mode 100644 index 000000000000..fc52e7f36d56 --- /dev/null +++ b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/PrivateEndpointConnection_Get.json @@ -0,0 +1,31 @@ +{ + "title": "Gets the Private Endpoint Connection", + "operationId": "PrivateEndpointConnections_Get", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgswagger_2024-09-01", + "vaultName": "4", + "privateEndpointConnectionName": "vbkm", + "api-version": "2024-09-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationVaults/vault1/privateEndpointConnections/connection1", + "name": "kadsmyhrosefybpbwvwxs", + "type": "ztysngp", + "properties": { + "provisioningState": "Canceled", + "privateEndpoint": { + "id": "cwcdqoynostmqwdwy" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "y", + "actionsRequired": "afwbq" + } + } + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/PrivateEndpointConnection_List.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/PrivateEndpointConnection_List.json new file mode 100644 index 000000000000..4fee3f3cb939 --- /dev/null +++ b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/PrivateEndpointConnection_List.json @@ -0,0 +1,34 @@ +{ + "title": "Lists the Private Endpoint Connections.", + "operationId": "PrivateEndpointConnections_List", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgswagger_2024-09-01", + "vaultName": "4", + "api-version": "2024-09-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationVaults/vault1/privateEndpointConnections/connection1", + "name": "kadsmyhrosefybpbwvwxs", + "type": "ztysngp", + "properties": { + "provisioningState": "Canceled", + "privateEndpoint": { + "id": "cwcdqoynostmqwdwy" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "y", + "actionsRequired": "afwbq" + } + } + } + ] + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/PrivateEndpointConnection_Update.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/PrivateEndpointConnection_Update.json new file mode 100644 index 000000000000..0791b9658fbf --- /dev/null +++ b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/PrivateEndpointConnection_Update.json @@ -0,0 +1,61 @@ +{ + "title": "Updates the Private Endpoint Connection.", + "operationId": "PrivateEndpointConnections_Update", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgswagger_2024-09-01", + "vaultName": "4", + "privateEndpointConnectionName": "jitf", + "api-version": "2024-09-01", + "body": { + "properties": { + "privateEndpoint": { + "id": "cwcdqoynostmqwdwy" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "y", + "actionsRequired": "afwbq" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationVaults/vault1/privateEndpointConnections/connection1", + "name": "kadsmyhrosefybpbwvwxs", + "type": "ztysngp", + "properties": { + "provisioningState": "Canceled", + "privateEndpoint": { + "id": "cwcdqoynostmqwdwy" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "y", + "actionsRequired": "afwbq" + } + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationVaults/vault1/privateEndpointConnections/connection1", + "name": "kadsmyhrosefybpbwvwxs", + "type": "ztysngp", + "properties": { + "provisioningState": "Canceled", + "privateEndpoint": { + "id": "cwcdqoynostmqwdwy" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "y", + "actionsRequired": "afwbq" + } + } + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/PrivateLinkResource_Get.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/PrivateLinkResource_Get.json new file mode 100644 index 000000000000..5f9b4d52d7ff --- /dev/null +++ b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/PrivateLinkResource_Get.json @@ -0,0 +1,29 @@ +{ + "title": "Get Private Link Resource", + "operationId": "PrivateLinkResources_Get", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgswagger_2024-09-01", + "vaultName": "4", + "privateLinkResourceName": "d", + "api-version": "2024-09-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationVaults/vault1/privateLinkResources/link1", + "name": "u", + "type": "ydabrhxuyafq", + "properties": { + "groupId": "dzkqscbkzs", + "requiredMembers": [ + "irjjsneakjewcsigcocfdjvfad" + ], + "requiredZoneNames": [ + "yp" + ] + } + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/PrivateLinkResource_List.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/PrivateLinkResource_List.json new file mode 100644 index 000000000000..9f77e2549463 --- /dev/null +++ b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/PrivateLinkResource_List.json @@ -0,0 +1,32 @@ +{ + "title": "PrivateLinkResource_List - generated by [MaximumSet] rule", + "operationId": "PrivateLinkResources_List", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgswagger_2024-09-01", + "vaultName": "4", + "api-version": "2024-09-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationVaults/vault1/privateLinkResources/link1", + "name": "u", + "type": "ydabrhxuyafq", + "properties": { + "groupId": "dzkqscbkzs", + "requiredMembers": [ + "irjjsneakjewcsigcocfdjvfad" + ], + "requiredZoneNames": [ + "yp" + ] + } + } + ] + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/ProtectedItem_Create.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/ProtectedItem_Create.json new file mode 100644 index 000000000000..6d8a43d69322 --- /dev/null +++ b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/ProtectedItem_Create.json @@ -0,0 +1,255 @@ +{ + "title": "Puts the protected item.", + "operationId": "ProtectedItem_Create", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgrecoveryservicesdatareplication", + "vaultName": "4", + "protectedItemName": "d", + "api-version": "2024-09-01", + "body": { + "properties": { + "policyName": "tjoeiynplt", + "replicationExtensionName": "jwxdo", + "customProperties": { + "instanceType": "ProtectedItemModelCustomProperties" + } + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "policyName": "tjoeiynplt", + "replicationExtensionName": "jwxdo", + "correlationId": "mvxvtcqwgp", + "provisioningState": "Canceled", + "protectionState": "UnprotectedStatesBegin", + "protectionStateDescription": "lp", + "testFailoverState": "None", + "testFailoverStateDescription": "msjz", + "resynchronizationState": "None", + "fabricObjectId": "kjcizdpahzqsrwyiywbhyzdxsufj", + "fabricObjectName": "glrjwtvmejxuagjepcwaxhih", + "sourceFabricProviderId": "srggkxaruzlegtpdalscio", + "targetFabricProviderId": "sutiqezfbeiewwjezflvcitqj", + "fabricId": "ebsxoblmhlhqjzzjzdwo", + "targetFabricId": "fb", + "fabricAgentId": "vxrmsufvxothxauhvqdowascmy", + "targetFabricAgentId": "oscnhreunbyibimlpvsesu", + "resyncRequired": true, + "lastSuccessfulPlannedFailoverTime": "2023-08-25T00:28:55.456Z", + "lastSuccessfulUnplannedFailoverTime": "2023-08-25T00:28:55.456Z", + "lastSuccessfulTestFailoverTime": "2023-08-25T00:28:55.456Z", + "currentJob": { + "scenarioName": "ljbnhbdmreowdqnlcqycvaramwuii", + "id": "bnmbzxzyfgwh", + "name": "kqtvbrfmqaxdgpttkbmzpwafjp", + "displayName": "awutlqrisstqb", + "state": "ztlpngveoqcdejpwaiudhrioskauqv", + "startTime": "2023-08-25T00:28:55.456Z", + "endTime": "2023-08-25T00:28:55.456Z" + }, + "allowedJobs": [ + "guryeoocjbvqvalfkrxecpxwynpxs" + ], + "lastFailedEnableProtectionJob": { + "scenarioName": "fhz", + "id": "hjzgyxgdy", + "name": "hvvolptulpcxwbnjdzky", + "displayName": "zrqjbcozwiuypjjnvy", + "state": "ljsixxmmcaq", + "startTime": "2023-08-25T00:28:55.456Z", + "endTime": "2023-08-25T00:28:55.456Z" + }, + "lastFailedPlannedFailoverJob": { + "scenarioName": "ceksuyfiplxj", + "id": "ndjurplurnkguwfxx", + "name": "ofblltxwhwzhyr", + "displayName": "whxsvbrzdhqsepbocfzsfx", + "state": "wpur", + "startTime": "2023-08-25T00:28:55.456Z", + "endTime": "2023-08-25T00:28:55.456Z" + }, + "lastTestFailoverJob": { + "scenarioName": "dfuovvz", + "id": "cta", + "name": "cedjijdtnznsnigghrxnsaz", + "displayName": "lhkjfbonwdtxckwzfebfwdyu", + "state": "nhbzw", + "startTime": "2023-08-25T00:28:55.456Z", + "endTime": "2023-08-25T00:28:55.456Z" + }, + "replicationHealth": "Normal", + "healthErrors": [ + { + "affectedResourceType": "scfniv", + "affectedResourceCorrelationIds": [ + "fope" + ], + "childErrors": [ + { + "code": "yuxxpblihirpedwkigywgwjjrlzq", + "healthCategory": "mhdgfjqwbikhxmhtomkl", + "category": "lcsdxrqxquke", + "severity": "wqxxiuaqjyagq", + "source": "wevvftugwydzzw", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "djsmgrltruljo", + "message": "sskcei", + "causes": "kefaugkpxjkpulimjthjnl", + "recommendation": "kqybwaesqumywtjepi" + } + ], + "code": "dgxkefzmeukd", + "healthCategory": "itc", + "category": "leigw", + "severity": "vvdajssdcypewdyechilxjmuijvdd", + "source": "iy", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "jtooblbvaxxrvcwgscbobq", + "message": "lbywtdprdqdekl", + "causes": "xznphqrrmsdzm", + "recommendation": "gmssteizlhjtclyeoo" + } + ], + "customProperties": { + "instanceType": "ProtectedItemModelCustomProperties" + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationVaults/vault1/protectedItems/item1", + "name": "t", + "type": "xlyjashandpfwivuipoplgkgsnwoh", + "systemData": { + "createdBy": "ghut", + "createdByType": "tzczp", + "createdAt": "2023-08-25T00:28:55.456Z", + "lastModifiedBy": "epo", + "lastModifiedByType": "ekzmwexhjttb", + "lastModifiedAt": "2023-08-25T00:28:55.456Z" + } + } + }, + "201": { + "headers": { + "location": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "policyName": "tjoeiynplt", + "replicationExtensionName": "jwxdo", + "correlationId": "mvxvtcqwgp", + "provisioningState": "Canceled", + "protectionState": "UnprotectedStatesBegin", + "protectionStateDescription": "lp", + "testFailoverState": "None", + "testFailoverStateDescription": "msjz", + "resynchronizationState": "None", + "fabricObjectId": "kjcizdpahzqsrwyiywbhyzdxsufj", + "fabricObjectName": "glrjwtvmejxuagjepcwaxhih", + "sourceFabricProviderId": "srggkxaruzlegtpdalscio", + "targetFabricProviderId": "sutiqezfbeiewwjezflvcitqj", + "fabricId": "ebsxoblmhlhqjzzjzdwo", + "targetFabricId": "fb", + "fabricAgentId": "vxrmsufvxothxauhvqdowascmy", + "targetFabricAgentId": "oscnhreunbyibimlpvsesu", + "resyncRequired": true, + "lastSuccessfulPlannedFailoverTime": "2023-08-25T00:28:55.456Z", + "lastSuccessfulUnplannedFailoverTime": "2023-08-25T00:28:55.456Z", + "lastSuccessfulTestFailoverTime": "2023-08-25T00:28:55.456Z", + "currentJob": { + "scenarioName": "ljbnhbdmreowdqnlcqycvaramwuii", + "id": "bnmbzxzyfgwh", + "name": "kqtvbrfmqaxdgpttkbmzpwafjp", + "displayName": "awutlqrisstqb", + "state": "ztlpngveoqcdejpwaiudhrioskauqv", + "startTime": "2023-08-25T00:28:55.456Z", + "endTime": "2023-08-25T00:28:55.456Z" + }, + "allowedJobs": [ + "guryeoocjbvqvalfkrxecpxwynpxs" + ], + "lastFailedEnableProtectionJob": { + "scenarioName": "fhz", + "id": "hjzgyxgdy", + "name": "hvvolptulpcxwbnjdzky", + "displayName": "zrqjbcozwiuypjjnvy", + "state": "ljsixxmmcaq", + "startTime": "2023-08-25T00:28:55.456Z", + "endTime": "2023-08-25T00:28:55.456Z" + }, + "lastFailedPlannedFailoverJob": { + "scenarioName": "ceksuyfiplxj", + "id": "ndjurplurnkguwfxx", + "name": "ofblltxwhwzhyr", + "displayName": "whxsvbrzdhqsepbocfzsfx", + "state": "wpur", + "startTime": "2023-08-25T00:28:55.456Z", + "endTime": "2023-08-25T00:28:55.456Z" + }, + "lastTestFailoverJob": { + "scenarioName": "dfuovvz", + "id": "cta", + "name": "cedjijdtnznsnigghrxnsaz", + "displayName": "lhkjfbonwdtxckwzfebfwdyu", + "state": "nhbzw", + "startTime": "2023-08-25T00:28:55.456Z", + "endTime": "2023-08-25T00:28:55.456Z" + }, + "replicationHealth": "Normal", + "healthErrors": [ + { + "affectedResourceType": "scfniv", + "affectedResourceCorrelationIds": [ + "fope" + ], + "childErrors": [ + { + "code": "yuxxpblihirpedwkigywgwjjrlzq", + "healthCategory": "mhdgfjqwbikhxmhtomkl", + "category": "lcsdxrqxquke", + "severity": "wqxxiuaqjyagq", + "source": "wevvftugwydzzw", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "djsmgrltruljo", + "message": "sskcei", + "causes": "kefaugkpxjkpulimjthjnl", + "recommendation": "kqybwaesqumywtjepi" + } + ], + "code": "dgxkefzmeukd", + "healthCategory": "itc", + "category": "leigw", + "severity": "vvdajssdcypewdyechilxjmuijvdd", + "source": "iy", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "jtooblbvaxxrvcwgscbobq", + "message": "lbywtdprdqdekl", + "causes": "xznphqrrmsdzm", + "recommendation": "gmssteizlhjtclyeoo" + } + ], + "customProperties": { + "instanceType": "ProtectedItemModelCustomProperties" + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationVaults/vault1/protectedItems/item1", + "name": "t", + "type": "xlyjashandpfwivuipoplgkgsnwoh", + "systemData": { + "createdBy": "ghut", + "createdByType": "tzczp", + "createdAt": "2023-08-25T00:28:55.456Z", + "lastModifiedBy": "epo", + "lastModifiedByType": "ekzmwexhjttb", + "lastModifiedAt": "2023-08-25T00:28:55.456Z" + } + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/ProtectedItem_Delete.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/ProtectedItem_Delete.json new file mode 100644 index 000000000000..942b1e3af8e9 --- /dev/null +++ b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/ProtectedItem_Delete.json @@ -0,0 +1,20 @@ +{ + "title": "Deletes the protected item.", + "operationId": "ProtectedItem_Delete", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgrecoveryservicesdatareplication", + "vaultName": "4", + "protectedItemName": "d", + "forceDelete": true, + "api-version": "2024-09-01" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/ProtectedItem_Get.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/ProtectedItem_Get.json new file mode 100644 index 000000000000..28edec3e92ee --- /dev/null +++ b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/ProtectedItem_Get.json @@ -0,0 +1,128 @@ +{ + "title": "Gets the protected item.", + "operationId": "ProtectedItem_Get", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgrecoveryservicesdatareplication", + "vaultName": "4", + "protectedItemName": "d", + "api-version": "2024-09-01" + }, + "responses": { + "200": { + "body": { + "properties": { + "policyName": "tjoeiynplt", + "replicationExtensionName": "jwxdo", + "correlationId": "mvxvtcqwgp", + "provisioningState": "Canceled", + "protectionState": "UnprotectedStatesBegin", + "protectionStateDescription": "lp", + "testFailoverState": "None", + "testFailoverStateDescription": "msjz", + "resynchronizationState": "None", + "fabricObjectId": "kjcizdpahzqsrwyiywbhyzdxsufj", + "fabricObjectName": "glrjwtvmejxuagjepcwaxhih", + "sourceFabricProviderId": "srggkxaruzlegtpdalscio", + "targetFabricProviderId": "sutiqezfbeiewwjezflvcitqj", + "fabricId": "ebsxoblmhlhqjzzjzdwo", + "targetFabricId": "fb", + "fabricAgentId": "vxrmsufvxothxauhvqdowascmy", + "targetFabricAgentId": "oscnhreunbyibimlpvsesu", + "resyncRequired": true, + "lastSuccessfulPlannedFailoverTime": "2023-08-25T00:28:55.456Z", + "lastSuccessfulUnplannedFailoverTime": "2023-08-25T00:28:55.456Z", + "lastSuccessfulTestFailoverTime": "2023-08-25T00:28:55.456Z", + "currentJob": { + "scenarioName": "ljbnhbdmreowdqnlcqycvaramwuii", + "id": "bnmbzxzyfgwh", + "name": "kqtvbrfmqaxdgpttkbmzpwafjp", + "displayName": "awutlqrisstqb", + "state": "ztlpngveoqcdejpwaiudhrioskauqv", + "startTime": "2023-08-25T00:28:55.456Z", + "endTime": "2023-08-25T00:28:55.456Z" + }, + "allowedJobs": [ + "guryeoocjbvqvalfkrxecpxwynpxs" + ], + "lastFailedEnableProtectionJob": { + "scenarioName": "fhz", + "id": "hjzgyxgdy", + "name": "hvvolptulpcxwbnjdzky", + "displayName": "zrqjbcozwiuypjjnvy", + "state": "ljsixxmmcaq", + "startTime": "2023-08-25T00:28:55.456Z", + "endTime": "2023-08-25T00:28:55.456Z" + }, + "lastFailedPlannedFailoverJob": { + "scenarioName": "ceksuyfiplxj", + "id": "ndjurplurnkguwfxx", + "name": "ofblltxwhwzhyr", + "displayName": "whxsvbrzdhqsepbocfzsfx", + "state": "wpur", + "startTime": "2023-08-25T00:28:55.456Z", + "endTime": "2023-08-25T00:28:55.456Z" + }, + "lastTestFailoverJob": { + "scenarioName": "dfuovvz", + "id": "cta", + "name": "cedjijdtnznsnigghrxnsaz", + "displayName": "lhkjfbonwdtxckwzfebfwdyu", + "state": "nhbzw", + "startTime": "2023-08-25T00:28:55.456Z", + "endTime": "2023-08-25T00:28:55.456Z" + }, + "replicationHealth": "Normal", + "healthErrors": [ + { + "affectedResourceType": "scfniv", + "affectedResourceCorrelationIds": [ + "fope" + ], + "childErrors": [ + { + "code": "yuxxpblihirpedwkigywgwjjrlzq", + "healthCategory": "mhdgfjqwbikhxmhtomkl", + "category": "lcsdxrqxquke", + "severity": "wqxxiuaqjyagq", + "source": "wevvftugwydzzw", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "djsmgrltruljo", + "message": "sskcei", + "causes": "kefaugkpxjkpulimjthjnl", + "recommendation": "kqybwaesqumywtjepi" + } + ], + "code": "dgxkefzmeukd", + "healthCategory": "itc", + "category": "leigw", + "severity": "vvdajssdcypewdyechilxjmuijvdd", + "source": "iy", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "jtooblbvaxxrvcwgscbobq", + "message": "lbywtdprdqdekl", + "causes": "xznphqrrmsdzm", + "recommendation": "gmssteizlhjtclyeoo" + } + ], + "customProperties": { + "instanceType": "ProtectedItemModelCustomProperties" + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationVaults/vault1/protectedItems/item1", + "name": "t", + "type": "xlyjashandpfwivuipoplgkgsnwoh", + "systemData": { + "createdBy": "ghut", + "createdByType": "tzczp", + "createdAt": "2023-08-25T00:28:55.456Z", + "lastModifiedBy": "epo", + "lastModifiedByType": "ekzmwexhjttb", + "lastModifiedAt": "2023-08-25T00:28:55.456Z" + } + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/ProtectedItem_List.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/ProtectedItem_List.json new file mode 100644 index 000000000000..3ba5d87572ca --- /dev/null +++ b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/ProtectedItem_List.json @@ -0,0 +1,131 @@ +{ + "title": "Lists the protected items.", + "operationId": "ProtectedItem_List", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgrecoveryservicesdatareplication", + "vaultName": "4", + "api-version": "2024-09-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "policyName": "tjoeiynplt", + "replicationExtensionName": "jwxdo", + "correlationId": "mvxvtcqwgp", + "provisioningState": "Canceled", + "protectionState": "UnprotectedStatesBegin", + "protectionStateDescription": "lp", + "testFailoverState": "None", + "testFailoverStateDescription": "msjz", + "resynchronizationState": "None", + "fabricObjectId": "kjcizdpahzqsrwyiywbhyzdxsufj", + "fabricObjectName": "glrjwtvmejxuagjepcwaxhih", + "sourceFabricProviderId": "srggkxaruzlegtpdalscio", + "targetFabricProviderId": "sutiqezfbeiewwjezflvcitqj", + "fabricId": "ebsxoblmhlhqjzzjzdwo", + "targetFabricId": "fb", + "fabricAgentId": "vxrmsufvxothxauhvqdowascmy", + "targetFabricAgentId": "oscnhreunbyibimlpvsesu", + "resyncRequired": true, + "lastSuccessfulPlannedFailoverTime": "2023-08-25T00:28:55.456Z", + "lastSuccessfulUnplannedFailoverTime": "2023-08-25T00:28:55.456Z", + "lastSuccessfulTestFailoverTime": "2023-08-25T00:28:55.456Z", + "currentJob": { + "scenarioName": "ljbnhbdmreowdqnlcqycvaramwuii", + "id": "bnmbzxzyfgwh", + "name": "kqtvbrfmqaxdgpttkbmzpwafjp", + "displayName": "awutlqrisstqb", + "state": "ztlpngveoqcdejpwaiudhrioskauqv", + "startTime": "2023-08-25T00:28:55.456Z", + "endTime": "2023-08-25T00:28:55.456Z" + }, + "allowedJobs": [ + "guryeoocjbvqvalfkrxecpxwynpxs" + ], + "lastFailedEnableProtectionJob": { + "scenarioName": "fhz", + "id": "hjzgyxgdy", + "name": "hvvolptulpcxwbnjdzky", + "displayName": "zrqjbcozwiuypjjnvy", + "state": "ljsixxmmcaq", + "startTime": "2023-08-25T00:28:55.456Z", + "endTime": "2023-08-25T00:28:55.456Z" + }, + "lastFailedPlannedFailoverJob": { + "scenarioName": "ceksuyfiplxj", + "id": "ndjurplurnkguwfxx", + "name": "ofblltxwhwzhyr", + "displayName": "whxsvbrzdhqsepbocfzsfx", + "state": "wpur", + "startTime": "2023-08-25T00:28:55.456Z", + "endTime": "2023-08-25T00:28:55.456Z" + }, + "lastTestFailoverJob": { + "scenarioName": "dfuovvz", + "id": "cta", + "name": "cedjijdtnznsnigghrxnsaz", + "displayName": "lhkjfbonwdtxckwzfebfwdyu", + "state": "nhbzw", + "startTime": "2023-08-25T00:28:55.456Z", + "endTime": "2023-08-25T00:28:55.456Z" + }, + "replicationHealth": "Normal", + "healthErrors": [ + { + "affectedResourceType": "scfniv", + "affectedResourceCorrelationIds": [ + "fope" + ], + "childErrors": [ + { + "code": "yuxxpblihirpedwkigywgwjjrlzq", + "healthCategory": "mhdgfjqwbikhxmhtomkl", + "category": "lcsdxrqxquke", + "severity": "wqxxiuaqjyagq", + "source": "wevvftugwydzzw", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "djsmgrltruljo", + "message": "sskcei", + "causes": "kefaugkpxjkpulimjthjnl", + "recommendation": "kqybwaesqumywtjepi" + } + ], + "code": "dgxkefzmeukd", + "healthCategory": "itc", + "category": "leigw", + "severity": "vvdajssdcypewdyechilxjmuijvdd", + "source": "iy", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "jtooblbvaxxrvcwgscbobq", + "message": "lbywtdprdqdekl", + "causes": "xznphqrrmsdzm", + "recommendation": "gmssteizlhjtclyeoo" + } + ], + "customProperties": { + "instanceType": "ProtectedItemModelCustomProperties" + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationVaults/vault1/protectedItems/item1", + "name": "t", + "type": "xlyjashandpfwivuipoplgkgsnwoh", + "systemData": { + "createdBy": "ghut", + "createdByType": "tzczp", + "createdAt": "2023-08-25T00:28:55.456Z", + "lastModifiedBy": "epo", + "lastModifiedByType": "ekzmwexhjttb", + "lastModifiedAt": "2023-08-25T00:28:55.456Z" + } + } + ] + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/ProtectedItem_PlannedFailover.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/ProtectedItem_PlannedFailover.json new file mode 100644 index 000000000000..a5c0ed5dba8f --- /dev/null +++ b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/ProtectedItem_PlannedFailover.json @@ -0,0 +1,34 @@ +{ + "title": "Performs planned failover.", + "operationId": "ProtectedItem_PlannedFailover", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgrecoveryservicesdatareplication", + "vaultName": "4", + "protectedItemName": "d", + "api-version": "2024-09-01", + "body": { + "properties": { + "customProperties": { + "instanceType": "PlannedFailoverModelCustomProperties" + } + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "customProperties": { + "instanceType": "PlannedFailoverModelCustomProperties" + } + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/ProtectedItem_Update.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/ProtectedItem_Update.json new file mode 100644 index 000000000000..3e61ccae2bd9 --- /dev/null +++ b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/ProtectedItem_Update.json @@ -0,0 +1,140 @@ +{ + "title": "Update Protected Item", + "operationId": "ProtectedItem_Update", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgswagger_2024-09-01", + "vaultName": "4", + "protectedItemName": "d", + "api-version": "2024-09-01", + "body": { + "properties": { + "customProperties": { + "instanceType": "ProtectedItemModelCustomPropertiesUpdate" + } + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "policyName": "tjoeiynplt", + "replicationExtensionName": "jwxdo", + "customProperties": { + "instanceType": "ProtectedItemModelCustomProperties" + }, + "correlationId": "mvxvtcqwgp", + "provisioningState": "Canceled", + "protectionState": "UnprotectedStatesBegin", + "protectionStateDescription": "lp", + "testFailoverState": "None", + "testFailoverStateDescription": "msjz", + "resynchronizationState": "None", + "fabricObjectId": "kjcizdpahzqsrwyiywbhyzdxsufj", + "fabricObjectName": "glrjwtvmejxuagjepcwaxhih", + "sourceFabricProviderId": "srggkxaruzlegtpdalscio", + "targetFabricProviderId": "sutiqezfbeiewwjezflvcitqj", + "fabricId": "ebsxoblmhlhqjzzjzdwo", + "targetFabricId": "fb", + "fabricAgentId": "c", + "targetFabricAgentId": "tsekhcwafyaoujmijzawvexruifs", + "resyncRequired": true, + "lastSuccessfulPlannedFailoverTime": "2023-08-25T00:28:55.456Z", + "lastSuccessfulUnplannedFailoverTime": "2023-08-25T00:28:55.456Z", + "lastSuccessfulTestFailoverTime": "2023-08-25T00:28:55.456Z", + "currentJob": { + "scenarioName": "ljbnhbdmreowdqnlcqycvaramwuii", + "id": "bnmbzxzyfgwh", + "name": "kqtvbrfmqaxdgpttkbmzpwafjp", + "displayName": "awutlqrisstqb", + "state": "ztlpngveoqcdejpwaiudhrioskauqv", + "startTime": "2023-08-25T00:28:55.456Z", + "endTime": "2023-08-25T00:28:55.456Z" + }, + "allowedJobs": [ + "guryeoocjbvqvalfkrxecpxwynpxs" + ], + "lastFailedEnableProtectionJob": { + "scenarioName": "fhz", + "id": "hjzgyxgdy", + "name": "hvvolptulpcxwbnjdzky", + "displayName": "zrqjbcozwiuypjjnvy", + "state": "ljsixxmmcaq", + "startTime": "2023-08-25T00:28:55.456Z", + "endTime": "2023-08-25T00:28:55.456Z" + }, + "lastFailedPlannedFailoverJob": { + "scenarioName": "ceksuyfiplxj", + "id": "ndjurplurnkguwfxx", + "name": "ofblltxwhwzhyr", + "displayName": "whxsvbrzdhqsepbocfzsfx", + "state": "wpur", + "startTime": "2023-08-25T00:28:55.456Z", + "endTime": "2023-08-25T00:28:55.456Z" + }, + "lastTestFailoverJob": { + "scenarioName": "dfuovvz", + "id": "cta", + "name": "cedjijdtnznsnigghrxnsaz", + "displayName": "lhkjfbonwdtxckwzfebfwdyu", + "state": "nhbzw", + "startTime": "2023-08-25T00:28:55.456Z", + "endTime": "2023-08-25T00:28:55.456Z" + }, + "replicationHealth": "Normal", + "healthErrors": [ + { + "affectedResourceType": "scfniv", + "affectedResourceCorrelationIds": [ + "fope" + ], + "childErrors": [ + { + "code": "yuxxpblihirpedwkigywgwjjrlzq", + "healthCategory": "mhdgfjqwbikhxmhtomkl", + "category": "lcsdxrqxquke", + "severity": "wqxxiuaqjyagq", + "source": "wevvftugwydzzw", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "djsmgrltruljo", + "message": "sskcei", + "causes": "kefaugkpxjkpulimjthjnl", + "recommendation": "kqybwaesqumywtjepi" + } + ], + "code": "dgxkefzmeukd", + "healthCategory": "itc", + "category": "leigw", + "severity": "vvdajssdcypewdyechilxjmuijvdd", + "source": "iy", + "creationTime": "2023-08-25T00:28:52.128Z", + "isCustomerResolvable": true, + "summary": "jtooblbvaxxrvcwgscbobq", + "message": "lbywtdprdqdekl", + "causes": "xznphqrrmsdzm", + "recommendation": "gmssteizlhjtclyeoo" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationVaults/vault1/protectedItems/item1", + "name": "t", + "type": "xlyjashandpfwivuipoplgkgsnwoh", + "systemData": { + "createdBy": "ewufpudzcjrljhmmzhfnxoqdqwnya", + "createdByType": "zioqm", + "createdAt": "2023-08-25T00:28:53.022Z", + "lastModifiedBy": "rx", + "lastModifiedByType": "tqbvuqoakaaqij", + "lastModifiedAt": "2023-08-25T00:28:53.022Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/RecoveryPoints_Get.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/RecoveryPoints_Get.json new file mode 100644 index 000000000000..db52650e867a --- /dev/null +++ b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/RecoveryPoints_Get.json @@ -0,0 +1,36 @@ +{ + "title": "Gets the recovery point.", + "operationId": "RecoveryPoint_Get", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgrecoveryservicesdatareplication", + "vaultName": "4", + "protectedItemName": "d", + "recoveryPointName": "1X", + "api-version": "2024-09-01" + }, + "responses": { + "200": { + "body": { + "properties": { + "recoveryPointTime": "2023-08-25T00:28:56.403Z", + "recoveryPointType": "ApplicationConsistent", + "customProperties": { + "instanceType": "RecoveryPointModelCustomProperties" + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationVaults/vault1/recoveryPoints/point1", + "name": "mfnjlwvvfnrsllcyyeslxxcchhvld", + "type": "zoeadplqxtonvqgwfqmeblh", + "systemData": { + "createdBy": "nykpygxolffv", + "createdByType": "agdgovroryjiwioytnnps", + "createdAt": "2023-08-25T00:28:56.403Z", + "lastModifiedBy": "tipxxgz", + "lastModifiedByType": "v", + "lastModifiedAt": "2023-08-25T00:28:56.404Z" + } + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/RecoveryPoints_List.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/RecoveryPoints_List.json new file mode 100644 index 000000000000..27d6c1cc841c --- /dev/null +++ b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/RecoveryPoints_List.json @@ -0,0 +1,39 @@ +{ + "title": "Lists the recovery points.", + "operationId": "RecoveryPoint_List", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgrecoveryservicesdatareplication", + "vaultName": "4", + "protectedItemName": "d", + "api-version": "2024-09-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "recoveryPointTime": "2023-08-25T00:28:56.403Z", + "recoveryPointType": "ApplicationConsistent", + "customProperties": { + "instanceType": "RecoveryPointModelCustomProperties" + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationVaults/vault1/recoveryPoints/point1", + "name": "mfnjlwvvfnrsllcyyeslxxcchhvld", + "type": "zoeadplqxtonvqgwfqmeblh", + "systemData": { + "createdBy": "nykpygxolffv", + "createdByType": "agdgovroryjiwioytnnps", + "createdAt": "2023-08-25T00:28:56.403Z", + "lastModifiedBy": "tipxxgz", + "lastModifiedByType": "v", + "lastModifiedAt": "2023-08-25T00:28:56.404Z" + } + } + ] + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/ReplicationExtension_Create.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/ReplicationExtension_Create.json new file mode 100644 index 000000000000..71fdca36262b --- /dev/null +++ b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/ReplicationExtension_Create.json @@ -0,0 +1,65 @@ +{ + "title": "Puts the replication extension.", + "operationId": "ReplicationExtension_Create", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgrecoveryservicesdatareplication", + "vaultName": "4", + "replicationExtensionName": "g16yjJ", + "api-version": "2024-09-01", + "body": { + "properties": { + "customProperties": { + "instanceType": "ReplicationExtensionModelCustomProperties" + } + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Canceled", + "customProperties": { + "instanceType": "ReplicationExtensionModelCustomProperties" + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationVaults/vault1/replicationExtensions/extension1", + "name": "xvjffbiecsd", + "type": "miadbgilpheilzfoonveznybthgdwh", + "systemData": { + "createdBy": "lagtinqhksctfdxmfbpf", + "createdByType": "dsqllpglanwztdmisrknjtqz", + "createdAt": "2023-08-25T00:28:56.732Z", + "lastModifiedBy": "suwjpejlaya", + "lastModifiedByType": "nrfjuyghtbivwihr", + "lastModifiedAt": "2023-08-25T00:28:56.732Z" + } + } + }, + "201": { + "headers": { + "location": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Canceled", + "customProperties": { + "instanceType": "ReplicationExtensionModelCustomProperties" + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationVaults/vault1/replicationExtensions/extension1", + "name": "xvjffbiecsd", + "type": "miadbgilpheilzfoonveznybthgdwh", + "systemData": { + "createdBy": "lagtinqhksctfdxmfbpf", + "createdByType": "dsqllpglanwztdmisrknjtqz", + "createdAt": "2023-08-25T00:28:56.732Z", + "lastModifiedBy": "suwjpejlaya", + "lastModifiedByType": "nrfjuyghtbivwihr", + "lastModifiedAt": "2023-08-25T00:28:56.732Z" + } + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/ReplicationExtension_Delete.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/ReplicationExtension_Delete.json new file mode 100644 index 000000000000..fd0c9778a3b9 --- /dev/null +++ b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/ReplicationExtension_Delete.json @@ -0,0 +1,19 @@ +{ + "title": "Deletes the replication extension.", + "operationId": "ReplicationExtension_Delete", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgrecoveryservicesdatareplication", + "vaultName": "4", + "replicationExtensionName": "g16yjJ", + "api-version": "2024-09-01" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/ReplicationExtension_Get.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/ReplicationExtension_Get.json new file mode 100644 index 000000000000..5ea7b6177839 --- /dev/null +++ b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/ReplicationExtension_Get.json @@ -0,0 +1,34 @@ +{ + "title": "Gets the replication extension.", + "operationId": "ReplicationExtension_Get", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgrecoveryservicesdatareplication", + "vaultName": "4", + "replicationExtensionName": "g16yjJ", + "api-version": "2024-09-01" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Canceled", + "customProperties": { + "instanceType": "ReplicationExtensionModelCustomProperties" + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationVaults/vault1/replicationExtensions/extension1", + "name": "xvjffbiecsd", + "type": "miadbgilpheilzfoonveznybthgdwh", + "systemData": { + "createdBy": "lagtinqhksctfdxmfbpf", + "createdByType": "dsqllpglanwztdmisrknjtqz", + "createdAt": "2023-08-25T00:28:56.732Z", + "lastModifiedBy": "suwjpejlaya", + "lastModifiedByType": "nrfjuyghtbivwihr", + "lastModifiedAt": "2023-08-25T00:28:56.732Z" + } + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/ReplicationExtension_List.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/ReplicationExtension_List.json new file mode 100644 index 000000000000..f040ef796b45 --- /dev/null +++ b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/ReplicationExtension_List.json @@ -0,0 +1,37 @@ +{ + "title": "Lists the replication extensions.", + "operationId": "ReplicationExtension_List", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgrecoveryservicesdatareplication", + "vaultName": "4", + "api-version": "2024-09-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Canceled", + "customProperties": { + "instanceType": "ReplicationExtensionModelCustomProperties" + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationVaults/vault1/replicationExtensions/extension1", + "name": "xvjffbiecsd", + "type": "miadbgilpheilzfoonveznybthgdwh", + "systemData": { + "createdBy": "lagtinqhksctfdxmfbpf", + "createdByType": "dsqllpglanwztdmisrknjtqz", + "createdAt": "2023-08-25T00:28:56.732Z", + "lastModifiedBy": "suwjpejlaya", + "lastModifiedByType": "nrfjuyghtbivwihr", + "lastModifiedAt": "2023-08-25T00:28:56.732Z" + } + } + ] + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/Vault_Create.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/Vault_Create.json new file mode 100644 index 000000000000..444a5229d345 --- /dev/null +++ b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/Vault_Create.json @@ -0,0 +1,72 @@ +{ + "title": "Puts the vault.", + "operationId": "Vault_Create", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgrecoveryservicesdatareplication", + "vaultName": "4", + "api-version": "2024-09-01", + "body": { + "location": "eck", + "properties": { + "vaultType": "DisasterRecovery" + }, + "tags": { + "key5359": "ljfilxolxzuxrauopwtyxghrp" + } + } + }, + "responses": { + "200": { + "body": { + "location": "eck", + "properties": { + "provisioningState": "Canceled", + "serviceResourceId": "mksumcmksgdsghojszxq", + "vaultType": "DisasterRecovery" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationVaults/vault1", + "name": "bqgyqxmnlgwqxbmajddqwtao", + "type": "xtcicpcmjvocohaznrk", + "systemData": { + "createdBy": "rm", + "createdByType": "uojlfokjrhzgqoodsvgz", + "createdAt": "2023-08-25T00:28:58.092Z", + "lastModifiedBy": "gkojzu", + "lastModifiedByType": "jua", + "lastModifiedAt": "2023-08-25T00:28:58.092Z" + }, + "tags": { + "key5359": "ljfilxolxzuxrauopwtyxghrp" + } + } + }, + "201": { + "headers": { + "location": "https://contoso.com/operationstatus" + }, + "body": { + "location": "eck", + "properties": { + "provisioningState": "Canceled", + "serviceResourceId": "mksumcmksgdsghojszxq", + "vaultType": "DisasterRecovery" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationVaults/vault1", + "name": "bqgyqxmnlgwqxbmajddqwtao", + "type": "xtcicpcmjvocohaznrk", + "systemData": { + "createdBy": "rm", + "createdByType": "uojlfokjrhzgqoodsvgz", + "createdAt": "2023-08-25T00:28:58.092Z", + "lastModifiedBy": "gkojzu", + "lastModifiedByType": "jua", + "lastModifiedAt": "2023-08-25T00:28:58.092Z" + }, + "tags": { + "key5359": "ljfilxolxzuxrauopwtyxghrp" + } + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/Vault_Delete.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/Vault_Delete.json new file mode 100644 index 000000000000..be77a6705439 --- /dev/null +++ b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/Vault_Delete.json @@ -0,0 +1,18 @@ +{ + "title": "Deletes the vault.", + "operationId": "Vault_Delete", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgrecoveryservicesdatareplication", + "vaultName": "4", + "api-version": "2024-09-01" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/Vault_Get.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/Vault_Get.json new file mode 100644 index 000000000000..7c6287278298 --- /dev/null +++ b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/Vault_Get.json @@ -0,0 +1,36 @@ +{ + "title": "Gets the vault.", + "operationId": "Vault_Get", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgrecoveryservicesdatareplication", + "vaultName": "4", + "api-version": "2024-09-01" + }, + "responses": { + "200": { + "body": { + "location": "eck", + "properties": { + "provisioningState": "Canceled", + "serviceResourceId": "mksumcmksgdsghojszxq", + "vaultType": "DisasterRecovery" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationVaults/vault1", + "name": "bqgyqxmnlgwqxbmajddqwtao", + "type": "xtcicpcmjvocohaznrk", + "systemData": { + "createdBy": "rm", + "createdByType": "uojlfokjrhzgqoodsvgz", + "createdAt": "2023-08-25T00:28:58.092Z", + "lastModifiedBy": "gkojzu", + "lastModifiedByType": "jua", + "lastModifiedAt": "2023-08-25T00:28:58.092Z" + }, + "tags": { + "key5359": "ljfilxolxzuxrauopwtyxghrp" + } + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/Vault_List.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/Vault_List.json new file mode 100644 index 000000000000..d1fa93dda6bf --- /dev/null +++ b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/Vault_List.json @@ -0,0 +1,40 @@ +{ + "title": "Lists the vaults.", + "operationId": "Vault_List", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgrecoveryservicesdatareplication", + "continuationToken": "mwculdaqndp", + "api-version": "2024-09-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "location": "eck", + "properties": { + "provisioningState": "Canceled", + "serviceResourceId": "mksumcmksgdsghojszxq", + "vaultType": "DisasterRecovery" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationVaults/vault1", + "name": "bqgyqxmnlgwqxbmajddqwtao", + "type": "xtcicpcmjvocohaznrk", + "systemData": { + "createdBy": "rm", + "createdByType": "uojlfokjrhzgqoodsvgz", + "createdAt": "2023-08-25T00:28:58.092Z", + "lastModifiedBy": "gkojzu", + "lastModifiedByType": "jua", + "lastModifiedAt": "2023-08-25T00:28:58.092Z" + }, + "tags": { + "key5359": "ljfilxolxzuxrauopwtyxghrp" + } + } + ] + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/Vault_ListBySubscription.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/Vault_ListBySubscription.json new file mode 100644 index 000000000000..c8ac4fdde156 --- /dev/null +++ b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/Vault_ListBySubscription.json @@ -0,0 +1,39 @@ +{ + "title": "Lists the vaults by subscription.", + "operationId": "Vault_ListBySubscription", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "continuationToken": "dqsjhseyugyexxrlrln", + "api-version": "2024-09-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "location": "eck", + "properties": { + "provisioningState": "Canceled", + "serviceResourceId": "mksumcmksgdsghojszxq", + "vaultType": "DisasterRecovery" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataReplication/replicationVaults/vault1", + "name": "bqgyqxmnlgwqxbmajddqwtao", + "type": "xtcicpcmjvocohaznrk", + "systemData": { + "createdBy": "rm", + "createdByType": "uojlfokjrhzgqoodsvgz", + "createdAt": "2023-08-25T00:28:58.092Z", + "lastModifiedBy": "gkojzu", + "lastModifiedByType": "jua", + "lastModifiedAt": "2023-08-25T00:28:58.092Z" + }, + "tags": { + "key5359": "ljfilxolxzuxrauopwtyxghrp" + } + } + ] + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/Vault_Update.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/Vault_Update.json new file mode 100644 index 000000000000..295423c96a7e --- /dev/null +++ b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/examples/Vault_Update.json @@ -0,0 +1,49 @@ +{ + "title": "Updates the vault.", + "operationId": "Vault_Update", + "parameters": { + "subscriptionId": "930CEC23-4430-4513-B855-DBA237E2F3BF", + "resourceGroupName": "rgrecoveryservicesdatareplication", + "vaultName": "4", + "api-version": "2024-09-01", + "body": { + "properties": { + "vaultType": "DisasterRecovery" + }, + "tags": { + "key8872": "pvtc" + } + } + }, + "responses": { + "200": { + "body": { + "location": "eck", + "properties": { + "provisioningState": "Canceled", + "serviceResourceId": "mksumcmksgdsghojszxq", + "vaultType": "DisasterRecovery" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataReplication/replicationVaults/vault1", + "name": "bqgyqxmnlgwqxbmajddqwtao", + "type": "xtcicpcmjvocohaznrk", + "systemData": { + "createdBy": "rm", + "createdByType": "uojlfokjrhzgqoodsvgz", + "createdAt": "2023-08-25T00:28:58.092Z", + "lastModifiedBy": "gkojzu", + "lastModifiedByType": "jua", + "lastModifiedAt": "2023-08-25T00:28:58.092Z" + }, + "tags": { + "key5359": "ljfilxolxzuxrauopwtyxghrp" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/recoveryservicesdatareplication.json b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/recoveryservicesdatareplication.json new file mode 100644 index 000000000000..9c3f2adff4d4 --- /dev/null +++ b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/stable/2024-09-01/recoveryservicesdatareplication.json @@ -0,0 +1,8109 @@ +{ + "swagger": "2.0", + "info": { + "title": "Azure Site Recovery Management Service API", + "version": "2024-09-01", + "description": "A first party Azure service enabling the data replication.", + "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": "EmailConfiguration" + }, + { + "name": "Vault" + }, + { + "name": "Event" + }, + { + "name": "Fabric" + }, + { + "name": "FabricAgent" + }, + { + "name": "Job" + }, + { + "name": "Policy" + }, + { + "name": "PrivateEndpointConnections" + }, + { + "name": "PrivateEndpointConnectionProxies" + }, + { + "name": "PrivateLinkResources" + }, + { + "name": "ProtectedItem" + }, + { + "name": "RecoveryPoint" + }, + { + "name": "ReplicationExtension" + }, + { + "name": "OperationResults" + } + ], + "paths": { + "/providers/Microsoft.DataReplication/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": { + "Get a list of REST API operations supported by Microsoft.DataReplication.": { + "$ref": "./examples/Operations_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.DataReplication/locations/{location}/checkNameAvailability": { + "post": { + "operationId": "CheckNameAvailability_Post", + "summary": "Performs the resource name availability check.", + "description": "Checks the resource name availability.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/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": "body", + "in": "body", + "description": "Resource details.", + "required": false, + "schema": { + "$ref": "#/definitions/CheckNameAvailabilityModel" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CheckNameAvailabilityResponseModel" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Performs the resource name availability check.": { + "$ref": "./examples/CheckNameAvailability_Post.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.DataReplication/replicationFabrics": { + "get": { + "operationId": "Fabric_ListBySubscription", + "tags": [ + "Fabric" + ], + "description": "Gets the list of fabrics in the given 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/FabricModelListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Lists the fabrics by subscription.": { + "$ref": "./examples/Fabric_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.DataReplication/replicationVaults": { + "get": { + "operationId": "Vault_ListBySubscription", + "tags": [ + "Vault" + ], + "description": "Gets the list of vaults in the given 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/VaultModelListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Lists the vaults by subscription.": { + "$ref": "./examples/Vault_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/deployments/{deploymentId}/preflight": { + "post": { + "operationId": "DeploymentPreflight_Post", + "summary": "Performs resource deployment validation.", + "description": "Performs resource deployment preflight validation.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/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": "deploymentId", + "in": "path", + "description": "Deployment Id.", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "description": "Deployment preflight model.", + "required": false, + "schema": { + "$ref": "#/definitions/DeploymentPreflightModel" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DeploymentPreflightModel" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Performs resource deployment validation.": { + "$ref": "./examples/DeploymentPreflight_Post.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/operationResults/{operationId}/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/{operationId}": { + "get": { + "operationId": "OperationResults_Get", + "tags": [ + "OperationResults" + ], + "summary": "Gets the operation result status.", + "description": "Gets the operations.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/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": "../../../../../common-types/resource-management/v6/types.json#/parameters/OperationIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/OperationStatus" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Gets the Operation Results": { + "$ref": "./examples/OperationResults_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationFabrics": { + "get": { + "operationId": "Fabric_List", + "tags": [ + "Fabric" + ], + "description": "Gets the list of fabrics in the given subscription and 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": "continuationToken", + "in": "query", + "description": "Continuation token from the previous call.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/FabricModelListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Lists the fabrics.": { + "$ref": "./examples/Fabric_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationFabrics/{fabricName}": { + "get": { + "operationId": "Fabric_Get", + "tags": [ + "Fabric" + ], + "description": "Gets the details of the fabric.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/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": "fabricName", + "in": "path", + "description": "The fabric name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/FabricModel" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Gets the fabric.": { + "$ref": "./examples/Fabric_Get.json" + } + } + }, + "put": { + "operationId": "Fabric_Create", + "tags": [ + "Fabric" + ], + "description": "Creates the fabric.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/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": "fabricName", + "in": "path", + "description": "The fabric name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "body", + "in": "body", + "description": "Fabric properties.", + "required": true, + "schema": { + "$ref": "#/definitions/FabricModel" + } + } + ], + "responses": { + "200": { + "description": "Resource 'FabricModel' update operation succeeded", + "schema": { + "$ref": "#/definitions/FabricModel" + } + }, + "201": { + "description": "Resource 'FabricModel' create operation succeeded", + "schema": { + "$ref": "#/definitions/FabricModel" + }, + "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": { + "Puts the fabric.": { + "$ref": "./examples/Fabric_Create.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Fabric_Update", + "tags": [ + "Fabric" + ], + "description": "Performs update on the fabric.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/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": "fabricName", + "in": "path", + "description": "The fabric name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "body", + "in": "body", + "description": "Fabric properties.", + "required": true, + "schema": { + "$ref": "#/definitions/FabricModelUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/FabricModel" + } + }, + "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": { + "Updates the fabric.": { + "$ref": "./examples/Fabric_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Fabric_Delete", + "tags": [ + "Fabric" + ], + "description": "Removes the fabric.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/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": "fabricName", + "in": "path", + "description": "The fabric name.", + "required": true, + "type": "string", + "pattern": "^[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/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Deletes the fabric.": { + "$ref": "./examples/Fabric_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationFabrics/{fabricName}/fabricAgents": { + "get": { + "operationId": "FabricAgent_List", + "tags": [ + "FabricAgent" + ], + "description": "Gets the list of fabric agents in the given fabric.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/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": "fabricName", + "in": "path", + "description": "The fabric name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/FabricAgentModelListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Lists the fabric agents": { + "$ref": "./examples/FabricAgent_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationFabrics/{fabricName}/fabricAgents/{fabricAgentName}": { + "get": { + "operationId": "FabricAgent_Get", + "tags": [ + "FabricAgent" + ], + "description": "Gets the details of the fabric agent.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/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": "fabricName", + "in": "path", + "description": "The fabric name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "fabricAgentName", + "in": "path", + "description": "The fabric agent name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/FabricAgentModel" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Gets the fabric agent.": { + "$ref": "./examples/FabricAgent_Get.json" + } + } + }, + "put": { + "operationId": "FabricAgent_Create", + "tags": [ + "FabricAgent" + ], + "description": "Creates the fabric agent.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/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": "fabricName", + "in": "path", + "description": "The fabric name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "fabricAgentName", + "in": "path", + "description": "The fabric agent name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "body", + "in": "body", + "description": "Fabric agent model.", + "required": true, + "schema": { + "$ref": "#/definitions/FabricAgentModel" + } + } + ], + "responses": { + "200": { + "description": "Resource 'FabricAgentModel' update operation succeeded", + "schema": { + "$ref": "#/definitions/FabricAgentModel" + } + }, + "201": { + "description": "Resource 'FabricAgentModel' create operation succeeded", + "schema": { + "$ref": "#/definitions/FabricAgentModel" + }, + "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": { + "Puts the fabric agent": { + "$ref": "./examples/FabricAgent_Create.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "FabricAgent_Delete", + "tags": [ + "FabricAgent" + ], + "description": "Deletes fabric agent.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/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": "fabricName", + "in": "path", + "description": "The fabric name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "fabricAgentName", + "in": "path", + "description": "The fabric agent name.", + "required": true, + "type": "string", + "pattern": "^[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/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Deletes the Fabric Agent": { + "$ref": "./examples/FabricAgent_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults": { + "get": { + "operationId": "Vault_List", + "tags": [ + "Vault" + ], + "description": "Gets the list of vaults in the given subscription and 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": "continuationToken", + "in": "query", + "description": "Continuation token from the previous call.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/VaultModelListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Lists the vaults.": { + "$ref": "./examples/Vault_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}": { + "get": { + "operationId": "Vault_Get", + "tags": [ + "Vault" + ], + "description": "Gets the details of the 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": "vaultName", + "in": "path", + "description": "The vault name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/VaultModel" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Gets the vault.": { + "$ref": "./examples/Vault_Get.json" + } + } + }, + "put": { + "operationId": "Vault_Create", + "tags": [ + "Vault" + ], + "description": "Creates the 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": "vaultName", + "in": "path", + "description": "The vault name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "body", + "in": "body", + "description": "Vault properties.", + "required": true, + "schema": { + "$ref": "#/definitions/VaultModel" + } + } + ], + "responses": { + "200": { + "description": "Resource 'VaultModel' update operation succeeded", + "schema": { + "$ref": "#/definitions/VaultModel" + } + }, + "201": { + "description": "Resource 'VaultModel' create operation succeeded", + "schema": { + "$ref": "#/definitions/VaultModel" + }, + "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": { + "Puts the vault.": { + "$ref": "./examples/Vault_Create.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Vault_Update", + "tags": [ + "Vault" + ], + "description": "Performs update on the 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": "vaultName", + "in": "path", + "description": "The vault name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "body", + "in": "body", + "description": "Vault properties.", + "required": true, + "schema": { + "$ref": "#/definitions/VaultModelUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/VaultModel" + } + }, + "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": { + "Updates the vault.": { + "$ref": "./examples/Vault_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Vault_Delete", + "tags": [ + "Vault" + ], + "description": "Removes the 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": "vaultName", + "in": "path", + "description": "The vault name.", + "required": true, + "type": "string", + "pattern": "^[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/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Deletes the vault.": { + "$ref": "./examples/Vault_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/alertSettings": { + "get": { + "operationId": "EmailConfiguration_List", + "tags": [ + "EmailConfiguration" + ], + "description": "Gets the list of alert configuration settings for the given 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": "vaultName", + "in": "path", + "description": "The vault name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EmailConfigurationModelListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Lists the email configuration settings": { + "$ref": "./examples/EmailConfiguration_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/alertSettings/{emailConfigurationName}": { + "get": { + "operationId": "EmailConfiguration_Get", + "tags": [ + "EmailConfiguration" + ], + "description": "Gets the details of the alert configuration 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" + }, + { + "name": "vaultName", + "in": "path", + "description": "The vault name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "emailConfigurationName", + "in": "path", + "description": "The email configuration name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EmailConfigurationModel" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Gets the email configuration setting.": { + "$ref": "./examples/EmailConfiguration_Get.json" + } + } + }, + "put": { + "operationId": "EmailConfiguration_Create", + "tags": [ + "EmailConfiguration" + ], + "description": "Creates an alert configuration setting for the given 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": "vaultName", + "in": "path", + "description": "The vault name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "emailConfigurationName", + "in": "path", + "description": "The email configuration name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "body", + "in": "body", + "description": "EmailConfiguration model.", + "required": true, + "schema": { + "$ref": "#/definitions/EmailConfigurationModel" + } + } + ], + "responses": { + "200": { + "description": "Resource 'EmailConfigurationModel' update operation succeeded", + "schema": { + "$ref": "#/definitions/EmailConfigurationModel" + } + }, + "201": { + "description": "Resource 'EmailConfigurationModel' create operation succeeded", + "schema": { + "$ref": "#/definitions/EmailConfigurationModel" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Creates email configuration settings.": { + "$ref": "./examples/EmailConfiguration_Create.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/events": { + "get": { + "operationId": "Event_List", + "tags": [ + "Event" + ], + "description": "Gets the list of events in the given 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": "odataOptions", + "in": "query", + "description": "OData options.", + "required": false, + "type": "string" + }, + { + "name": "continuationToken", + "in": "query", + "description": "Continuation token.", + "required": false, + "type": "string" + }, + { + "name": "pageSize", + "in": "query", + "description": "Page size.", + "required": false, + "type": "integer", + "format": "int32" + }, + { + "name": "vaultName", + "in": "path", + "description": "The vault name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EventModelListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Lists the events.": { + "$ref": "./examples/Event_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/events/{eventName}": { + "get": { + "operationId": "Event_Get", + "tags": [ + "Event" + ], + "description": "Gets the details of the event.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/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": "vaultName", + "in": "path", + "description": "The vault name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "eventName", + "in": "path", + "description": "The event name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EventModel" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Gets the event.": { + "$ref": "./examples/Event_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/jobs": { + "get": { + "operationId": "Job_List", + "tags": [ + "Job" + ], + "description": "Gets the list of jobs in the given 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": "odataOptions", + "in": "query", + "description": "OData options.", + "required": false, + "type": "string" + }, + { + "name": "continuationToken", + "in": "query", + "description": "Continuation token.", + "required": false, + "type": "string" + }, + { + "name": "pageSize", + "in": "query", + "description": "Page size.", + "required": false, + "type": "integer", + "format": "int32" + }, + { + "name": "vaultName", + "in": "path", + "description": "The vault name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/JobModelListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Lists the jobs.": { + "$ref": "./examples/Job_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/jobs/{jobName}": { + "get": { + "operationId": "Job_Get", + "tags": [ + "Job" + ], + "description": "Gets the details of the job.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/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": "vaultName", + "in": "path", + "description": "The vault name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "jobName", + "in": "path", + "description": "The job name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/JobModel" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Gets the job.": { + "$ref": "./examples/Job_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/privateEndpointConnectionProxies": { + "get": { + "operationId": "PrivateEndpointConnectionProxies_List", + "tags": [ + "PrivateEndpointConnectionProxies" + ], + "description": "Gets the all private endpoint connections proxies.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/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": "vaultName", + "in": "path", + "description": "The vault name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnectionProxyListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Lists the Private Endpoint Connection Proxy": { + "$ref": "./examples/PrivateEndpointConnectionProxy_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/privateEndpointConnectionProxies/{privateEndpointConnectionProxyName}": { + "get": { + "operationId": "PrivateEndpointConnectionProxies_Get", + "tags": [ + "PrivateEndpointConnectionProxies" + ], + "description": "Gets the private endpoint connection proxy details.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/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": "vaultName", + "in": "path", + "description": "The vault name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "privateEndpointConnectionProxyName", + "in": "path", + "description": "The private endpoint connection proxy name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-.]*$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnectionProxy" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Private Endpoint Connection Proxy": { + "$ref": "./examples/PrivateEndpointConnectionProxy_Get.json" + } + } + }, + "put": { + "operationId": "PrivateEndpointConnectionProxies_Create", + "tags": [ + "PrivateEndpointConnectionProxies" + ], + "description": "Create a new private endpoint connection proxy which includes both auto and manual approval types. Creating the proxy resource will also create a private endpoint connection resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/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": "vaultName", + "in": "path", + "description": "The vault name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "privateEndpointConnectionProxyName", + "in": "path", + "description": "The private endpoint connection proxy name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-.]*$" + }, + { + "name": "body", + "in": "body", + "description": "Private endpoint connection creation input.", + "required": true, + "schema": { + "$ref": "#/definitions/PrivateEndpointConnectionProxy" + } + } + ], + "responses": { + "200": { + "description": "Resource 'PrivateEndpointConnectionProxy' update operation succeeded", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnectionProxy" + } + }, + "201": { + "description": "Resource 'PrivateEndpointConnectionProxy' create operation succeeded", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnectionProxy" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Creates the Private Endpoint Connection Proxy.": { + "$ref": "./examples/PrivateEndpointConnectionProxy_Create.json" + } + } + }, + "delete": { + "operationId": "PrivateEndpointConnectionProxies_Delete", + "tags": [ + "PrivateEndpointConnectionProxies" + ], + "description": "Returns the operation to track the deletion of private endpoint connection proxy.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/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": "vaultName", + "in": "path", + "description": "The vault name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "privateEndpointConnectionProxyName", + "in": "path", + "description": "The private endpoint connection proxy name.", + "required": true, + "type": "string", + "pattern": "^[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/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Deletes the Private Endpoint Proxy Connection": { + "$ref": "./examples/PrivateEndpointConnectionProxy_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/privateEndpointConnectionProxies/{privateEndpointConnectionProxyName}/validate": { + "post": { + "operationId": "PrivateEndpointConnectionProxies_Validate", + "tags": [ + "PrivateEndpointConnectionProxies" + ], + "description": "Returns remote private endpoint connection information after validation.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/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": "vaultName", + "in": "path", + "description": "The vault name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "privateEndpointConnectionProxyName", + "in": "path", + "description": "The private endpoint connection proxy name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-.]*$" + }, + { + "name": "body", + "in": "body", + "description": "The private endpoint connection proxy input.", + "required": true, + "schema": { + "$ref": "#/definitions/PrivateEndpointConnectionProxy" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnectionProxy" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Validates the Private Endpoint Connection Proxy": { + "$ref": "./examples/PrivateEndpointConnectionProxy_Validate.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/privateEndpointConnections": { + "get": { + "operationId": "PrivateEndpointConnections_List", + "tags": [ + "PrivateEndpointConnections" + ], + "description": "Gets the all private endpoint connections configured on the 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": "vaultName", + "in": "path", + "description": "The vault name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnectionListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Lists the Private Endpoint Connections.": { + "$ref": "./examples/PrivateEndpointConnection_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/privateEndpointConnections/{privateEndpointConnectionName}": { + "get": { + "operationId": "PrivateEndpointConnections_Get", + "tags": [ + "PrivateEndpointConnections" + ], + "description": "Gets the private endpoint connection details.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/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": "vaultName", + "in": "path", + "description": "The vault name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "privateEndpointConnectionName", + "in": "path", + "description": "The private endpoint connection name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Gets the Private Endpoint Connection": { + "$ref": "./examples/PrivateEndpointConnection_Get.json" + } + } + }, + "put": { + "operationId": "PrivateEndpointConnections_Update", + "tags": [ + "PrivateEndpointConnections" + ], + "description": "Updated the private endpoint connection status (Approval/Rejected). This gets invoked by resource admin.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/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": "vaultName", + "in": "path", + "description": "The vault name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "privateEndpointConnectionName", + "in": "path", + "description": "The private endpoint connection name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "body", + "in": "body", + "description": "Private endpoint connection update input.", + "required": true, + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + } + ], + "responses": { + "200": { + "description": "Resource 'PrivateEndpointConnection' update operation succeeded", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + }, + "201": { + "description": "Resource 'PrivateEndpointConnection' create operation succeeded", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Updates the Private Endpoint Connection.": { + "$ref": "./examples/PrivateEndpointConnection_Update.json" + } + } + }, + "delete": { + "operationId": "PrivateEndpointConnections_Delete", + "tags": [ + "PrivateEndpointConnections" + ], + "description": "Deletes the private endpoint connection.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/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": "vaultName", + "in": "path", + "description": "The vault name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "privateEndpointConnectionName", + "in": "path", + "description": "The private endpoint connection name.", + "required": true, + "type": "string", + "pattern": "^[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/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Deletes the Private Endpoint Connection": { + "$ref": "./examples/PrivateEndpointConnection_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/privateLinkResources": { + "get": { + "operationId": "PrivateLinkResources_List", + "tags": [ + "PrivateLinkResources" + ], + "description": "Gets the list of private link resources.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/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": "vaultName", + "in": "path", + "description": "The vault name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/PrivateLinkResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PrivateLinkResource_List - generated by [MaximumSet] rule": { + "$ref": "./examples/PrivateLinkResource_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/privateLinkResources/{privateLinkResourceName}": { + "get": { + "operationId": "PrivateLinkResources_Get", + "tags": [ + "PrivateLinkResources" + ], + "description": "Gets the details of site recovery private link resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/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": "vaultName", + "in": "path", + "description": "The vault name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "privateLinkResourceName", + "in": "path", + "description": "The private link name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-.]*$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/PrivateLinkResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Private Link Resource": { + "$ref": "./examples/PrivateLinkResource_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/protectedItems": { + "get": { + "operationId": "ProtectedItem_List", + "tags": [ + "ProtectedItem" + ], + "description": "Gets the list of protected items in the given 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": "odataOptions", + "in": "query", + "description": "OData options.", + "required": false, + "type": "string" + }, + { + "name": "continuationToken", + "in": "query", + "description": "Continuation token.", + "required": false, + "type": "string" + }, + { + "name": "pageSize", + "in": "query", + "description": "Page size.", + "required": false, + "type": "integer", + "format": "int32" + }, + { + "name": "vaultName", + "in": "path", + "description": "The vault name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ProtectedItemModelListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Lists the protected items.": { + "$ref": "./examples/ProtectedItem_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/protectedItems/{protectedItemName}": { + "get": { + "operationId": "ProtectedItem_Get", + "tags": [ + "ProtectedItem" + ], + "description": "Gets the details of the protected item.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/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": "vaultName", + "in": "path", + "description": "The vault name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "protectedItemName", + "in": "path", + "description": "The protected item name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ProtectedItemModel" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Gets the protected item.": { + "$ref": "./examples/ProtectedItem_Get.json" + } + } + }, + "put": { + "operationId": "ProtectedItem_Create", + "tags": [ + "ProtectedItem" + ], + "description": "Creates the protected item.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/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": "vaultName", + "in": "path", + "description": "The vault name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "protectedItemName", + "in": "path", + "description": "The protected item name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "body", + "in": "body", + "description": "Protected item model.", + "required": true, + "schema": { + "$ref": "#/definitions/ProtectedItemModel" + } + } + ], + "responses": { + "200": { + "description": "Resource 'ProtectedItemModel' update operation succeeded", + "schema": { + "$ref": "#/definitions/ProtectedItemModel" + } + }, + "201": { + "description": "Resource 'ProtectedItemModel' create operation succeeded", + "schema": { + "$ref": "#/definitions/ProtectedItemModel" + }, + "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": { + "Puts the protected item.": { + "$ref": "./examples/ProtectedItem_Create.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "ProtectedItem_Update", + "tags": [ + "ProtectedItem" + ], + "description": "Performs update on the protected item.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/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": "vaultName", + "in": "path", + "description": "The vault name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "protectedItemName", + "in": "path", + "description": "The protected item name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "body", + "in": "body", + "description": "Protected item model.", + "required": true, + "schema": { + "$ref": "#/definitions/ProtectedItemModelUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ProtectedItemModel" + } + }, + "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": { + "Update Protected Item": { + "$ref": "./examples/ProtectedItem_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "ProtectedItem_Delete", + "tags": [ + "ProtectedItem" + ], + "description": "Removes the protected item.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/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": "forceDelete", + "in": "query", + "description": "A flag indicating whether to do force delete or not.", + "required": false, + "type": "boolean" + }, + { + "name": "vaultName", + "in": "path", + "description": "The vault name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "protectedItemName", + "in": "path", + "description": "The protected item name.", + "required": true, + "type": "string", + "pattern": "^[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/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Deletes the protected item.": { + "$ref": "./examples/ProtectedItem_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/protectedItems/{protectedItemName}/plannedFailover": { + "post": { + "operationId": "ProtectedItem_PlannedFailover", + "tags": [ + "ProtectedItem" + ], + "description": "Performs the planned failover on the protected item.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/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": "vaultName", + "in": "path", + "description": "The vault name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "protectedItemName", + "in": "path", + "description": "The protected item name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "body", + "in": "body", + "description": "Planned failover model.", + "required": true, + "schema": { + "$ref": "#/definitions/PlannedFailoverModel" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/PlannedFailoverModel" + } + }, + "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": { + "Performs planned failover.": { + "$ref": "./examples/ProtectedItem_PlannedFailover.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/protectedItems/{protectedItemName}/recoveryPoints": { + "get": { + "operationId": "RecoveryPoint_List", + "tags": [ + "RecoveryPoint" + ], + "description": "Gets the list of recovery points of the given protected item.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/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": "vaultName", + "in": "path", + "description": "The vault name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "protectedItemName", + "in": "path", + "description": "The protected item name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/RecoveryPointModelListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Lists the recovery points.": { + "$ref": "./examples/RecoveryPoints_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/protectedItems/{protectedItemName}/recoveryPoints/{recoveryPointName}": { + "get": { + "operationId": "RecoveryPoint_Get", + "tags": [ + "RecoveryPoint" + ], + "description": "Gets the details of the recovery point of a protected item.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/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": "vaultName", + "in": "path", + "description": "The vault name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "protectedItemName", + "in": "path", + "description": "The protected item name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "recoveryPointName", + "in": "path", + "description": "The recovery point name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/RecoveryPointModel" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Gets the recovery point.": { + "$ref": "./examples/RecoveryPoints_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/replicationExtensions": { + "get": { + "operationId": "ReplicationExtension_List", + "tags": [ + "ReplicationExtension" + ], + "description": "Gets the list of replication extensions in the given 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": "vaultName", + "in": "path", + "description": "The vault name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ReplicationExtensionModelListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Lists the replication extensions.": { + "$ref": "./examples/ReplicationExtension_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/replicationExtensions/{replicationExtensionName}": { + "get": { + "operationId": "ReplicationExtension_Get", + "tags": [ + "ReplicationExtension" + ], + "description": "Gets the details of the replication extension.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/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": "vaultName", + "in": "path", + "description": "The vault name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "replicationExtensionName", + "in": "path", + "description": "The replication extension name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ReplicationExtensionModel" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Gets the replication extension.": { + "$ref": "./examples/ReplicationExtension_Get.json" + } + } + }, + "put": { + "operationId": "ReplicationExtension_Create", + "tags": [ + "ReplicationExtension" + ], + "description": "Creates the replication extension in the given 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": "vaultName", + "in": "path", + "description": "The vault name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "replicationExtensionName", + "in": "path", + "description": "The replication extension name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "body", + "in": "body", + "description": "Replication extension model.", + "required": true, + "schema": { + "$ref": "#/definitions/ReplicationExtensionModel" + } + } + ], + "responses": { + "200": { + "description": "Resource 'ReplicationExtensionModel' update operation succeeded", + "schema": { + "$ref": "#/definitions/ReplicationExtensionModel" + } + }, + "201": { + "description": "Resource 'ReplicationExtensionModel' create operation succeeded", + "schema": { + "$ref": "#/definitions/ReplicationExtensionModel" + }, + "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": { + "Puts the replication extension.": { + "$ref": "./examples/ReplicationExtension_Create.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "ReplicationExtension_Delete", + "tags": [ + "ReplicationExtension" + ], + "description": "Deletes the replication extension in the given 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": "vaultName", + "in": "path", + "description": "The vault name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "replicationExtensionName", + "in": "path", + "description": "The replication extension name.", + "required": true, + "type": "string", + "pattern": "^[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/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Deletes the replication extension.": { + "$ref": "./examples/ReplicationExtension_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/replicationPolicies": { + "get": { + "operationId": "Policy_List", + "tags": [ + "Policy" + ], + "description": "Gets the list of policies in the given 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": "vaultName", + "in": "path", + "description": "The vault name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/PolicyModelListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Lists the policies.": { + "$ref": "./examples/Policy_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/replicationPolicies/{policyName}": { + "get": { + "operationId": "Policy_Get", + "tags": [ + "Policy" + ], + "description": "Gets the details of the 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": "vaultName", + "in": "path", + "description": "The vault name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "policyName", + "in": "path", + "description": "The policy name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/PolicyModel" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Gets the policy.": { + "$ref": "./examples/Policy_Get.json" + } + } + }, + "put": { + "operationId": "Policy_Create", + "tags": [ + "Policy" + ], + "description": "Creates the 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": "vaultName", + "in": "path", + "description": "The vault name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "policyName", + "in": "path", + "description": "The policy name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "body", + "in": "body", + "description": "Policy model.", + "required": true, + "schema": { + "$ref": "#/definitions/PolicyModel" + } + } + ], + "responses": { + "200": { + "description": "Resource 'PolicyModel' update operation succeeded", + "schema": { + "$ref": "#/definitions/PolicyModel" + } + }, + "201": { + "description": "Resource 'PolicyModel' create operation succeeded", + "schema": { + "$ref": "#/definitions/PolicyModel" + }, + "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": { + "Puts the policy.": { + "$ref": "./examples/Policy_Create.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Policy_Delete", + "tags": [ + "Policy" + ], + "description": "Removes the 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": "vaultName", + "in": "path", + "description": "The vault name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "policyName", + "in": "path", + "description": "The policy name.", + "required": true, + "type": "string", + "pattern": "^[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/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Deletes the policy.": { + "$ref": "./examples/Policy_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + } + }, + "definitions": { + "AzStackHCIClusterProperties": { + "type": "object", + "description": "AzStackHCI cluster properties.", + "properties": { + "clusterName": { + "type": "string", + "description": "Gets or sets the AzStackHCICluster FQDN name.", + "minLength": 1 + }, + "resourceName": { + "type": "string", + "description": "Gets or sets the AzStackHCICluster resource name.", + "minLength": 1 + }, + "storageAccountName": { + "type": "string", + "description": "Gets or sets the Storage account name.", + "minLength": 1 + }, + "storageContainers": { + "type": "array", + "description": "Gets or sets the list of AzStackHCICluster Storage Container.", + "items": { + "$ref": "#/definitions/StorageContainerProperties" + }, + "x-ms-identifiers": [] + } + }, + "required": [ + "clusterName", + "resourceName", + "storageAccountName", + "storageContainers" + ] + }, + "AzStackHCIFabricModelCustomProperties": { + "type": "object", + "description": "AzStackHCI fabric model custom properties.", + "properties": { + "azStackHciSiteId": { + "type": "string", + "description": "Gets or sets the ARM Id of the AzStackHCI site.", + "minLength": 1 + }, + "applianceName": { + "type": "array", + "description": "Gets or sets the Appliance name.", + "items": { + "type": "string" + }, + "readOnly": true + }, + "cluster": { + "$ref": "#/definitions/AzStackHCIClusterProperties", + "description": "AzStackHCI cluster properties." + }, + "fabricResourceId": { + "type": "string", + "description": "Gets or sets the fabric resource Id.", + "readOnly": true + }, + "fabricContainerId": { + "type": "string", + "description": "Gets or sets the fabric container Id.", + "readOnly": true + }, + "migrationSolutionId": { + "type": "string", + "description": "Gets or sets the Migration solution ARM Id.", + "minLength": 1 + }, + "migrationHubUri": { + "type": "string", + "description": "Gets or sets the migration hub Uri.", + "readOnly": true + } + }, + "required": [ + "azStackHciSiteId", + "cluster", + "migrationSolutionId" + ], + "allOf": [ + { + "$ref": "#/definitions/FabricModelCustomProperties" + } + ], + "x-ms-discriminator-value": "AzStackHCI" + }, + "CheckNameAvailabilityModel": { + "type": "object", + "description": "Check name availability model.", + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the resource name." + }, + "type": { + "type": "string", + "description": "Gets or sets the resource type." + } + } + }, + "CheckNameAvailabilityResponseModel": { + "type": "object", + "description": "Check name availability response model.", + "properties": { + "nameAvailable": { + "type": "boolean", + "description": "Gets or sets a value indicating whether resource name is available or not." + }, + "reason": { + "type": "string", + "description": "Gets or sets the reason for resource name unavailability." + }, + "message": { + "type": "string", + "description": "Gets or sets the message for resource name unavailability." + } + } + }, + "ConnectionDetails": { + "type": "object", + "description": "Private endpoint connection details at member level.", + "properties": { + "id": { + "type": "string", + "description": "Gets or sets id." + }, + "privateIpAddress": { + "type": "string", + "description": "Gets or sets private IP address." + }, + "linkIdentifier": { + "type": "string", + "description": "Gets or sets link identifier." + }, + "groupId": { + "type": "string", + "description": "Gets or sets group id." + }, + "memberName": { + "type": "string", + "description": "Gets or sets member name." + } + } + }, + "DeploymentPreflightModel": { + "type": "object", + "description": "Deployment preflight model.", + "properties": { + "resources": { + "type": "array", + "description": "Gets or sets the list of resources.", + "items": { + "$ref": "#/definitions/DeploymentPreflightResource" + }, + "x-ms-identifiers": [] + } + } + }, + "DeploymentPreflightResource": { + "type": "object", + "description": "Deployment preflight resource.", + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the resource name." + }, + "type": { + "type": "string", + "description": "Gets or sets the resource type." + }, + "location": { + "type": "string", + "description": "Gets or sets the location of the resource.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "apiVersion": { + "type": "string", + "description": "Gets or sets the Api version." + }, + "properties": { + "description": "Gets or sets the properties of the resource." + } + } + }, + "DiskControllerInputs": { + "type": "object", + "description": "Disk controller.", + "properties": { + "controllerName": { + "type": "string", + "description": "Gets or sets the controller name (IDE,SCSI).", + "minLength": 1 + }, + "controllerId": { + "type": "integer", + "format": "int32", + "description": "Gets or sets the controller ID." + }, + "controllerLocation": { + "type": "integer", + "format": "int32", + "description": "Gets or sets the controller Location." + } + }, + "required": [ + "controllerName", + "controllerId", + "controllerLocation" + ] + }, + "EmailConfigurationModel": { + "type": "object", + "description": "Email configuration model.", + "properties": { + "properties": { + "$ref": "#/definitions/EmailConfigurationModelProperties", + "description": "The resource-specific properties for this resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] + }, + "EmailConfigurationModelListResult": { + "type": "object", + "description": "The response of a EmailConfigurationModel list operation.", + "properties": { + "value": { + "type": "array", + "description": "The EmailConfigurationModel items on this page", + "items": { + "$ref": "#/definitions/EmailConfigurationModel" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "EmailConfigurationModelProperties": { + "type": "object", + "description": "Email configuration model properties.", + "properties": { + "sendToOwners": { + "type": "boolean", + "description": "Gets or sets a value indicating whether to send email to subscription administrator." + }, + "customEmailAddresses": { + "type": "array", + "description": "Gets or sets the custom email address for sending emails.", + "items": { + "type": "string" + } + }, + "locale": { + "type": "string", + "description": "Gets or sets the locale for the email notification." + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Gets or sets the provisioning state of the email configuration.", + "readOnly": true + } + }, + "required": [ + "sendToOwners" + ] + }, + "ErrorModel": { + "type": "object", + "description": "Error model.", + "properties": { + "code": { + "type": "string", + "description": "Gets or sets the error code.", + "readOnly": true + }, + "type": { + "type": "string", + "description": "Gets or sets the error type.", + "readOnly": true + }, + "severity": { + "type": "string", + "description": "Gets or sets the error severity.", + "readOnly": true + }, + "creationTime": { + "type": "string", + "format": "date-time", + "description": "Gets or sets the creation time of error.", + "readOnly": true + }, + "message": { + "type": "string", + "description": "Gets or sets the error message.", + "readOnly": true + }, + "causes": { + "type": "string", + "description": "Gets or sets the possible causes of error.", + "readOnly": true + }, + "recommendation": { + "type": "string", + "description": "Gets or sets the recommended action to resolve error.", + "readOnly": true + } + } + }, + "EventModel": { + "type": "object", + "description": "Event model.", + "properties": { + "properties": { + "$ref": "#/definitions/EventModelProperties", + "description": "The resource-specific properties for this resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] + }, + "EventModelCustomProperties": { + "type": "object", + "description": "Event model custom properties.", + "properties": { + "instanceType": { + "type": "string", + "description": "Discriminator property for EventModelCustomProperties." + } + }, + "discriminator": "instanceType", + "required": [ + "instanceType" + ] + }, + "EventModelListResult": { + "type": "object", + "description": "The response of a EventModel list operation.", + "properties": { + "value": { + "type": "array", + "description": "The EventModel items on this page", + "items": { + "$ref": "#/definitions/EventModel" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "EventModelProperties": { + "type": "object", + "description": "Event model properties.", + "properties": { + "resourceType": { + "type": "string", + "description": "Gets or sets the resource type.", + "readOnly": true + }, + "resourceName": { + "type": "string", + "description": "Gets or sets the resource name.", + "readOnly": true + }, + "eventType": { + "type": "string", + "description": "Gets or sets the event type.", + "readOnly": true + }, + "eventName": { + "type": "string", + "description": "Gets or sets the event name.", + "readOnly": true + }, + "timeOfOccurrence": { + "type": "string", + "format": "date-time", + "description": "Gets or sets the time at which the event occurred at source.", + "readOnly": true + }, + "severity": { + "type": "string", + "description": "Gets or sets the event severity.", + "readOnly": true + }, + "description": { + "type": "string", + "description": "Gets or sets the event description.", + "readOnly": true + }, + "correlationId": { + "type": "string", + "description": "Gets or sets the event correlation Id.", + "readOnly": true + }, + "healthErrors": { + "type": "array", + "description": "Gets or sets the errors associated with this event.", + "items": { + "$ref": "#/definitions/HealthErrorModel" + }, + "readOnly": true, + "x-ms-identifiers": [] + }, + "customProperties": { + "$ref": "#/definitions/EventModelCustomProperties", + "description": "Event model custom properties." + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Gets or sets the provisioning state of the event.", + "readOnly": true + } + }, + "required": [ + "customProperties" + ] + }, + "FabricAgentModel": { + "type": "object", + "description": "Fabric agent model.", + "properties": { + "properties": { + "$ref": "#/definitions/FabricAgentModelProperties", + "description": "The resource-specific properties for this resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] + }, + "FabricAgentModelCustomProperties": { + "type": "object", + "description": "Fabric agent model custom properties.", + "properties": { + "instanceType": { + "type": "string", + "description": "Discriminator property for FabricAgentModelCustomProperties." + } + }, + "discriminator": "instanceType", + "required": [ + "instanceType" + ] + }, + "FabricAgentModelListResult": { + "type": "object", + "description": "The response of a FabricAgentModel list operation.", + "properties": { + "value": { + "type": "array", + "description": "The FabricAgentModel items on this page", + "items": { + "$ref": "#/definitions/FabricAgentModel" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "FabricAgentModelProperties": { + "type": "object", + "description": "Fabric agent model properties.", + "properties": { + "correlationId": { + "type": "string", + "description": "Gets or sets the fabric agent correlation Id.", + "readOnly": true + }, + "machineId": { + "type": "string", + "description": "Gets or sets the machine Id where fabric agent is running.", + "minLength": 1 + }, + "machineName": { + "type": "string", + "description": "Gets or sets the machine name where fabric agent is running.", + "minLength": 1 + }, + "authenticationIdentity": { + "$ref": "#/definitions/IdentityModel", + "description": "Identity model." + }, + "resourceAccessIdentity": { + "$ref": "#/definitions/IdentityModel", + "description": "Identity model." + }, + "isResponsive": { + "type": "boolean", + "description": "Gets or sets a value indicating whether the fabric agent is responsive.", + "readOnly": true + }, + "lastHeartbeat": { + "type": "string", + "format": "date-time", + "description": "Gets or sets the time when last heartbeat was sent by the fabric agent.", + "readOnly": true + }, + "versionNumber": { + "type": "string", + "description": "Gets or sets the fabric agent version.", + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Gets or sets the provisioning state of the fabric agent.", + "readOnly": true + }, + "healthErrors": { + "type": "array", + "description": "Gets or sets the list of health errors.", + "items": { + "$ref": "#/definitions/HealthErrorModel" + }, + "readOnly": true, + "x-ms-identifiers": [] + }, + "customProperties": { + "$ref": "#/definitions/FabricAgentModelCustomProperties", + "description": "Fabric agent model custom properties." + } + }, + "required": [ + "machineId", + "machineName", + "authenticationIdentity", + "resourceAccessIdentity", + "customProperties" + ] + }, + "FabricModel": { + "type": "object", + "description": "Fabric model.", + "properties": { + "properties": { + "$ref": "#/definitions/FabricModelProperties", + "description": "The resource-specific properties for this resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" + } + ] + }, + "FabricModelCustomProperties": { + "type": "object", + "description": "Fabric model custom properties.", + "properties": { + "instanceType": { + "type": "string", + "description": "Discriminator property for FabricModelCustomProperties." + } + }, + "discriminator": "instanceType", + "required": [ + "instanceType" + ] + }, + "FabricModelListResult": { + "type": "object", + "description": "The response of a FabricModel list operation.", + "properties": { + "value": { + "type": "array", + "description": "The FabricModel items on this page", + "items": { + "$ref": "#/definitions/FabricModel" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "FabricModelProperties": { + "type": "object", + "description": "Fabric model properties.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Gets or sets the provisioning state of the fabric.", + "readOnly": true + }, + "serviceEndpoint": { + "type": "string", + "description": "Gets or sets the service endpoint.", + "readOnly": true + }, + "serviceResourceId": { + "type": "string", + "description": "Gets or sets the service resource Id.", + "readOnly": true + }, + "health": { + "$ref": "#/definitions/HealthStatus", + "description": "Gets or sets the fabric health.", + "readOnly": true + }, + "healthErrors": { + "type": "array", + "description": "Gets or sets the list of health errors.", + "items": { + "$ref": "#/definitions/HealthErrorModel" + }, + "readOnly": true, + "x-ms-identifiers": [] + }, + "customProperties": { + "$ref": "#/definitions/FabricModelCustomProperties", + "description": "Fabric model custom properties." + } + }, + "required": [ + "customProperties" + ] + }, + "FabricModelUpdate": { + "type": "object", + "description": "Fabric model update.", + "properties": { + "tags": { + "type": "object", + "description": "Gets or sets the resource tags.", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "$ref": "#/definitions/FabricModelProperties", + "description": "Fabric model properties." + }, + "id": { + "type": "string", + "description": "Gets or sets the Id of the resource.", + "readOnly": true + }, + "name": { + "type": "string", + "description": "Gets or sets the name of the resource.", + "readOnly": true + }, + "type": { + "type": "string", + "description": "Gets or sets the type of the resource.", + "readOnly": true + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/systemData", + "description": "Metadata pertaining to creation and last modification of the resource.", + "readOnly": true + } + } + }, + "FailoverJobModelCustomProperties": { + "type": "object", + "description": "Failover job model custom properties.", + "properties": { + "protectedItemDetails": { + "type": "array", + "description": "Gets or sets the failed over protected item details.", + "items": { + "$ref": "#/definitions/FailoverProtectedItemProperties" + }, + "readOnly": true, + "x-ms-identifiers": [] + } + }, + "allOf": [ + { + "$ref": "#/definitions/JobModelCustomProperties" + } + ], + "x-ms-discriminator-value": "FailoverJobDetails" + }, + "FailoverProtectedItemProperties": { + "type": "object", + "description": "Failover properties of the protected item.", + "properties": { + "protectedItemName": { + "type": "string", + "description": "Gets or sets the protected item name.", + "readOnly": true + }, + "vmName": { + "type": "string", + "description": "Gets or sets the VM name.", + "readOnly": true + }, + "testVmName": { + "type": "string", + "description": "Gets or sets the test VM name.", + "readOnly": true + }, + "recoveryPointId": { + "type": "string", + "description": "Gets or sets the recovery point Id.", + "readOnly": true + }, + "recoveryPointTime": { + "type": "string", + "format": "date-time", + "description": "Gets or sets the recovery point time.", + "readOnly": true + }, + "networkName": { + "type": "string", + "description": "Gets or sets the network name.", + "readOnly": true + }, + "subnet": { + "type": "string", + "description": "Gets or sets the network subnet.", + "readOnly": true + } + } + }, + "GroupConnectivityInformation": { + "type": "object", + "description": "Represents of a connection's group information.", + "properties": { + "groupId": { + "type": "string", + "description": "Gets or sets group id." + }, + "memberName": { + "type": "string", + "description": "Gets or sets member name." + }, + "customerVisibleFqdns": { + "type": "array", + "description": "Gets or sets customer visible FQDNs.", + "items": { + "type": "string" + } + }, + "internalFqdn": { + "type": "string", + "description": "Gets or sets Internal Fqdn." + }, + "redirectMapId": { + "type": "string", + "description": "Gets or sets the redirect map id." + }, + "privateLinkServiceArmRegion": { + "type": "string", + "description": "Gets or sets the private link service arm region." + } + } + }, + "HealthErrorModel": { + "type": "object", + "description": "Health error model.", + "properties": { + "affectedResourceType": { + "type": "string", + "description": "Gets or sets the type of affected resource type." + }, + "affectedResourceCorrelationIds": { + "type": "array", + "description": "Gets or sets the list of affected resource correlation Ids. This can be used to uniquely identify the count of items affected by a specific category and severity as well as count of item affected by an specific issue.", + "items": { + "type": "string" + } + }, + "childErrors": { + "type": "array", + "description": "Gets or sets a list of child health errors associated with this error.", + "items": { + "$ref": "#/definitions/InnerHealthErrorModel" + }, + "x-ms-identifiers": [] + }, + "code": { + "type": "string", + "description": "Gets or sets the error code.", + "readOnly": true + }, + "healthCategory": { + "type": "string", + "description": "Gets or sets the health category.", + "readOnly": true + }, + "category": { + "type": "string", + "description": "Gets or sets the error category.", + "readOnly": true + }, + "severity": { + "type": "string", + "description": "Gets or sets the error severity.", + "readOnly": true + }, + "source": { + "type": "string", + "description": "Gets or sets the error source.", + "readOnly": true + }, + "creationTime": { + "type": "string", + "format": "date-time", + "description": "Gets or sets the error creation time.", + "readOnly": true + }, + "isCustomerResolvable": { + "type": "boolean", + "description": "Gets or sets a value indicating whether the error is customer resolvable.", + "readOnly": true + }, + "summary": { + "type": "string", + "description": "Gets or sets the error summary.", + "readOnly": true + }, + "message": { + "type": "string", + "description": "Gets or sets the error message.", + "readOnly": true + }, + "causes": { + "type": "string", + "description": "Gets or sets possible causes of the error.", + "readOnly": true + }, + "recommendation": { + "type": "string", + "description": "Gets or sets recommended action to resolve the error.", + "readOnly": true + } + } + }, + "HealthStatus": { + "type": "string", + "description": "Gets or sets the fabric health.", + "enum": [ + "Normal", + "Warning", + "Critical" + ], + "x-ms-enum": { + "name": "HealthStatus", + "modelAsString": true, + "values": [ + { + "name": "Normal", + "value": "Normal", + "description": "Healthy Status." + }, + { + "name": "Warning", + "value": "Warning", + "description": "Warning Status." + }, + { + "name": "Critical", + "value": "Critical", + "description": "Critical Status." + } + ] + } + }, + "HyperVMigrateFabricModelCustomProperties": { + "type": "object", + "description": "HyperV migrate fabric model custom properties.", + "properties": { + "hyperVSiteId": { + "type": "string", + "description": "Gets or sets the ARM Id of the HyperV site.", + "minLength": 1 + }, + "fabricResourceId": { + "type": "string", + "description": "Gets or sets the fabric resource Id.", + "readOnly": true + }, + "fabricContainerId": { + "type": "string", + "description": "Gets or sets the fabric container Id.", + "readOnly": true + }, + "migrationSolutionId": { + "type": "string", + "description": "Gets or sets the migration solution ARM Id.", + "minLength": 1 + }, + "migrationHubUri": { + "type": "string", + "description": "Gets or sets the migration hub Uri.", + "readOnly": true + } + }, + "required": [ + "hyperVSiteId", + "migrationSolutionId" + ], + "allOf": [ + { + "$ref": "#/definitions/FabricModelCustomProperties" + } + ], + "x-ms-discriminator-value": "HyperVMigrate" + }, + "HyperVToAzStackHCIDiskInput": { + "type": "object", + "description": "HyperVToAzStack disk input.", + "properties": { + "diskId": { + "type": "string", + "description": "Gets or sets the disk Id.", + "minLength": 1 + }, + "storageContainerId": { + "type": "string", + "description": "Gets or sets the target storage account ARM Id." + }, + "isDynamic": { + "type": "boolean", + "description": "Gets or sets a value indicating whether dynamic sizing is enabled on the virtual hard disk." + }, + "diskSizeGB": { + "type": "integer", + "format": "int64", + "description": "Gets or sets the disk size in GB." + }, + "diskFileFormat": { + "type": "string", + "description": "Gets or sets the type of the virtual hard disk, vhd or vhdx.", + "minLength": 1 + }, + "isOsDisk": { + "type": "boolean", + "description": "Gets or sets a value indicating whether disk is os disk." + }, + "diskBlockSize": { + "type": "integer", + "format": "int64", + "description": "Gets or sets a value of disk block size." + }, + "diskLogicalSectorSize": { + "type": "integer", + "format": "int64", + "description": "Gets or sets a value of disk logical sector size." + }, + "diskPhysicalSectorSize": { + "type": "integer", + "format": "int64", + "description": "Gets or sets a value of disk physical sector size." + }, + "diskIdentifier": { + "type": "string", + "description": "Gets or sets a value of disk identifier." + }, + "diskController": { + "$ref": "#/definitions/DiskControllerInputs", + "description": "Disk controller." + } + }, + "required": [ + "diskId", + "diskSizeGB", + "diskFileFormat", + "isOsDisk" + ] + }, + "HyperVToAzStackHCIEventModelCustomProperties": { + "type": "object", + "description": "HyperV to AzStackHCI event model custom properties. This class provides provider specific details for events of type DataContract.HealthEvents.HealthEventType.ProtectedItemHealth and DataContract.HealthEvents.HealthEventType.AgentHealth.", + "properties": { + "eventSourceFriendlyName": { + "type": "string", + "description": "Gets or sets the friendly name of the source which has raised this health event.", + "readOnly": true + }, + "protectedItemFriendlyName": { + "type": "string", + "description": "Gets or sets the protected item friendly name.", + "readOnly": true + }, + "sourceApplianceName": { + "type": "string", + "description": "Gets or sets the source appliance name.", + "readOnly": true + }, + "targetApplianceName": { + "type": "string", + "description": "Gets or sets the source target name.", + "readOnly": true + }, + "serverType": { + "type": "string", + "description": "Gets or sets the server type.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/EventModelCustomProperties" + } + ], + "x-ms-discriminator-value": "HyperVToAzStackHCI" + }, + "HyperVToAzStackHCINicInput": { + "type": "object", + "description": "HyperVToAzStackHCI NIC properties.", + "properties": { + "nicId": { + "type": "string", + "description": "Gets or sets the NIC Id.", + "minLength": 1 + }, + "networkName": { + "type": "string", + "description": "Gets or sets the network name.", + "readOnly": true + }, + "targetNetworkId": { + "type": "string", + "description": "Gets or sets the target network Id within AzStackHCI Cluster." + }, + "testNetworkId": { + "type": "string", + "description": "Gets or sets the target test network Id within AzStackHCI Cluster." + }, + "selectionTypeForFailover": { + "$ref": "#/definitions/VMNicSelection", + "description": "Gets or sets the selection type of the NIC." + }, + "isStaticIpMigrationEnabled": { + "type": "boolean", + "description": "Gets or sets a value indicating whether static ip migration is enabled." + }, + "isMacMigrationEnabled": { + "type": "boolean", + "description": "Gets or sets a value indicating whether mac address migration is enabled." + } + }, + "required": [ + "nicId", + "selectionTypeForFailover" + ] + }, + "HyperVToAzStackHCIPlannedFailoverModelCustomProperties": { + "type": "object", + "description": "HyperV to AzStackHCI planned failover model custom properties.", + "properties": { + "shutdownSourceVM": { + "type": "boolean", + "description": "Gets or sets a value indicating whether VM needs to be shut down." + } + }, + "required": [ + "shutdownSourceVM" + ], + "allOf": [ + { + "$ref": "#/definitions/PlannedFailoverModelCustomProperties" + } + ], + "x-ms-discriminator-value": "HyperVToAzStackHCI" + }, + "HyperVToAzStackHCIPolicyModelCustomProperties": { + "type": "object", + "description": "HyperV To AzStackHCI Policy model custom properties.", + "properties": { + "recoveryPointHistoryInMinutes": { + "type": "integer", + "format": "int32", + "description": "Gets or sets the duration in minutes until which the recovery points need to be stored." + }, + "crashConsistentFrequencyInMinutes": { + "type": "integer", + "format": "int32", + "description": "Gets or sets the crash consistent snapshot frequency (in minutes)." + }, + "appConsistentFrequencyInMinutes": { + "type": "integer", + "format": "int32", + "description": "Gets or sets the app consistent snapshot frequency (in minutes)." + } + }, + "required": [ + "recoveryPointHistoryInMinutes", + "crashConsistentFrequencyInMinutes", + "appConsistentFrequencyInMinutes" + ], + "allOf": [ + { + "$ref": "#/definitions/PolicyModelCustomProperties" + } + ], + "x-ms-discriminator-value": "HyperVToAzStackHCI" + }, + "HyperVToAzStackHCIProtectedDiskProperties": { + "type": "object", + "description": "HyperVToAzStackHCI protected disk properties.", + "properties": { + "storageContainerId": { + "type": "string", + "description": "Gets or sets the ARM Id of the storage container.", + "readOnly": true + }, + "storageContainerLocalPath": { + "type": "string", + "description": "Gets or sets the local path of the storage container.", + "readOnly": true + }, + "sourceDiskId": { + "type": "string", + "description": "Gets or sets the source disk Id.", + "readOnly": true + }, + "sourceDiskName": { + "type": "string", + "description": "Gets or sets the source disk Name.", + "readOnly": true + }, + "seedDiskName": { + "type": "string", + "description": "Gets or sets the seed disk name.", + "readOnly": true + }, + "testMigrateDiskName": { + "type": "string", + "description": "Gets or sets the test failover clone disk.", + "readOnly": true + }, + "migrateDiskName": { + "type": "string", + "description": "Gets or sets the failover clone disk.", + "readOnly": true + }, + "isOsDisk": { + "type": "boolean", + "description": "Gets or sets a value indicating whether the disk is the OS disk.", + "readOnly": true + }, + "capacityInBytes": { + "type": "integer", + "format": "int64", + "description": "Gets or sets the disk capacity in bytes.", + "readOnly": true + }, + "isDynamic": { + "type": "boolean", + "description": "Gets or sets a value indicating whether dynamic sizing is enabled on the virtual hard disk.", + "readOnly": true + }, + "diskType": { + "type": "string", + "description": "Gets or sets the disk type.", + "readOnly": true + }, + "diskBlockSize": { + "type": "integer", + "format": "int64", + "description": "Gets or sets a value of disk block size.", + "readOnly": true + }, + "diskLogicalSectorSize": { + "type": "integer", + "format": "int64", + "description": "Gets or sets a value of disk logical sector size.", + "readOnly": true + }, + "diskPhysicalSectorSize": { + "type": "integer", + "format": "int64", + "description": "Gets or sets a value of disk physical sector size.", + "readOnly": true + } + } + }, + "HyperVToAzStackHCIProtectedItemModelCustomProperties": { + "type": "object", + "description": "HyperV to AzStackHCI Protected item model custom properties.", + "properties": { + "activeLocation": { + "$ref": "#/definitions/ProtectedItemActiveLocation", + "description": "Gets or sets the location of the protected item.", + "readOnly": true + }, + "targetHciClusterId": { + "type": "string", + "description": "Gets or sets the Target HCI Cluster ARM Id.", + "minLength": 1 + }, + "targetArcClusterCustomLocationId": { + "type": "string", + "description": "Gets or sets the Target Arc Cluster Custom Location ARM Id.", + "minLength": 1 + }, + "targetAzStackHciClusterName": { + "type": "string", + "description": "Gets or sets the Target AzStackHCI cluster name.", + "readOnly": true + }, + "fabricDiscoveryMachineId": { + "type": "string", + "description": "Gets or sets the ARM Id of the discovered machine.", + "minLength": 1 + }, + "disksToInclude": { + "type": "array", + "description": "Gets or sets the list of disks to replicate.", + "items": { + "$ref": "#/definitions/HyperVToAzStackHCIDiskInput" + }, + "x-ms-identifiers": [] + }, + "nicsToInclude": { + "type": "array", + "description": "Gets or sets the list of VM NIC to replicate.", + "items": { + "$ref": "#/definitions/HyperVToAzStackHCINicInput" + }, + "x-ms-identifiers": [] + }, + "sourceVmName": { + "type": "string", + "description": "Gets or sets the source VM display name.", + "readOnly": true + }, + "sourceCpuCores": { + "type": "integer", + "format": "int32", + "description": "Gets or sets the source VM CPU cores.", + "readOnly": true + }, + "sourceMemoryInMegaBytes": { + "type": "number", + "format": "double", + "description": "Gets or sets the source VM ram memory size in megabytes.", + "readOnly": true + }, + "targetVmName": { + "type": "string", + "description": "Gets or sets the target VM display name." + }, + "targetResourceGroupId": { + "type": "string", + "description": "Gets or sets the target resource group ARM Id.", + "minLength": 1 + }, + "storageContainerId": { + "type": "string", + "description": "Gets or sets the target storage container ARM Id.", + "minLength": 1 + }, + "hyperVGeneration": { + "type": "string", + "description": "Gets or sets the hypervisor generation of the virtual machine.", + "minLength": 1 + }, + "targetNetworkId": { + "type": "string", + "description": "Gets or sets the target network Id within AzStackHCI Cluster." + }, + "testNetworkId": { + "type": "string", + "description": "Gets or sets the target test network Id within AzStackHCI Cluster." + }, + "targetCpuCores": { + "type": "integer", + "format": "int32", + "description": "Gets or sets the target CPU cores." + }, + "isDynamicRam": { + "type": "boolean", + "description": "Gets or sets a value indicating whether memory is dynamical." + }, + "dynamicMemoryConfig": { + "$ref": "#/definitions/ProtectedItemDynamicMemoryConfig", + "description": "Protected item dynamic memory config." + }, + "targetMemoryInMegaBytes": { + "type": "integer", + "format": "int32", + "description": "Gets or sets the target memory in mega-bytes." + }, + "runAsAccountId": { + "type": "string", + "description": "Gets or sets the Run As account Id.", + "minLength": 1 + }, + "sourceFabricAgentName": { + "type": "string", + "description": "Gets or sets the source fabric agent name.", + "minLength": 1 + }, + "targetFabricAgentName": { + "type": "string", + "description": "Gets or sets the target fabric agent name.", + "minLength": 1 + }, + "sourceApplianceName": { + "type": "string", + "description": "Gets or sets the source appliance name.", + "readOnly": true + }, + "targetApplianceName": { + "type": "string", + "description": "Gets or sets the target appliance name.", + "readOnly": true + }, + "osType": { + "type": "string", + "description": "Gets or sets the type of the OS.", + "readOnly": true + }, + "osName": { + "type": "string", + "description": "Gets or sets the name of the OS.", + "readOnly": true + }, + "firmwareType": { + "type": "string", + "description": "Gets or sets the firmware type.", + "readOnly": true + }, + "targetLocation": { + "type": "string", + "description": "Gets or sets the target location.", + "readOnly": true + }, + "customLocationRegion": { + "type": "string", + "description": "Gets or sets the location of Azure Arc HCI custom location resource.", + "minLength": 1 + }, + "failoverRecoveryPointId": { + "type": "string", + "description": "Gets or sets the recovery point Id to which the VM was failed over.", + "readOnly": true + }, + "lastRecoveryPointReceived": { + "type": "string", + "format": "date-time", + "description": "Gets or sets the last recovery point received time.", + "readOnly": true + }, + "lastRecoveryPointId": { + "type": "string", + "description": "Gets or sets the last recovery point Id.", + "readOnly": true + }, + "initialReplicationProgressPercentage": { + "type": "integer", + "format": "int32", + "description": "Gets or sets the initial replication progress percentage. This is calculated based on total bytes processed for all disks in the source VM.", + "readOnly": true + }, + "resyncProgressPercentage": { + "type": "integer", + "format": "int32", + "description": "Gets or sets the resync progress percentage. This is calculated based on total bytes processed for all disks in the source VM.", + "readOnly": true + }, + "protectedDisks": { + "type": "array", + "description": "Gets or sets the list of protected disks.", + "items": { + "$ref": "#/definitions/HyperVToAzStackHCIProtectedDiskProperties" + }, + "readOnly": true, + "x-ms-identifiers": [] + }, + "protectedNics": { + "type": "array", + "description": "Gets or sets the VM NIC details.", + "items": { + "$ref": "#/definitions/HyperVToAzStackHCIProtectedNicProperties" + }, + "readOnly": true, + "x-ms-identifiers": [] + }, + "targetVmBiosId": { + "type": "string", + "description": "Gets or sets the BIOS Id of the target AzStackHCI VM.", + "readOnly": true + }, + "lastReplicationUpdateTime": { + "type": "string", + "format": "date-time", + "description": "Gets or sets the latest timestamp that replication status is updated.", + "readOnly": true + } + }, + "required": [ + "targetHciClusterId", + "targetArcClusterCustomLocationId", + "fabricDiscoveryMachineId", + "disksToInclude", + "nicsToInclude", + "targetResourceGroupId", + "storageContainerId", + "hyperVGeneration", + "runAsAccountId", + "sourceFabricAgentName", + "targetFabricAgentName", + "customLocationRegion" + ], + "allOf": [ + { + "$ref": "#/definitions/ProtectedItemModelCustomProperties" + } + ], + "x-ms-discriminator-value": "HyperVToAzStackHCI" + }, + "HyperVToAzStackHCIProtectedItemModelCustomPropertiesUpdate": { + "type": "object", + "description": "HyperV to AzStackHCI Protected item model custom properties.", + "properties": { + "nicsToInclude": { + "type": "array", + "description": "Gets or sets the list of VM NIC to replicate.", + "items": { + "$ref": "#/definitions/HyperVToAzStackHCINicInput" + }, + "x-ms-identifiers": [] + }, + "targetCpuCores": { + "type": "integer", + "format": "int32", + "description": "Gets or sets the target CPU cores." + }, + "isDynamicRam": { + "type": "boolean", + "description": "Gets or sets a value indicating whether memory is dynamical." + }, + "dynamicMemoryConfig": { + "$ref": "#/definitions/ProtectedItemDynamicMemoryConfig", + "description": "Protected item dynamic memory config." + }, + "targetMemoryInMegaBytes": { + "type": "integer", + "format": "int32", + "description": "Gets or sets the target memory in mega-bytes." + }, + "osType": { + "type": "string", + "description": "Gets or sets the type of the OS." + } + }, + "allOf": [ + { + "$ref": "#/definitions/ProtectedItemModelCustomPropertiesUpdate" + } + ], + "x-ms-discriminator-value": "HyperVToAzStackHCI" + }, + "HyperVToAzStackHCIProtectedNicProperties": { + "type": "object", + "description": "HyperVToAzStackHCI NIC properties.", + "properties": { + "nicId": { + "type": "string", + "description": "Gets or sets the NIC Id.", + "readOnly": true + }, + "macAddress": { + "type": "string", + "description": "Gets or sets the NIC mac address.", + "readOnly": true + }, + "networkName": { + "type": "string", + "description": "Gets or sets the network name.", + "readOnly": true + }, + "targetNetworkId": { + "type": "string", + "description": "Gets or sets the target network Id within AzStackHCI Cluster.", + "readOnly": true + }, + "testNetworkId": { + "type": "string", + "description": "Gets or sets the target test network Id within AzStackHCI Cluster.", + "readOnly": true + }, + "selectionTypeForFailover": { + "$ref": "#/definitions/VMNicSelection", + "description": "Gets or sets the selection type of the NIC.", + "readOnly": true + } + } + }, + "HyperVToAzStackHCIRecoveryPointModelCustomProperties": { + "type": "object", + "description": "HyperV to AzStackHCI recovery point model custom properties.", + "properties": { + "diskIds": { + "type": "array", + "description": "Gets or sets the list of the disk Ids.", + "items": { + "type": "string" + }, + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/RecoveryPointModelCustomProperties" + } + ], + "x-ms-discriminator-value": "HyperVToAzStackHCI" + }, + "HyperVToAzStackHCIReplicationExtensionModelCustomProperties": { + "type": "object", + "description": "HyperV to AzStackHCI Replication extension model custom properties.", + "properties": { + "hyperVFabricArmId": { + "type": "string", + "description": "Gets or sets the ARM Id of the source HyperV fabric.", + "minLength": 1 + }, + "hyperVSiteId": { + "type": "string", + "description": "Gets or sets the ARM Id of the HyperV site.", + "readOnly": true + }, + "azStackHciFabricArmId": { + "type": "string", + "description": "Gets or sets the ARM Id of the target AzStackHCI fabric.", + "minLength": 1 + }, + "azStackHciSiteId": { + "type": "string", + "description": "Gets or sets the ARM Id of the AzStackHCI site.", + "readOnly": true + }, + "storageAccountId": { + "type": "string", + "description": "Gets or sets the storage account Id." + }, + "storageAccountSasSecretName": { + "type": "string", + "description": "Gets or sets the Sas Secret of storage account." + }, + "asrServiceUri": { + "type": "string", + "description": "Gets or sets the Uri of ASR.", + "readOnly": true + }, + "rcmServiceUri": { + "type": "string", + "description": "Gets or sets the Uri of Rcm.", + "readOnly": true + }, + "gatewayServiceUri": { + "type": "string", + "description": "Gets or sets the Uri of Gateway.", + "readOnly": true + }, + "sourceGatewayServiceId": { + "type": "string", + "description": "Gets or sets the gateway service Id of source.", + "readOnly": true + }, + "targetGatewayServiceId": { + "type": "string", + "description": "Gets or sets the gateway service Id of target.", + "readOnly": true + }, + "sourceStorageContainerName": { + "type": "string", + "description": "Gets or sets the source storage container name.", + "readOnly": true + }, + "targetStorageContainerName": { + "type": "string", + "description": "Gets or sets the target storage container name.", + "readOnly": true + }, + "resourceLocation": { + "type": "string", + "description": "Gets or sets the resource location.", + "readOnly": true + }, + "subscriptionId": { + "type": "string", + "description": "Gets or sets the subscription.", + "readOnly": true + }, + "resourceGroup": { + "type": "string", + "description": "Gets or sets the resource group.", + "readOnly": true + } + }, + "required": [ + "hyperVFabricArmId", + "azStackHciFabricArmId" + ], + "allOf": [ + { + "$ref": "#/definitions/ReplicationExtensionModelCustomProperties" + } + ], + "x-ms-discriminator-value": "HyperVToAzStackHCI" + }, + "IdentityModel": { + "type": "object", + "description": "Identity model.", + "properties": { + "tenantId": { + "type": "string", + "description": "Gets or sets the tenant Id of the SPN with which fabric agent communicates to service.", + "minLength": 1 + }, + "applicationId": { + "type": "string", + "description": "Gets or sets the client/application Id of the SPN with which fabric agent communicates to service.", + "minLength": 1 + }, + "objectId": { + "type": "string", + "description": "Gets or sets the object Id of the SPN with which fabric agent communicates to service.", + "minLength": 1 + }, + "audience": { + "type": "string", + "description": "Gets or sets the audience of the SPN with which fabric agent communicates to service.", + "minLength": 1 + }, + "aadAuthority": { + "type": "string", + "description": "Gets or sets the authority of the SPN with which fabric agent communicates to service.", + "minLength": 1 + } + }, + "required": [ + "tenantId", + "applicationId", + "objectId", + "audience", + "aadAuthority" + ] + }, + "InnerHealthErrorModel": { + "type": "object", + "description": "Inner health error model.", + "properties": { + "code": { + "type": "string", + "description": "Gets or sets the error code.", + "readOnly": true + }, + "healthCategory": { + "type": "string", + "description": "Gets or sets the health category.", + "readOnly": true + }, + "category": { + "type": "string", + "description": "Gets or sets the error category.", + "readOnly": true + }, + "severity": { + "type": "string", + "description": "Gets or sets the error severity.", + "readOnly": true + }, + "source": { + "type": "string", + "description": "Gets or sets the error source.", + "readOnly": true + }, + "creationTime": { + "type": "string", + "format": "date-time", + "description": "Gets or sets the error creation time.", + "readOnly": true + }, + "isCustomerResolvable": { + "type": "boolean", + "description": "Gets or sets a value indicating whether the error is customer resolvable.", + "readOnly": true + }, + "summary": { + "type": "string", + "description": "Gets or sets the error summary.", + "readOnly": true + }, + "message": { + "type": "string", + "description": "Gets or sets the error message.", + "readOnly": true + }, + "causes": { + "type": "string", + "description": "Gets or sets possible causes of the error.", + "readOnly": true + }, + "recommendation": { + "type": "string", + "description": "Gets or sets recommended action to resolve the error.", + "readOnly": true + } + } + }, + "JobModel": { + "type": "object", + "description": "Job model.", + "properties": { + "properties": { + "$ref": "#/definitions/JobModelProperties", + "description": "The resource-specific properties for this resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] + }, + "JobModelCustomProperties": { + "type": "object", + "description": "Job model custom properties.", + "properties": { + "instanceType": { + "type": "string", + "description": "Discriminator property for JobModelCustomProperties." + }, + "affectedObjectDetails": { + "type": "object", + "description": "Gets or sets any custom properties of the affected object.", + "properties": { + "description": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "object" + ], + "x-ms-enum": { + "modelAsString": false + } + } + }, + "readOnly": true + } + }, + "discriminator": "instanceType", + "required": [ + "instanceType" + ] + }, + "JobModelListResult": { + "type": "object", + "description": "The response of a JobModel list operation.", + "properties": { + "value": { + "type": "array", + "description": "The JobModel items on this page", + "items": { + "$ref": "#/definitions/JobModel" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "JobModelProperties": { + "type": "object", + "description": "Job model properties.", + "properties": { + "displayName": { + "type": "string", + "description": "Gets or sets the friendly display name.", + "readOnly": true + }, + "state": { + "$ref": "#/definitions/JobState", + "description": "Gets or sets the job state.", + "readOnly": true + }, + "startTime": { + "type": "string", + "format": "date-time", + "description": "Gets or sets the start time.", + "readOnly": true + }, + "endTime": { + "type": "string", + "format": "date-time", + "description": "Gets or sets the end time.", + "readOnly": true + }, + "objectId": { + "type": "string", + "description": "Gets or sets the affected object Id.", + "readOnly": true + }, + "objectName": { + "type": "string", + "description": "Gets or sets the affected object name.", + "readOnly": true + }, + "objectInternalId": { + "type": "string", + "description": "Gets or sets the affected object internal Id.", + "readOnly": true + }, + "objectInternalName": { + "type": "string", + "description": "Gets or sets the affected object internal name.", + "readOnly": true + }, + "objectType": { + "$ref": "#/definitions/JobObjectType", + "description": "Gets or sets the object type.", + "readOnly": true + }, + "replicationProviderId": { + "type": "string", + "description": "Gets or sets the replication provider.", + "readOnly": true + }, + "sourceFabricProviderId": { + "type": "string", + "description": "Gets or sets the source fabric provider.", + "readOnly": true + }, + "targetFabricProviderId": { + "type": "string", + "description": "Gets or sets the target fabric provider.", + "readOnly": true + }, + "allowedActions": { + "type": "array", + "description": "Gets or sets the list of allowed actions on the job.", + "items": { + "type": "string" + }, + "readOnly": true + }, + "activityId": { + "type": "string", + "description": "Gets or sets the job activity id.", + "readOnly": true + }, + "tasks": { + "type": "array", + "description": "Gets or sets the list of tasks.", + "items": { + "$ref": "#/definitions/TaskModel" + }, + "readOnly": true, + "x-ms-identifiers": [] + }, + "errors": { + "type": "array", + "description": "Gets or sets the list of errors.", + "items": { + "$ref": "#/definitions/ErrorModel" + }, + "readOnly": true, + "x-ms-identifiers": [] + }, + "customProperties": { + "$ref": "#/definitions/JobModelCustomProperties", + "description": "Job model custom properties." + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Gets or sets the provisioning state of the job.", + "readOnly": true + } + }, + "required": [ + "customProperties" + ] + }, + "JobObjectType": { + "type": "string", + "description": "Gets or sets the object type.", + "enum": [ + "AvsDiskPool", + "FabricAgent", + "Fabric", + "Policy", + "ProtectedItem", + "RecoveryPlan", + "ReplicationExtension", + "Vault" + ], + "x-ms-enum": { + "name": "JobObjectType", + "modelAsString": true, + "values": [ + { + "name": "AvsDiskPool", + "value": "AvsDiskPool", + "description": "AVS disk pool." + }, + { + "name": "FabricAgent", + "value": "FabricAgent", + "description": "Fabric agent level workflow." + }, + { + "name": "Fabric", + "value": "Fabric", + "description": "Fabric level job." + }, + { + "name": "Policy", + "value": "Policy", + "description": "Policy level job." + }, + { + "name": "ProtectedItem", + "value": "ProtectedItem", + "description": "Protected item level job." + }, + { + "name": "RecoveryPlan", + "value": "RecoveryPlan", + "description": "Recovery plan level job." + }, + { + "name": "ReplicationExtension", + "value": "ReplicationExtension", + "description": "Replication extension level job." + }, + { + "name": "Vault", + "value": "Vault", + "description": "Vault level job." + } + ] + } + }, + "JobState": { + "type": "string", + "description": "Gets or sets the job state.", + "enum": [ + "Pending", + "Started", + "Cancelling", + "Succeeded", + "Failed", + "Cancelled", + "CompletedWithInformation", + "CompletedWithWarnings", + "CompletedWithErrors" + ], + "x-ms-enum": { + "name": "JobState", + "modelAsString": true, + "values": [ + { + "name": "Pending", + "value": "Pending", + "description": "Job has not been started." + }, + { + "name": "Started", + "value": "Started", + "description": "Job is in progress." + }, + { + "name": "Cancelling", + "value": "Cancelling", + "description": "Job cancellation is in progress." + }, + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Job has completed successfully." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Job failed." + }, + { + "name": "Cancelled", + "value": "Cancelled", + "description": "Job has been cancelled." + }, + { + "name": "CompletedWithInformation", + "value": "CompletedWithInformation", + "description": "Job has completed with information." + }, + { + "name": "CompletedWithWarnings", + "value": "CompletedWithWarnings", + "description": "Job has completed with warnings." + }, + { + "name": "CompletedWithErrors", + "value": "CompletedWithErrors", + "description": "Job has completed with errors." + } + ] + }, + "readOnly": true + }, + "OperationStatus": { + "type": "object", + "description": "Defines the operation status.", + "properties": { + "id": { + "type": "string", + "description": "Gets or sets the Id." + }, + "name": { + "type": "string", + "description": "Gets or sets the operation name." + }, + "status": { + "type": "string", + "description": "Gets or sets the status of the operation. ARM expects the terminal status to be one of Succeeded/ Failed/ Canceled. All other values imply that the operation is still running." + }, + "startTime": { + "type": "string", + "description": "Gets or sets the start time." + }, + "endTime": { + "type": "string", + "description": "Gets or sets the end time." + } + } + }, + "PlannedFailoverModel": { + "type": "object", + "description": "Planned failover model.", + "properties": { + "properties": { + "$ref": "#/definitions/PlannedFailoverModelProperties", + "description": "Planned failover model properties." + } + }, + "required": [ + "properties" + ] + }, + "PlannedFailoverModelCustomProperties": { + "type": "object", + "description": "Planned failover model custom properties.", + "properties": { + "instanceType": { + "type": "string", + "description": "Discriminator property for PlannedFailoverModelCustomProperties." + } + }, + "discriminator": "instanceType", + "required": [ + "instanceType" + ] + }, + "PlannedFailoverModelProperties": { + "type": "object", + "description": "Planned failover model properties.", + "properties": { + "customProperties": { + "$ref": "#/definitions/PlannedFailoverModelCustomProperties", + "description": "Planned failover model custom properties." + } + }, + "required": [ + "customProperties" + ] + }, + "PolicyModel": { + "type": "object", + "description": "Policy model.", + "properties": { + "properties": { + "$ref": "#/definitions/PolicyModelProperties", + "description": "The resource-specific properties for this resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] + }, + "PolicyModelCustomProperties": { + "type": "object", + "description": "Policy model custom properties.", + "properties": { + "instanceType": { + "type": "string", + "description": "Discriminator property for PolicyModelCustomProperties." + } + }, + "discriminator": "instanceType", + "required": [ + "instanceType" + ] + }, + "PolicyModelListResult": { + "type": "object", + "description": "The response of a PolicyModel list operation.", + "properties": { + "value": { + "type": "array", + "description": "The PolicyModel items on this page", + "items": { + "$ref": "#/definitions/PolicyModel" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "PolicyModelProperties": { + "type": "object", + "description": "Policy model properties.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Gets or sets the provisioning state of the policy.", + "readOnly": true + }, + "customProperties": { + "$ref": "#/definitions/PolicyModelCustomProperties", + "description": "Policy model custom properties." + } + }, + "required": [ + "customProperties" + ] + }, + "PrivateEndpoint": { + "type": "object", + "description": "Represent private Endpoint network resource that is linked to the Private Endpoint connection.", + "properties": { + "id": { + "type": "string", + "description": "Gets or sets the id." + } + } + }, + "PrivateEndpointConnection": { + "type": "object", + "description": "Represents private endpoint connection.", + "properties": { + "properties": { + "$ref": "#/definitions/PrivateEndpointConnectionResponseProperties", + "description": "The resource-specific properties for this resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] + }, + "PrivateEndpointConnectionListResult": { + "type": "object", + "description": "The response of a PrivateEndpointConnection list operation.", + "properties": { + "value": { + "type": "array", + "description": "The PrivateEndpointConnection items on this page", + "items": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "PrivateEndpointConnectionProxy": { + "type": "object", + "description": "Represents private endpoint connection proxy request.", + "properties": { + "properties": { + "$ref": "#/definitions/PrivateEndpointConnectionProxyProperties", + "description": "The resource-specific properties for this resource." + }, + "etag": { + "type": "string", + "description": "Gets or sets ETag." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] + }, + "PrivateEndpointConnectionProxyListResult": { + "type": "object", + "description": "The response of a PrivateEndpointConnectionProxy list operation.", + "properties": { + "value": { + "type": "array", + "description": "The PrivateEndpointConnectionProxy items on this page", + "items": { + "$ref": "#/definitions/PrivateEndpointConnectionProxy" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "PrivateEndpointConnectionProxyProperties": { + "type": "object", + "description": "Represents private endpoint connection proxy request.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Gets or sets the provisioning state of the private endpoint connection proxy.", + "readOnly": true + }, + "remotePrivateEndpoint": { + "$ref": "#/definitions/RemotePrivateEndpoint", + "description": "Represent remote private endpoint information for the private endpoint connection proxy." + } + } + }, + "PrivateEndpointConnectionResponseProperties": { + "type": "object", + "description": "Represents Private endpoint connection response properties.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Gets or sets provisioning state of the private endpoint connection.", + "readOnly": true + }, + "privateEndpoint": { + "$ref": "#/definitions/PrivateEndpoint", + "description": "Represent private Endpoint network resource that is linked to the Private Endpoint connection." + }, + "privateLinkServiceConnectionState": { + "$ref": "#/definitions/PrivateLinkServiceConnectionState", + "description": "Represents Private link service connection state." + } + } + }, + "PrivateEndpointConnectionStatus": { + "type": "string", + "description": "Gets or sets the status.", + "enum": [ + "Approved", + "Disconnected", + "Pending", + "Rejected" + ], + "x-ms-enum": { + "name": "PrivateEndpointConnectionStatus", + "modelAsString": true, + "values": [ + { + "name": "Approved", + "value": "Approved", + "description": "Approved Status." + }, + { + "name": "Disconnected", + "value": "Disconnected", + "description": "Disconnected Status." + }, + { + "name": "Pending", + "value": "Pending", + "description": "Pending Status." + }, + { + "name": "Rejected", + "value": "Rejected", + "description": "Rejected Status." + } + ] + } + }, + "PrivateLinkResource": { + "type": "object", + "description": "Represents private link resource.", + "properties": { + "properties": { + "$ref": "#/definitions/PrivateLinkResourceProperties", + "description": "The resource-specific properties for this resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] + }, + "PrivateLinkResourceListResult": { + "type": "object", + "description": "The response of a PrivateLinkResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The PrivateLinkResource items on this page", + "items": { + "$ref": "#/definitions/PrivateLinkResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "PrivateLinkResourceProperties": { + "type": "object", + "description": "Represents private link resource properties.", + "properties": { + "groupId": { + "type": "string", + "description": "Gets or sets the group id." + }, + "requiredMembers": { + "type": "array", + "description": "Gets or sets the required member. This translates to how many Private IPs should be created for each privately linkable resource.", + "items": { + "type": "string" + } + }, + "requiredZoneNames": { + "type": "array", + "description": "Gets or sets the private DNS zone names.", + "items": { + "type": "string" + } + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Gets or sets the provisioning state of the private link resource.", + "readOnly": true + } + } + }, + "PrivateLinkServiceConnection": { + "type": "object", + "description": "Represents of an NRP private link service connection.", + "properties": { + "name": { + "type": "string", + "description": "Gets or sets private link service connection name." + }, + "groupIds": { + "type": "array", + "description": "Gets or sets group ids.", + "items": { + "type": "string" + } + }, + "requestMessage": { + "type": "string", + "description": "Gets or sets the request message for the private link service connection." + } + } + }, + "PrivateLinkServiceConnectionState": { + "type": "object", + "description": "Represents Private link service connection state.", + "properties": { + "status": { + "$ref": "#/definitions/PrivateEndpointConnectionStatus", + "description": "Gets or sets the status." + }, + "description": { + "type": "string", + "description": "Gets or sets description." + }, + "actionsRequired": { + "type": "string", + "description": "Gets or sets actions required." + } + } + }, + "PrivateLinkServiceProxy": { + "type": "object", + "description": "Represents NRP private link service proxy.", + "properties": { + "id": { + "type": "string", + "description": "Gets or sets private link service proxy id." + }, + "remotePrivateLinkServiceConnectionState": { + "$ref": "#/definitions/PrivateLinkServiceConnectionState", + "description": "Represents Private link service connection state." + }, + "remotePrivateEndpointConnection": { + "$ref": "#/definitions/RemotePrivateEndpointConnection", + "description": "Represent remote private endpoint connection." + }, + "groupConnectivityInformation": { + "type": "array", + "description": "Gets or sets group connectivity information.", + "items": { + "$ref": "#/definitions/GroupConnectivityInformation" + }, + "x-ms-identifiers": [] + } + } + }, + "ProtectedItemActiveLocation": { + "type": "string", + "description": "Gets or sets the location of the protected item.", + "enum": [ + "Primary", + "Recovery" + ], + "x-ms-enum": { + "name": "ProtectedItemActiveLocation", + "modelAsString": true, + "values": [ + { + "name": "Primary", + "value": "Primary", + "description": "Protected item is active on Primary." + }, + { + "name": "Recovery", + "value": "Recovery", + "description": "Protected item is active on Recovery." + } + ] + } + }, + "ProtectedItemDynamicMemoryConfig": { + "type": "object", + "description": "Protected item dynamic memory config.", + "properties": { + "maximumMemoryInMegaBytes": { + "type": "integer", + "format": "int64", + "description": "Gets or sets maximum memory in MB." + }, + "minimumMemoryInMegaBytes": { + "type": "integer", + "format": "int64", + "description": "Gets or sets minimum memory in MB." + }, + "targetMemoryBufferPercentage": { + "type": "integer", + "format": "int32", + "description": "Gets or sets target memory buffer in %." + } + }, + "required": [ + "maximumMemoryInMegaBytes", + "minimumMemoryInMegaBytes", + "targetMemoryBufferPercentage" + ] + }, + "ProtectedItemJobProperties": { + "type": "object", + "description": "Protected item job properties.", + "properties": { + "scenarioName": { + "type": "string", + "description": "Gets or sets protection scenario name.", + "readOnly": true + }, + "id": { + "type": "string", + "description": "Gets or sets job Id.", + "readOnly": true + }, + "name": { + "type": "string", + "description": "Gets or sets job name.", + "readOnly": true + }, + "displayName": { + "type": "string", + "description": "Gets or sets the job friendly display name.", + "readOnly": true + }, + "state": { + "type": "string", + "description": "Gets or sets job state.", + "readOnly": true + }, + "startTime": { + "type": "string", + "format": "date-time", + "description": "Gets or sets start time of the job.", + "readOnly": true + }, + "endTime": { + "type": "string", + "format": "date-time", + "description": "Gets or sets end time of the job.", + "readOnly": true + } + } + }, + "ProtectedItemModel": { + "type": "object", + "description": "Protected item model.", + "properties": { + "properties": { + "$ref": "#/definitions/ProtectedItemModelProperties", + "description": "The resource-specific properties for this resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] + }, + "ProtectedItemModelCustomProperties": { + "type": "object", + "description": "Protected item model custom properties.", + "properties": { + "instanceType": { + "type": "string", + "description": "Discriminator property for ProtectedItemModelCustomProperties." + } + }, + "discriminator": "instanceType", + "required": [ + "instanceType" + ] + }, + "ProtectedItemModelCustomPropertiesUpdate": { + "type": "object", + "description": "Protected item model custom properties.", + "properties": { + "instanceType": { + "type": "string", + "description": "Discriminator property for ProtectedItemModelCustomPropertiesUpdate." + } + }, + "discriminator": "instanceType", + "required": [ + "instanceType" + ] + }, + "ProtectedItemModelListResult": { + "type": "object", + "description": "The response of a ProtectedItemModel list operation.", + "properties": { + "value": { + "type": "array", + "description": "The ProtectedItemModel items on this page", + "items": { + "$ref": "#/definitions/ProtectedItemModel" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ProtectedItemModelProperties": { + "type": "object", + "description": "Protected item model properties.", + "properties": { + "policyName": { + "type": "string", + "description": "Gets or sets the policy name.", + "minLength": 1 + }, + "replicationExtensionName": { + "type": "string", + "description": "Gets or sets the replication extension name.", + "minLength": 1 + }, + "correlationId": { + "type": "string", + "description": "Gets or sets the protected item correlation Id.", + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Gets or sets the provisioning state of the fabric agent.", + "readOnly": true + }, + "protectionState": { + "$ref": "#/definitions/ProtectionState", + "description": "Gets or sets the protection state.", + "readOnly": true + }, + "protectionStateDescription": { + "type": "string", + "description": "Gets or sets the protection state description.", + "readOnly": true + }, + "testFailoverState": { + "$ref": "#/definitions/TestFailoverState", + "description": "Gets or sets the test failover state.", + "readOnly": true + }, + "testFailoverStateDescription": { + "type": "string", + "description": "Gets or sets the Test failover state description.", + "readOnly": true + }, + "resynchronizationState": { + "$ref": "#/definitions/ResynchronizationState", + "description": "Gets or sets the resynchronization state.", + "readOnly": true + }, + "fabricObjectId": { + "type": "string", + "description": "Gets or sets the fabric object Id.", + "readOnly": true + }, + "fabricObjectName": { + "type": "string", + "description": "Gets or sets the fabric object name.", + "readOnly": true + }, + "sourceFabricProviderId": { + "type": "string", + "description": "Gets or sets the source fabric provider Id.", + "readOnly": true + }, + "targetFabricProviderId": { + "type": "string", + "description": "Gets or sets the target fabric provider Id.", + "readOnly": true + }, + "fabricId": { + "type": "string", + "description": "Gets or sets the fabric Id.", + "readOnly": true + }, + "targetFabricId": { + "type": "string", + "description": "Gets or sets the target fabric Id.", + "readOnly": true + }, + "fabricAgentId": { + "type": "string", + "description": "Gets or sets the fabric agent Id.", + "readOnly": true + }, + "targetFabricAgentId": { + "type": "string", + "description": "Gets or sets the target fabric agent Id.", + "readOnly": true + }, + "resyncRequired": { + "type": "boolean", + "description": "Gets or sets a value indicating whether resynchronization is required or not.", + "readOnly": true + }, + "lastSuccessfulPlannedFailoverTime": { + "type": "string", + "format": "date-time", + "description": "Gets or sets the Last successful planned failover time.", + "readOnly": true + }, + "lastSuccessfulUnplannedFailoverTime": { + "type": "string", + "format": "date-time", + "description": "Gets or sets the Last successful unplanned failover time.", + "readOnly": true + }, + "lastSuccessfulTestFailoverTime": { + "type": "string", + "format": "date-time", + "description": "Gets or sets the Last successful test failover time.", + "readOnly": true + }, + "currentJob": { + "$ref": "#/definitions/ProtectedItemJobProperties", + "description": "Gets or sets the current scenario.", + "readOnly": true + }, + "allowedJobs": { + "type": "array", + "description": "Gets or sets the allowed scenarios on the protected item.", + "items": { + "type": "string" + }, + "readOnly": true + }, + "lastFailedEnableProtectionJob": { + "$ref": "#/definitions/ProtectedItemJobProperties", + "description": "Gets or sets the last failed enabled protection job.", + "readOnly": true + }, + "lastFailedPlannedFailoverJob": { + "$ref": "#/definitions/ProtectedItemJobProperties", + "description": "Gets or sets the last failed planned failover job.", + "readOnly": true + }, + "lastTestFailoverJob": { + "$ref": "#/definitions/ProtectedItemJobProperties", + "description": "Gets or sets the last test failover job.", + "readOnly": true + }, + "replicationHealth": { + "$ref": "#/definitions/HealthStatus", + "description": "Gets or sets protected item replication health.", + "readOnly": true + }, + "healthErrors": { + "type": "array", + "description": "Gets or sets the list of health errors.", + "items": { + "$ref": "#/definitions/HealthErrorModel" + }, + "readOnly": true, + "x-ms-identifiers": [] + }, + "customProperties": { + "$ref": "#/definitions/ProtectedItemModelCustomProperties", + "description": "Protected item model custom properties." + } + }, + "required": [ + "policyName", + "replicationExtensionName", + "customProperties" + ] + }, + "ProtectedItemModelPropertiesUpdate": { + "type": "object", + "description": "Protected item model properties update.", + "properties": { + "customProperties": { + "$ref": "#/definitions/ProtectedItemModelCustomPropertiesUpdate", + "description": "Protected item model custom properties update." + } + } + }, + "ProtectedItemModelUpdate": { + "type": "object", + "description": "Protected item model update.", + "properties": { + "properties": { + "$ref": "#/definitions/ProtectedItemModelPropertiesUpdate", + "description": "Protected item model properties." + }, + "id": { + "type": "string", + "description": "Gets or sets the Id of the resource.", + "readOnly": true + }, + "name": { + "type": "string", + "description": "Gets or sets the name of the resource.", + "readOnly": true + }, + "type": { + "type": "string", + "description": "Gets or sets the type of the resource.", + "readOnly": true + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/systemData", + "description": "Metadata pertaining to creation and last modification of the resource.", + "readOnly": true + } + } + }, + "ProtectionState": { + "type": "string", + "description": "Gets or sets the protection state.", + "enum": [ + "UnprotectedStatesBegin", + "EnablingProtection", + "EnablingFailed", + "DisablingProtection", + "MarkedForDeletion", + "DisablingFailed", + "UnprotectedStatesEnd", + "InitialReplicationStatesBegin", + "InitialReplicationInProgress", + "InitialReplicationCompletedOnPrimary", + "InitialReplicationCompletedOnRecovery", + "InitialReplicationFailed", + "InitialReplicationStatesEnd", + "ProtectedStatesBegin", + "Protected", + "ProtectedStatesEnd", + "PlannedFailoverTransitionStatesBegin", + "PlannedFailoverInitiated", + "PlannedFailoverCompleting", + "PlannedFailoverCompleted", + "PlannedFailoverFailed", + "PlannedFailoverCompletionFailed", + "PlannedFailoverTransitionStatesEnd", + "UnplannedFailoverTransitionStatesBegin", + "UnplannedFailoverInitiated", + "UnplannedFailoverCompleting", + "UnplannedFailoverCompleted", + "UnplannedFailoverFailed", + "UnplannedFailoverCompletionFailed", + "UnplannedFailoverTransitionStatesEnd", + "CommitFailoverStatesBegin", + "CommitFailoverInProgressOnPrimary", + "CommitFailoverInProgressOnRecovery", + "CommitFailoverCompleted", + "CommitFailoverFailedOnPrimary", + "CommitFailoverFailedOnRecovery", + "CommitFailoverStatesEnd", + "CancelFailoverStatesBegin", + "CancelFailoverInProgressOnPrimary", + "CancelFailoverInProgressOnRecovery", + "CancelFailoverFailedOnPrimary", + "CancelFailoverFailedOnRecovery", + "CancelFailoverStatesEnd", + "ChangeRecoveryPointStatesBegin", + "ChangeRecoveryPointInitiated", + "ChangeRecoveryPointCompleted", + "ChangeRecoveryPointFailed", + "ChangeRecoveryPointStatesEnd", + "ReprotectStatesBegin", + "ReprotectInitiated", + "ReprotectFailed", + "ReprotectStatesEnd" + ], + "x-ms-enum": { + "name": "ProtectionState", + "modelAsString": true, + "values": [ + { + "name": "UnprotectedStatesBegin", + "value": "UnprotectedStatesBegin", + "description": "Begin marker for unprotected states." + }, + { + "name": "EnablingProtection", + "value": "EnablingProtection", + "description": "Enable protection is in progress." + }, + { + "name": "EnablingFailed", + "value": "EnablingFailed", + "description": "Enable protection failed." + }, + { + "name": "DisablingProtection", + "value": "DisablingProtection", + "description": "Disabling protection is in progress." + }, + { + "name": "MarkedForDeletion", + "value": "MarkedForDeletion", + "description": "Disabling protection succeeded. This is a transient state before the protected item is deleted." + }, + { + "name": "DisablingFailed", + "value": "DisablingFailed", + "description": "Disable protection failed." + }, + { + "name": "UnprotectedStatesEnd", + "value": "UnprotectedStatesEnd", + "description": "End marker for unprotected states." + }, + { + "name": "InitialReplicationStatesBegin", + "value": "InitialReplicationStatesBegin", + "description": "Begin marker for initial replication states." + }, + { + "name": "InitialReplicationInProgress", + "value": "InitialReplicationInProgress", + "description": "Initial replication is in progress." + }, + { + "name": "InitialReplicationCompletedOnPrimary", + "value": "InitialReplicationCompletedOnPrimary", + "description": "Initial replication has completed on the primary side." + }, + { + "name": "InitialReplicationCompletedOnRecovery", + "value": "InitialReplicationCompletedOnRecovery", + "description": "Initial replication has completed on the recovery side." + }, + { + "name": "InitialReplicationFailed", + "value": "InitialReplicationFailed", + "description": "Initial replication failed and would need to be started again." + }, + { + "name": "InitialReplicationStatesEnd", + "value": "InitialReplicationStatesEnd", + "description": "End marker for initial replication states." + }, + { + "name": "ProtectedStatesBegin", + "value": "ProtectedStatesBegin", + "description": "Begin marker for protected steady-state states." + }, + { + "name": "Protected", + "value": "Protected", + "description": "Protected item is protected and replication is on-going. Any issues with replication will be surfaced separately via the health property and will not affect the state." + }, + { + "name": "ProtectedStatesEnd", + "value": "ProtectedStatesEnd", + "description": "End marker for protected steady-state states." + }, + { + "name": "PlannedFailoverTransitionStatesBegin", + "value": "PlannedFailoverTransitionStatesBegin", + "description": "Begin marker for planned failover transition states." + }, + { + "name": "PlannedFailoverInitiated", + "value": "PlannedFailoverInitiated", + "description": "Planned failover has been initiated." + }, + { + "name": "PlannedFailoverCompleting", + "value": "PlannedFailoverCompleting", + "description": "Planned failover preparing protected entities is in progress." + }, + { + "name": "PlannedFailoverCompleted", + "value": "PlannedFailoverCompleted", + "description": "Planned failover has been completed successfully." + }, + { + "name": "PlannedFailoverFailed", + "value": "PlannedFailoverFailed", + "description": "Planned failover initiation failed." + }, + { + "name": "PlannedFailoverCompletionFailed", + "value": "PlannedFailoverCompletionFailed", + "description": "Planned failover preparing protected entities failed." + }, + { + "name": "PlannedFailoverTransitionStatesEnd", + "value": "PlannedFailoverTransitionStatesEnd", + "description": "End marker for planned failover transition states." + }, + { + "name": "UnplannedFailoverTransitionStatesBegin", + "value": "UnplannedFailoverTransitionStatesBegin", + "description": "Begin marker for unplanned failover transition states." + }, + { + "name": "UnplannedFailoverInitiated", + "value": "UnplannedFailoverInitiated", + "description": "Unplanned failover has been initiated." + }, + { + "name": "UnplannedFailoverCompleting", + "value": "UnplannedFailoverCompleting", + "description": "Unplanned failover preparing protected entities is in progress." + }, + { + "name": "UnplannedFailoverCompleted", + "value": "UnplannedFailoverCompleted", + "description": "Unplanned failover preparing protected entities is in progress." + }, + { + "name": "UnplannedFailoverFailed", + "value": "UnplannedFailoverFailed", + "description": "Unplanned failover initiation failed." + }, + { + "name": "UnplannedFailoverCompletionFailed", + "value": "UnplannedFailoverCompletionFailed", + "description": "Unplanned failover preparing protected entities failed." + }, + { + "name": "UnplannedFailoverTransitionStatesEnd", + "value": "UnplannedFailoverTransitionStatesEnd", + "description": "End marker for unplanned failover transition states." + }, + { + "name": "CommitFailoverStatesBegin", + "value": "CommitFailoverStatesBegin", + "description": "Begin marker for commit failover states." + }, + { + "name": "CommitFailoverInProgressOnPrimary", + "value": "CommitFailoverInProgressOnPrimary", + "description": "Commit failover is in progress on the primary side." + }, + { + "name": "CommitFailoverInProgressOnRecovery", + "value": "CommitFailoverInProgressOnRecovery", + "description": "Commit failover is in progress on the recovery side." + }, + { + "name": "CommitFailoverCompleted", + "value": "CommitFailoverCompleted", + "description": "Commit failover has been completed successfully." + }, + { + "name": "CommitFailoverFailedOnPrimary", + "value": "CommitFailoverFailedOnPrimary", + "description": "Commit failover failed on the primary side." + }, + { + "name": "CommitFailoverFailedOnRecovery", + "value": "CommitFailoverFailedOnRecovery", + "description": "Commit failover failed on the recovery side." + }, + { + "name": "CommitFailoverStatesEnd", + "value": "CommitFailoverStatesEnd", + "description": "End marker for commit failover states." + }, + { + "name": "CancelFailoverStatesBegin", + "value": "CancelFailoverStatesBegin", + "description": "Begin marker for cancel failover states." + }, + { + "name": "CancelFailoverInProgressOnPrimary", + "value": "CancelFailoverInProgressOnPrimary", + "description": "Cancel failover is in progress on the primary side." + }, + { + "name": "CancelFailoverInProgressOnRecovery", + "value": "CancelFailoverInProgressOnRecovery", + "description": "Cancel failover is in progress on the recovery side." + }, + { + "name": "CancelFailoverFailedOnPrimary", + "value": "CancelFailoverFailedOnPrimary", + "description": "Cancel failover failed on the primary side." + }, + { + "name": "CancelFailoverFailedOnRecovery", + "value": "CancelFailoverFailedOnRecovery", + "description": "Cancel failover failed on the recovery side." + }, + { + "name": "CancelFailoverStatesEnd", + "value": "CancelFailoverStatesEnd", + "description": "End marker for cancel failover states." + }, + { + "name": "ChangeRecoveryPointStatesBegin", + "value": "ChangeRecoveryPointStatesBegin", + "description": "Begin marker for change recovery point states." + }, + { + "name": "ChangeRecoveryPointInitiated", + "value": "ChangeRecoveryPointInitiated", + "description": "Change recovery point has been initiated.." + }, + { + "name": "ChangeRecoveryPointCompleted", + "value": "ChangeRecoveryPointCompleted", + "description": "Change recovery point has been completed successfully." + }, + { + "name": "ChangeRecoveryPointFailed", + "value": "ChangeRecoveryPointFailed", + "description": "Change recovery point has failed." + }, + { + "name": "ChangeRecoveryPointStatesEnd", + "value": "ChangeRecoveryPointStatesEnd", + "description": "End marker for change recovery point states." + }, + { + "name": "ReprotectStatesBegin", + "value": "ReprotectStatesBegin", + "description": "Begin marker for reprotect states." + }, + { + "name": "ReprotectInitiated", + "value": "ReprotectInitiated", + "description": "Reprotect has been initiated." + }, + { + "name": "ReprotectFailed", + "value": "ReprotectFailed", + "description": "Reprotect has failed." + }, + { + "name": "ReprotectStatesEnd", + "value": "ReprotectStatesEnd", + "description": "End marker for reprotect states." + } + ] + } + }, + "ProvisioningState": { + "type": "string", + "description": "Gets or sets the provisioning state of the email configuration.", + "enum": [ + "Canceled", + "Creating", + "Deleting", + "Deleted", + "Failed", + "Succeeded", + "Updating" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Canceled", + "value": "Canceled", + "description": "Resource creation has been canceled" + }, + { + "name": "Creating", + "value": "Creating", + "description": "Resource is being created." + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "Resource is being deleted." + }, + { + "name": "Deleted", + "value": "Deleted", + "description": "Resource has been deleted." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Resource creation failed." + }, + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Resource creation/update succeeded." + }, + { + "name": "Updating", + "value": "Updating", + "description": "Resource is being updated." + } + ] + }, + "readOnly": true + }, + "RecoveryPointModel": { + "type": "object", + "description": "Recovery point model.", + "properties": { + "properties": { + "$ref": "#/definitions/RecoveryPointModelProperties", + "description": "The resource-specific properties for this resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] + }, + "RecoveryPointModelCustomProperties": { + "type": "object", + "description": "Recovery point model custom properties.", + "properties": { + "instanceType": { + "type": "string", + "description": "Discriminator property for RecoveryPointModelCustomProperties." + } + }, + "discriminator": "instanceType", + "required": [ + "instanceType" + ] + }, + "RecoveryPointModelListResult": { + "type": "object", + "description": "The response of a RecoveryPointModel list operation.", + "properties": { + "value": { + "type": "array", + "description": "The RecoveryPointModel items on this page", + "items": { + "$ref": "#/definitions/RecoveryPointModel" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "RecoveryPointModelProperties": { + "type": "object", + "description": "Recovery point model properties.", + "properties": { + "recoveryPointTime": { + "type": "string", + "format": "date-time", + "description": "Gets or sets the recovery point time." + }, + "recoveryPointType": { + "$ref": "#/definitions/RecoveryPointType", + "description": "Gets or sets the recovery point type." + }, + "customProperties": { + "$ref": "#/definitions/RecoveryPointModelCustomProperties", + "description": "Recovery point model custom properties." + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Gets or sets the provisioning state of the recovery point item.", + "readOnly": true + } + }, + "required": [ + "recoveryPointTime", + "recoveryPointType", + "customProperties" + ] + }, + "RecoveryPointType": { + "type": "string", + "description": "Gets or sets the recovery point type.", + "enum": [ + "ApplicationConsistent", + "CrashConsistent" + ], + "x-ms-enum": { + "name": "RecoveryPointType", + "modelAsString": true, + "values": [ + { + "name": "ApplicationConsistent", + "value": "ApplicationConsistent", + "description": "Application consistent recovery point." + }, + { + "name": "CrashConsistent", + "value": "CrashConsistent", + "description": "Crash consistent recovery point." + } + ] + } + }, + "RemotePrivateEndpoint": { + "type": "object", + "description": "Represent remote private endpoint information for the private endpoint connection proxy.", + "properties": { + "id": { + "type": "string", + "description": "Gets or sets private link service proxy id.", + "minLength": 1 + }, + "privateLinkServiceConnections": { + "type": "array", + "description": "Gets or sets the list of Private Link Service Connections and gets populated for Auto approval flow.", + "items": { + "$ref": "#/definitions/PrivateLinkServiceConnection" + }, + "x-ms-identifiers": [] + }, + "manualPrivateLinkServiceConnections": { + "type": "array", + "description": "Gets or sets the list of Manual Private Link Service Connections and gets populated for Manual approval flow.", + "items": { + "$ref": "#/definitions/PrivateLinkServiceConnection" + }, + "x-ms-identifiers": [] + }, + "privateLinkServiceProxies": { + "type": "array", + "description": "Gets or sets the list of private link service proxies.", + "items": { + "$ref": "#/definitions/PrivateLinkServiceProxy" + }, + "x-ms-identifiers": [] + }, + "connectionDetails": { + "type": "array", + "description": "Gets or sets the list of Connection Details. This is the connection details for private endpoint.", + "items": { + "$ref": "#/definitions/ConnectionDetails" + }, + "x-ms-identifiers": [] + } + }, + "required": [ + "id" + ] + }, + "RemotePrivateEndpointConnection": { + "type": "object", + "description": "Represent remote private endpoint connection.", + "properties": { + "id": { + "type": "string", + "description": "Gets or sets the remote private endpoint connection id." + } + } + }, + "ReplicationExtensionModel": { + "type": "object", + "description": "Replication extension model.", + "properties": { + "properties": { + "$ref": "#/definitions/ReplicationExtensionModelProperties", + "description": "The resource-specific properties for this resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] + }, + "ReplicationExtensionModelCustomProperties": { + "type": "object", + "description": "Replication extension model custom properties.", + "properties": { + "instanceType": { + "type": "string", + "description": "Discriminator property for ReplicationExtensionModelCustomProperties." + } + }, + "discriminator": "instanceType", + "required": [ + "instanceType" + ] + }, + "ReplicationExtensionModelListResult": { + "type": "object", + "description": "The response of a ReplicationExtensionModel list operation.", + "properties": { + "value": { + "type": "array", + "description": "The ReplicationExtensionModel items on this page", + "items": { + "$ref": "#/definitions/ReplicationExtensionModel" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ReplicationExtensionModelProperties": { + "type": "object", + "description": "Replication extension model properties.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Gets or sets the provisioning state of the replication extension.", + "readOnly": true + }, + "customProperties": { + "$ref": "#/definitions/ReplicationExtensionModelCustomProperties", + "description": "Replication extension model custom properties." + } + }, + "required": [ + "customProperties" + ] + }, + "ReplicationVaultType": { + "type": "string", + "description": "Gets or sets the type of vault.", + "enum": [ + "DisasterRecovery", + "Migrate" + ], + "x-ms-enum": { + "name": "ReplicationVaultType", + "modelAsString": true, + "values": [ + { + "name": "DisasterRecovery", + "value": "DisasterRecovery", + "description": "Disaster recovery vault." + }, + { + "name": "Migrate", + "value": "Migrate", + "description": "Migrate vault." + } + ] + } + }, + "ResynchronizationState": { + "type": "string", + "description": "Gets or sets the resynchronization state.", + "enum": [ + "None", + "ResynchronizationInitiated", + "ResynchronizationCompleted", + "ResynchronizationFailed" + ], + "x-ms-enum": { + "name": "ResynchronizationState", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None", + "description": "Resynchronization is not active." + }, + { + "name": "ResynchronizationInitiated", + "value": "ResynchronizationInitiated", + "description": "Resynchronization has been initiated." + }, + { + "name": "ResynchronizationCompleted", + "value": "ResynchronizationCompleted", + "description": "Resynchronization has been completed successfully." + }, + { + "name": "ResynchronizationFailed", + "value": "ResynchronizationFailed", + "description": "Resynchronization has failed and would need to be started again." + } + ] + } + }, + "StorageContainerProperties": { + "type": "object", + "description": "Storage container properties.", + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the Name.", + "minLength": 1 + }, + "clusterSharedVolumePath": { + "type": "string", + "description": "Gets or sets the ClusterSharedVolumePath.", + "minLength": 1 + } + }, + "required": [ + "name", + "clusterSharedVolumePath" + ] + }, + "TaskModel": { + "type": "object", + "description": "Task model.", + "properties": { + "taskName": { + "type": "string", + "description": "Gets or sets the task name.", + "readOnly": true + }, + "state": { + "$ref": "#/definitions/TaskState", + "description": "Gets or sets the task state.", + "readOnly": true + }, + "startTime": { + "type": "string", + "format": "date-time", + "description": "Gets or sets the start time.", + "readOnly": true + }, + "endTime": { + "type": "string", + "format": "date-time", + "description": "Gets or sets the end time.", + "readOnly": true + }, + "customProperties": { + "$ref": "#/definitions/TaskModelCustomProperties", + "description": "Task model custom properties." + }, + "childrenJobs": { + "type": "array", + "description": "Gets or sets the list of children job models.", + "items": { + "$ref": "#/definitions/JobModel" + }, + "x-ms-identifiers": [] + } + } + }, + "TaskModelCustomProperties": { + "type": "object", + "description": "Task model custom properties.", + "properties": { + "instanceType": { + "type": "string", + "description": "Gets or sets the instance type.", + "minLength": 1 + } + }, + "required": [ + "instanceType" + ] + }, + "TaskState": { + "type": "string", + "description": "Gets or sets the task state.", + "enum": [ + "Pending", + "Started", + "Succeeded", + "Failed", + "Cancelled", + "Skipped" + ], + "x-ms-enum": { + "name": "TaskState", + "modelAsString": true, + "values": [ + { + "name": "Pending", + "value": "Pending", + "description": "Task has not been started." + }, + { + "name": "Started", + "value": "Started", + "description": "Task is in progress." + }, + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Task has completed successfully." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Task failed." + }, + { + "name": "Cancelled", + "value": "Cancelled", + "description": "Task has been cancelled." + }, + { + "name": "Skipped", + "value": "Skipped", + "description": "Task has been skipped." + } + ] + }, + "readOnly": true + }, + "TestFailoverCleanupJobModelCustomProperties": { + "type": "object", + "description": "Test failover cleanup job model custom properties.", + "properties": { + "comments": { + "type": "string", + "description": "Gets or sets the test failover cleanup comments.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/JobModelCustomProperties" + } + ], + "x-ms-discriminator-value": "TestFailoverCleanupJobDetails" + }, + "TestFailoverJobModelCustomProperties": { + "type": "object", + "description": "Test failover job model custom properties.", + "properties": { + "protectedItemDetails": { + "type": "array", + "description": "Gets or sets the test VM details.", + "items": { + "$ref": "#/definitions/FailoverProtectedItemProperties" + }, + "readOnly": true, + "x-ms-identifiers": [] + } + }, + "allOf": [ + { + "$ref": "#/definitions/JobModelCustomProperties" + } + ], + "x-ms-discriminator-value": "TestFailoverJobDetails" + }, + "TestFailoverState": { + "type": "string", + "description": "Gets or sets the test failover state.", + "enum": [ + "None", + "TestFailoverInitiated", + "TestFailoverCompleting", + "TestFailoverCompleted", + "TestFailoverFailed", + "TestFailoverCompletionFailed", + "TestFailoverCleanupInitiated", + "TestFailoverCleanupCompleting", + "MarkedForDeletion" + ], + "x-ms-enum": { + "name": "TestFailoverState", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None", + "description": "Test failover is not active." + }, + { + "name": "TestFailoverInitiated", + "value": "TestFailoverInitiated", + "description": "Test failover has been initiated." + }, + { + "name": "TestFailoverCompleting", + "value": "TestFailoverCompleting", + "description": "Preparing test protected entities is in progress." + }, + { + "name": "TestFailoverCompleted", + "value": "TestFailoverCompleted", + "description": "Test failover has been completed successfully." + }, + { + "name": "TestFailoverFailed", + "value": "TestFailoverFailed", + "description": "Test failover initiation failed.." + }, + { + "name": "TestFailoverCompletionFailed", + "value": "TestFailoverCompletionFailed", + "description": "Preparing test protected entities failed." + }, + { + "name": "TestFailoverCleanupInitiated", + "value": "TestFailoverCleanupInitiated", + "description": "Test failover cleanup has been initiated." + }, + { + "name": "TestFailoverCleanupCompleting", + "value": "TestFailoverCleanupCompleting", + "description": "Cleaning up test protected entities is in progress." + }, + { + "name": "MarkedForDeletion", + "value": "MarkedForDeletion", + "description": "Test failover cleanup has completed/failed. This is a transient state before the state is moved back to None." + } + ] + } + }, + "VMNicSelection": { + "type": "string", + "description": "Gets or sets the selection type of the NIC.", + "enum": [ + "NotSelected", + "SelectedByUser", + "SelectedByDefault", + "SelectedByUserOverride" + ], + "x-ms-enum": { + "name": "VMNicSelection", + "modelAsString": true, + "values": [ + { + "name": "NotSelected", + "value": "NotSelected", + "description": "Not Selected." + }, + { + "name": "SelectedByUser", + "value": "SelectedByUser", + "description": "Selected by user." + }, + { + "name": "SelectedByDefault", + "value": "SelectedByDefault", + "description": "Default selection by ASR." + }, + { + "name": "SelectedByUserOverride", + "value": "SelectedByUserOverride", + "description": "NIC configuration overridden by user. Differs from SelectedByUser in the sense that the legacy SelectedByUser is used both for explicit modification by user and implicit approval of user if the settings are used for TFO/FO. SelectedByUserOverride implies user overriding at least one of the configurations." + } + ] + } + }, + "VMwareFabricAgentModelCustomProperties": { + "type": "object", + "description": "VMware fabric agent model custom properties.", + "properties": { + "biosId": { + "type": "string", + "description": "Gets or sets the BIOS Id of the fabric agent machine.", + "minLength": 1 + }, + "marsAuthenticationIdentity": { + "$ref": "#/definitions/IdentityModel", + "description": "Identity model." + } + }, + "required": [ + "biosId", + "marsAuthenticationIdentity" + ], + "allOf": [ + { + "$ref": "#/definitions/FabricAgentModelCustomProperties" + } + ], + "x-ms-discriminator-value": "VMware" + }, + "VMwareMigrateFabricModelCustomProperties": { + "type": "object", + "description": "VMware migrate fabric model custom properties.", + "properties": { + "vmwareSiteId": { + "type": "string", + "description": "Gets or sets the ARM Id of the VMware site.", + "minLength": 1 + }, + "migrationSolutionId": { + "type": "string", + "description": "Gets or sets the ARM Id of the migration solution.", + "minLength": 1 + } + }, + "required": [ + "vmwareSiteId", + "migrationSolutionId" + ], + "allOf": [ + { + "$ref": "#/definitions/FabricModelCustomProperties" + } + ], + "x-ms-discriminator-value": "VMwareMigrate" + }, + "VMwareToAzStackHCIDiskInput": { + "type": "object", + "description": "VMwareToAzStack disk input.", + "properties": { + "diskId": { + "type": "string", + "description": "Gets or sets the disk Id.", + "minLength": 1 + }, + "storageContainerId": { + "type": "string", + "description": "Gets or sets the target storage account ARM Id." + }, + "isDynamic": { + "type": "boolean", + "description": "Gets or sets a value indicating whether dynamic sizing is enabled on the virtual hard disk." + }, + "diskSizeGB": { + "type": "integer", + "format": "int64", + "description": "Gets or sets the disk size in GB." + }, + "diskFileFormat": { + "type": "string", + "description": "Gets or sets the type of the virtual hard disk, vhd or vhdx.", + "minLength": 1 + }, + "isOsDisk": { + "type": "boolean", + "description": "Gets or sets a value indicating whether disk is os disk." + }, + "diskBlockSize": { + "type": "integer", + "format": "int64", + "description": "Gets or sets a value of disk block size." + }, + "diskLogicalSectorSize": { + "type": "integer", + "format": "int64", + "description": "Gets or sets a value of disk logical sector size." + }, + "diskPhysicalSectorSize": { + "type": "integer", + "format": "int64", + "description": "Gets or sets a value of disk physical sector size." + }, + "diskIdentifier": { + "type": "string", + "description": "Gets or sets a value of disk identifier." + }, + "diskController": { + "$ref": "#/definitions/DiskControllerInputs", + "description": "Disk controller." + } + }, + "required": [ + "diskId", + "diskSizeGB", + "diskFileFormat", + "isOsDisk" + ] + }, + "VMwareToAzStackHCIEventModelCustomProperties": { + "type": "object", + "description": "VMware to AzStackHCI event model custom properties. This class provides provider specific details for events of type DataContract.HealthEvents.HealthEventType.ProtectedItemHealth and DataContract.HealthEvents.HealthEventType.AgentHealth.", + "properties": { + "eventSourceFriendlyName": { + "type": "string", + "description": "Gets or sets the friendly name of the source which has raised this health event.", + "readOnly": true + }, + "protectedItemFriendlyName": { + "type": "string", + "description": "Gets or sets the protected item friendly name.", + "readOnly": true + }, + "sourceApplianceName": { + "type": "string", + "description": "Gets or sets the source appliance name.", + "readOnly": true + }, + "targetApplianceName": { + "type": "string", + "description": "Gets or sets the source target name.", + "readOnly": true + }, + "serverType": { + "type": "string", + "description": "Gets or sets the server type.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/EventModelCustomProperties" + } + ], + "x-ms-discriminator-value": "VMwareToAzStackHCI" + }, + "VMwareToAzStackHCINicInput": { + "type": "object", + "description": "VMwareToAzStackHCI NIC properties.", + "properties": { + "nicId": { + "type": "string", + "description": "Gets or sets the NIC Id.", + "minLength": 1 + }, + "label": { + "type": "string", + "description": "Gets or sets the NIC label.", + "minLength": 1 + }, + "networkName": { + "type": "string", + "description": "Gets or sets the network name.", + "readOnly": true + }, + "targetNetworkId": { + "type": "string", + "description": "Gets or sets the target network Id within AzStackHCI Cluster." + }, + "testNetworkId": { + "type": "string", + "description": "Gets or sets the target test network Id within AzStackHCI Cluster." + }, + "selectionTypeForFailover": { + "$ref": "#/definitions/VMNicSelection", + "description": "Gets or sets the selection type of the NIC." + }, + "isStaticIpMigrationEnabled": { + "type": "boolean", + "description": "Gets or sets a value indicating whether static ip migration is enabled." + }, + "isMacMigrationEnabled": { + "type": "boolean", + "description": "Gets or sets a value indicating whether mac address migration is enabled." + } + }, + "required": [ + "nicId", + "label", + "selectionTypeForFailover" + ] + }, + "VMwareToAzStackHCIPlannedFailoverModelCustomProperties": { + "type": "object", + "description": "VMware to AzStackHCI planned failover model custom properties.", + "properties": { + "shutdownSourceVM": { + "type": "boolean", + "description": "Gets or sets a value indicating whether VM needs to be shut down." + } + }, + "required": [ + "shutdownSourceVM" + ], + "allOf": [ + { + "$ref": "#/definitions/PlannedFailoverModelCustomProperties" + } + ], + "x-ms-discriminator-value": "VMwareToAzStackHCI" + }, + "VMwareToAzStackHCIPolicyModelCustomProperties": { + "type": "object", + "description": "VMware To AzStackHCI Policy model custom properties.", + "properties": { + "recoveryPointHistoryInMinutes": { + "type": "integer", + "format": "int32", + "description": "Gets or sets the duration in minutes until which the recovery points need to be stored." + }, + "crashConsistentFrequencyInMinutes": { + "type": "integer", + "format": "int32", + "description": "Gets or sets the crash consistent snapshot frequency (in minutes)." + }, + "appConsistentFrequencyInMinutes": { + "type": "integer", + "format": "int32", + "description": "Gets or sets the app consistent snapshot frequency (in minutes)." + } + }, + "required": [ + "recoveryPointHistoryInMinutes", + "crashConsistentFrequencyInMinutes", + "appConsistentFrequencyInMinutes" + ], + "allOf": [ + { + "$ref": "#/definitions/PolicyModelCustomProperties" + } + ], + "x-ms-discriminator-value": "VMwareToAzStackHCI" + }, + "VMwareToAzStackHCIProtectedDiskProperties": { + "type": "object", + "description": "VMwareToAzStackHCI protected disk properties.", + "properties": { + "storageContainerId": { + "type": "string", + "description": "Gets or sets the ARM Id of the storage container.", + "readOnly": true + }, + "storageContainerLocalPath": { + "type": "string", + "description": "Gets or sets the local path of the storage container.", + "readOnly": true + }, + "sourceDiskId": { + "type": "string", + "description": "Gets or sets the source disk Id.", + "readOnly": true + }, + "sourceDiskName": { + "type": "string", + "description": "Gets or sets the source disk Name.", + "readOnly": true + }, + "seedDiskName": { + "type": "string", + "description": "Gets or sets the seed disk name.", + "readOnly": true + }, + "testMigrateDiskName": { + "type": "string", + "description": "Gets or sets the test failover clone disk.", + "readOnly": true + }, + "migrateDiskName": { + "type": "string", + "description": "Gets or sets the failover clone disk.", + "readOnly": true + }, + "isOsDisk": { + "type": "boolean", + "description": "Gets or sets a value indicating whether the disk is the OS disk.", + "readOnly": true + }, + "capacityInBytes": { + "type": "integer", + "format": "int64", + "description": "Gets or sets the disk capacity in bytes.", + "readOnly": true + }, + "isDynamic": { + "type": "boolean", + "description": "Gets or sets a value indicating whether dynamic sizing is enabled on the virtual hard disk.", + "readOnly": true + }, + "diskType": { + "type": "string", + "description": "Gets or sets the disk type.", + "readOnly": true + }, + "diskBlockSize": { + "type": "integer", + "format": "int64", + "description": "Gets or sets a value of disk block size.", + "readOnly": true + }, + "diskLogicalSectorSize": { + "type": "integer", + "format": "int64", + "description": "Gets or sets a value of disk logical sector size.", + "readOnly": true + }, + "diskPhysicalSectorSize": { + "type": "integer", + "format": "int64", + "description": "Gets or sets a value of disk physical sector size.", + "readOnly": true + } + } + }, + "VMwareToAzStackHCIProtectedItemModelCustomProperties": { + "type": "object", + "description": "VMware to AzStackHCI Protected item model custom properties.", + "properties": { + "activeLocation": { + "$ref": "#/definitions/ProtectedItemActiveLocation", + "description": "Gets or sets the location of the protected item.", + "readOnly": true + }, + "targetHciClusterId": { + "type": "string", + "description": "Gets or sets the Target HCI Cluster ARM Id.", + "minLength": 1 + }, + "targetArcClusterCustomLocationId": { + "type": "string", + "description": "Gets or sets the Target Arc Cluster Custom Location ARM Id.", + "minLength": 1 + }, + "targetAzStackHciClusterName": { + "type": "string", + "description": "Gets or sets the Target AzStackHCI cluster name.", + "readOnly": true + }, + "storageContainerId": { + "type": "string", + "description": "Gets or sets the target storage container ARM Id.", + "minLength": 1 + }, + "targetResourceGroupId": { + "type": "string", + "description": "Gets or sets the target resource group ARM Id.", + "minLength": 1 + }, + "targetLocation": { + "type": "string", + "description": "Gets or sets the target location.", + "readOnly": true + }, + "customLocationRegion": { + "type": "string", + "description": "Gets or sets the location of Azure Arc HCI custom location resource.", + "minLength": 1 + }, + "disksToInclude": { + "type": "array", + "description": "Gets or sets the list of disks to replicate.", + "items": { + "$ref": "#/definitions/VMwareToAzStackHCIDiskInput" + }, + "x-ms-identifiers": [] + }, + "nicsToInclude": { + "type": "array", + "description": "Gets or sets the list of VM NIC to replicate.", + "items": { + "$ref": "#/definitions/VMwareToAzStackHCINicInput" + }, + "x-ms-identifiers": [] + }, + "protectedDisks": { + "type": "array", + "description": "Gets or sets the list of protected disks.", + "items": { + "$ref": "#/definitions/VMwareToAzStackHCIProtectedDiskProperties" + }, + "readOnly": true, + "x-ms-identifiers": [] + }, + "protectedNics": { + "type": "array", + "description": "Gets or sets the VM NIC details.", + "items": { + "$ref": "#/definitions/VMwareToAzStackHCIProtectedNicProperties" + }, + "readOnly": true, + "x-ms-identifiers": [] + }, + "targetVmBiosId": { + "type": "string", + "description": "Gets or sets the BIOS Id of the target AzStackHCI VM.", + "readOnly": true + }, + "targetVmName": { + "type": "string", + "description": "Gets or sets the target VM display name." + }, + "hyperVGeneration": { + "type": "string", + "description": "Gets or sets the hypervisor generation of the virtual machine possible values are 1,2.", + "minLength": 1 + }, + "targetNetworkId": { + "type": "string", + "description": "Gets or sets the target network Id within AzStackHCI Cluster." + }, + "testNetworkId": { + "type": "string", + "description": "Gets or sets the target test network Id within AzStackHCI Cluster." + }, + "targetCpuCores": { + "type": "integer", + "format": "int32", + "description": "Gets or sets the target CPU cores." + }, + "isDynamicRam": { + "type": "boolean", + "description": "Gets or sets a value indicating whether memory is dynamical." + }, + "dynamicMemoryConfig": { + "$ref": "#/definitions/ProtectedItemDynamicMemoryConfig", + "description": "Protected item dynamic memory config." + }, + "targetMemoryInMegaBytes": { + "type": "integer", + "format": "int32", + "description": "Gets or sets the target memory in mega-bytes." + }, + "osType": { + "type": "string", + "description": "Gets or sets the type of the OS.", + "readOnly": true + }, + "osName": { + "type": "string", + "description": "Gets or sets the name of the OS.", + "readOnly": true + }, + "firmwareType": { + "type": "string", + "description": "Gets or sets the firmware type.", + "readOnly": true + }, + "fabricDiscoveryMachineId": { + "type": "string", + "description": "Gets or sets the ARM Id of the discovered machine.", + "minLength": 1 + }, + "sourceVmName": { + "type": "string", + "description": "Gets or sets the source VM display name.", + "readOnly": true + }, + "sourceCpuCores": { + "type": "integer", + "format": "int32", + "description": "Gets or sets the source VM CPU cores.", + "readOnly": true + }, + "sourceMemoryInMegaBytes": { + "type": "number", + "format": "double", + "description": "Gets or sets the source VM ram memory size in megabytes.", + "readOnly": true + }, + "runAsAccountId": { + "type": "string", + "description": "Gets or sets the run as account Id.", + "minLength": 1 + }, + "sourceFabricAgentName": { + "type": "string", + "description": "Gets or sets the source fabric agent name.", + "minLength": 1 + }, + "targetFabricAgentName": { + "type": "string", + "description": "Gets or sets the target fabric agent name.", + "minLength": 1 + }, + "sourceApplianceName": { + "type": "string", + "description": "Gets or sets the source appliance name.", + "readOnly": true + }, + "targetApplianceName": { + "type": "string", + "description": "Gets or sets the target appliance name.", + "readOnly": true + }, + "failoverRecoveryPointId": { + "type": "string", + "description": "Gets or sets the recovery point Id to which the VM was failed over.", + "readOnly": true + }, + "lastRecoveryPointReceived": { + "type": "string", + "format": "date-time", + "description": "Gets or sets the last recovery point received time.", + "readOnly": true + }, + "lastRecoveryPointId": { + "type": "string", + "description": "Gets or sets the last recovery point Id.", + "readOnly": true + }, + "initialReplicationProgressPercentage": { + "type": "integer", + "format": "int32", + "description": "Gets or sets the initial replication progress percentage. This is calculated based on total bytes processed for all disks in the source VM.", + "readOnly": true + }, + "migrationProgressPercentage": { + "type": "integer", + "format": "int32", + "description": "Gets or sets the migration progress percentage.", + "readOnly": true + }, + "resumeProgressPercentage": { + "type": "integer", + "format": "int32", + "description": "Gets or sets the resume progress percentage.", + "readOnly": true + }, + "resyncProgressPercentage": { + "type": "integer", + "format": "int32", + "description": "Gets or sets the resync progress percentage. This is calculated based on total bytes processed for all disks in the source VM.", + "readOnly": true + }, + "resyncRetryCount": { + "type": "integer", + "format": "int64", + "description": "Gets or sets the resync retry count.", + "readOnly": true + }, + "resyncRequired": { + "type": "boolean", + "description": "Gets or sets a value indicating whether resync is required.", + "readOnly": true + }, + "resyncState": { + "$ref": "#/definitions/VMwareToAzureMigrateResyncState", + "description": "Gets or sets the resync state.", + "readOnly": true + }, + "performAutoResync": { + "type": "boolean", + "description": "Gets or sets a value indicating whether auto resync is to be done." + }, + "resumeRetryCount": { + "type": "integer", + "format": "int64", + "description": "Gets or sets the resume retry count.", + "readOnly": true + }, + "lastReplicationUpdateTime": { + "type": "string", + "format": "date-time", + "description": "Gets or sets the latest timestamp that replication status is updated.", + "readOnly": true + } + }, + "required": [ + "targetHciClusterId", + "targetArcClusterCustomLocationId", + "storageContainerId", + "targetResourceGroupId", + "customLocationRegion", + "disksToInclude", + "nicsToInclude", + "hyperVGeneration", + "fabricDiscoveryMachineId", + "runAsAccountId", + "sourceFabricAgentName", + "targetFabricAgentName" + ], + "allOf": [ + { + "$ref": "#/definitions/ProtectedItemModelCustomProperties" + } + ], + "x-ms-discriminator-value": "VMwareToAzStackHCI" + }, + "VMwareToAzStackHCIProtectedItemModelCustomPropertiesUpdate": { + "type": "object", + "description": "VMware to AzStackHCI Protected item model custom properties.", + "properties": { + "nicsToInclude": { + "type": "array", + "description": "Gets or sets the list of VM NIC to replicate.", + "items": { + "$ref": "#/definitions/VMwareToAzStackHCINicInput" + }, + "x-ms-identifiers": [] + }, + "targetCpuCores": { + "type": "integer", + "format": "int32", + "description": "Gets or sets the target CPU cores." + }, + "isDynamicRam": { + "type": "boolean", + "description": "Gets or sets a value indicating whether memory is dynamical." + }, + "dynamicMemoryConfig": { + "$ref": "#/definitions/ProtectedItemDynamicMemoryConfig", + "description": "Protected item dynamic memory config." + }, + "targetMemoryInMegaBytes": { + "type": "integer", + "format": "int32", + "description": "Gets or sets the target memory in mega-bytes." + }, + "osType": { + "type": "string", + "description": "Gets or sets the type of the OS." + } + }, + "allOf": [ + { + "$ref": "#/definitions/ProtectedItemModelCustomPropertiesUpdate" + } + ], + "x-ms-discriminator-value": "VMwareToAzStackHCI" + }, + "VMwareToAzStackHCIProtectedNicProperties": { + "type": "object", + "description": "VMwareToAzStackHCI NIC properties.", + "properties": { + "nicId": { + "type": "string", + "description": "Gets or sets the NIC Id.", + "readOnly": true + }, + "macAddress": { + "type": "string", + "description": "Gets or sets the NIC mac address.", + "readOnly": true + }, + "label": { + "type": "string", + "description": "Gets or sets the NIC label.", + "readOnly": true + }, + "isPrimaryNic": { + "type": "boolean", + "description": "Gets or sets a value indicating whether this is the primary NIC." + }, + "networkName": { + "type": "string", + "description": "Gets or sets the network name.", + "readOnly": true + }, + "targetNetworkId": { + "type": "string", + "description": "Gets or sets the target network Id within AzStackHCI Cluster.", + "readOnly": true + }, + "testNetworkId": { + "type": "string", + "description": "Gets or sets the target test network Id within AzStackHCI Cluster.", + "readOnly": true + }, + "selectionTypeForFailover": { + "$ref": "#/definitions/VMNicSelection", + "description": "Gets or sets the selection type of the NIC.", + "readOnly": true + } + } + }, + "VMwareToAzStackHCIRecoveryPointModelCustomProperties": { + "type": "object", + "description": "VMware to AzStackHCI recovery point model custom properties.", + "properties": { + "diskIds": { + "type": "array", + "description": "Gets or sets the list of the disk Ids.", + "items": { + "type": "string" + }, + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/RecoveryPointModelCustomProperties" + } + ], + "x-ms-discriminator-value": "VMwareToAzStackHCIRecoveryPointModelCustomProperties" + }, + "VMwareToAzStackHCIReplicationExtensionModelCustomProperties": { + "type": "object", + "description": "VMware to AzStackHCI Replication extension model custom properties.", + "properties": { + "vmwareFabricArmId": { + "type": "string", + "description": "Gets or sets the ARM Id of the source VMware fabric.", + "minLength": 1 + }, + "vmwareSiteId": { + "type": "string", + "description": "Gets or sets the ARM Id of the VMware site.", + "readOnly": true + }, + "azStackHciFabricArmId": { + "type": "string", + "description": "Gets or sets the ARM Id of the target AzStackHCI fabric.", + "minLength": 1 + }, + "azStackHciSiteId": { + "type": "string", + "description": "Gets or sets the ARM Id of the AzStackHCI site.", + "readOnly": true + }, + "storageAccountId": { + "type": "string", + "description": "Gets or sets the storage account Id." + }, + "storageAccountSasSecretName": { + "type": "string", + "description": "Gets or sets the Sas Secret of storage account." + }, + "asrServiceUri": { + "type": "string", + "description": "Gets or sets the Uri of ASR.", + "readOnly": true + }, + "rcmServiceUri": { + "type": "string", + "description": "Gets or sets the Uri of Rcm.", + "readOnly": true + }, + "gatewayServiceUri": { + "type": "string", + "description": "Gets or sets the Uri of Gateway.", + "readOnly": true + }, + "sourceGatewayServiceId": { + "type": "string", + "description": "Gets or sets the gateway service Id of source.", + "readOnly": true + }, + "targetGatewayServiceId": { + "type": "string", + "description": "Gets or sets the gateway service Id of target.", + "readOnly": true + }, + "sourceStorageContainerName": { + "type": "string", + "description": "Gets or sets the source storage container name.", + "readOnly": true + }, + "targetStorageContainerName": { + "type": "string", + "description": "Gets or sets the target storage container name.", + "readOnly": true + }, + "resourceLocation": { + "type": "string", + "description": "Gets or sets the resource location.", + "readOnly": true + }, + "subscriptionId": { + "type": "string", + "description": "Gets or sets the subscription.", + "readOnly": true + }, + "resourceGroup": { + "type": "string", + "description": "Gets or sets the resource group.", + "readOnly": true + } + }, + "required": [ + "vmwareFabricArmId", + "azStackHciFabricArmId" + ], + "allOf": [ + { + "$ref": "#/definitions/ReplicationExtensionModelCustomProperties" + } + ], + "x-ms-discriminator-value": "VMwareToAzStackHCI" + }, + "VMwareToAzureMigrateResyncState": { + "type": "string", + "description": "Gets or sets the resync state.", + "enum": [ + "None", + "PreparedForResynchronization", + "StartedResynchronization" + ], + "x-ms-enum": { + "name": "VMwareToAzureMigrateResyncState", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None", + "description": "None state." + }, + { + "name": "PreparedForResynchronization", + "value": "PreparedForResynchronization", + "description": "Prepared for resynchronization state." + }, + { + "name": "StartedResynchronization", + "value": "StartedResynchronization", + "description": "Started resynchronization state." + } + ] + } + }, + "VaultIdentityModel": { + "type": "object", + "description": "Vault model.", + "properties": { + "type": { + "$ref": "#/definitions/VaultIdentityType", + "description": "Gets or sets the identityType which can be either SystemAssigned or None." + }, + "principalId": { + "type": "string", + "description": "Gets or sets the object ID of the service principal object for the managed identity that is used to grant role-based access to an Azure resource.", + "readOnly": true + }, + "tenantId": { + "type": "string", + "description": "Gets or sets a Globally Unique Identifier (GUID) that represents the Azure AD tenant where the resource is now a member.", + "readOnly": true + } + }, + "required": [ + "type" + ] + }, + "VaultIdentityType": { + "type": "string", + "description": "Gets or sets the identityType which can be either SystemAssigned or None.", + "enum": [ + "None", + "SystemAssigned", + "UserAssigned" + ], + "x-ms-enum": { + "name": "VaultIdentityType", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None", + "description": "No identity." + }, + { + "name": "SystemAssigned", + "value": "SystemAssigned", + "description": "System assigned identity." + }, + { + "name": "UserAssigned", + "value": "UserAssigned", + "description": "User assigned identity." + } + ] + } + }, + "VaultModel": { + "type": "object", + "description": "Vault model.", + "properties": { + "properties": { + "$ref": "#/definitions/VaultModelProperties", + "description": "The resource-specific properties for this resource." + }, + "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" + } + ] + }, + "VaultModelListResult": { + "type": "object", + "description": "The response of a VaultModel list operation.", + "properties": { + "value": { + "type": "array", + "description": "The VaultModel items on this page", + "items": { + "$ref": "#/definitions/VaultModel" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "VaultModelProperties": { + "type": "object", + "description": "Vault properties.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Gets or sets the provisioning state of the vault.", + "readOnly": true + }, + "serviceResourceId": { + "type": "string", + "description": "Gets or sets the service resource Id.", + "readOnly": true + }, + "vaultType": { + "$ref": "#/definitions/ReplicationVaultType", + "description": "Gets or sets the type of vault." + } + } + }, + "VaultModelUpdate": { + "type": "object", + "description": "Vault model update.", + "properties": { + "tags": { + "type": "object", + "description": "Gets or sets the resource tags.", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "$ref": "#/definitions/VaultModelProperties", + "description": "Vault properties." + }, + "identity": { + "$ref": "#/definitions/VaultIdentityModel", + "description": "Vault identity." + }, + "id": { + "type": "string", + "description": "Gets or sets the Id of the resource.", + "readOnly": true + }, + "name": { + "type": "string", + "description": "Gets or sets the name of the resource.", + "readOnly": true + }, + "type": { + "type": "string", + "description": "Gets or sets the type of the resource.", + "readOnly": true + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/systemData", + "description": "Metadata pertaining to creation and last modification of the resource.", + "readOnly": true + } + } + } + }, + "parameters": {} +} diff --git a/specification/recoveryservicesdatareplication/resource-manager/readme.md b/specification/recoveryservicesdatareplication/resource-manager/readme.md index efe58f62e3d9..2ee1518a5c0c 100644 --- a/specification/recoveryservicesdatareplication/resource-manager/readme.md +++ b/specification/recoveryservicesdatareplication/resource-manager/readme.md @@ -26,7 +26,7 @@ These are the global settings for the recoveryservicesdatareplication. ```yaml openapi-type: arm -tag: package-2021-02-16-preview +tag: package-2024-09-01 ``` ### Tag: package-2021-02-16-preview @@ -38,6 +38,46 @@ input-file: - Microsoft.DataReplication/preview/2021-02-16-preview/recoveryservicesdatareplication.json ``` +### Tag: package-2024-09-01 + +These settings apply only when `--tag=package-2024-09-01` is specified on the command line. + +```yaml $(tag) == 'package-2024-09-01' +input-file: + - Microsoft.DataReplication/stable/2024-09-01/recoveryservicesdatareplication.json +``` + +--- + +## Suppression + +``` yaml +suppressions: + - code: GuidUsage + reason: These parameters have already shipped as type GUID in the previous API version. + where: + - $.definitions.HyperVToAzStackHCIDiskInput.properties.diskIdentifier.format + - $.definitions.VMwareToAzStackHCIDiskInput.properties.diskIdentifier.format + + - code: AllTrackedResourcesMustHaveDelete + reason: PrivateEndpointConnectionProxy has a delete operation defined. + where: + - $.definitions.PrivateEndpointConnectionProxy + + - code: TrackedResourcePatchOperation + reason: PrivateEndpointConnectionProxy does not support an update operation. + where: + - $.definitions.PrivateEndpointConnectionProxy + + - code: PatchBodyParametersSchema + reason: False positive since these properties are either discriminator or identity that are required. + where: + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationFabrics/{fabricName}"].patch.parameters[4].schema.properties.properties + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}"].patch.parameters[4].schema.properties.identity + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/protectedItems/{protectedItemName}"].patch.parameters[5].schema.properties.properties + +``` + --- # Code Generation