diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/Addon.tsp b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/Addon.tsp new file mode 100644 index 000000000000..f2374d1d65c7 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/Addon.tsp @@ -0,0 +1,104 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./DataBoxEdgeDevice.tsp"; +import "./VirtualResource.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.DataBoxEdge; +// FIXME: Addon has no properties property +/** + * Role Addon + */ +@discriminator("kind") +@parentResource(Role) +model Addon + is Azure.ResourceManager.Legacy.DiscriminatedProxyResource { + ...ResourceNameParameter< + Resource = Addon, + KeyName = "addonName", + SegmentName = "addons", + NamePattern = "" + >; +} + +@armResourceOperations +interface Addons { + /** + * Gets a specific addon by name. + */ + get is AddonsOps.Read; + + /** + * Create or update a addon. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + createOrUpdate is AddonsOps.CreateOrUpdateAsync< + Addon, + Response = ArmResourceUpdatedResponse | ArmAcceptedLroResponse & + Azure.Core.Foundations.RetryAfterHeader>, + OverrideErrorType = CloudError + >; + + /** + * Deletes the addon on the device. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + delete is AddonsOps.DeleteWithoutOkAsync< + Addon, + Response = ArmDeletedResponse | ArmDeleteAcceptedLroResponse | ArmDeletedNoContentResponse, + OverrideErrorType = CloudError + >; + + /** + * Lists all the addons configured in the role. + */ + listByRole is AddonsOps.List< + Addon, + Response = ArmResponse, + OverrideErrorType = CloudError + >; +} + +@armResourceOperations +interface AddonsOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** + * The name of the device. + */ + @path + @segment("dataBoxEdgeDevices") + deviceName: string, + + /** + * The name of the role. + */ + @path + @segment("roles") + roleName: string, + }, + { + /** + * The name of the addon. + */ + @path + @segment("addons") + addonName: string, + } + > {} + +@@doc(Addon.name, "The addon name."); +@@doc(Addons.createOrUpdate::parameters.resource, "The addon properties."); +@@doc(Addon.kind, "Addon type."); diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/Alert.tsp b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/Alert.tsp new file mode 100644 index 000000000000..9e57a77d0489 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/Alert.tsp @@ -0,0 +1,46 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./DataBoxEdgeDevice.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.DataBoxEdge; +/** + * Alert on the data box edge/gateway device. + */ +@parentResource(DataBoxEdgeDevice) +model Alert is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = Alert, + KeyName = "name", + SegmentName = "alerts", + NamePattern = "" + >; +} + +@armResourceOperations +interface Alerts { + /** + * Gets an alert by name. + */ + @summary("Gets an alert by name.") + get is ArmResourceRead; + + /** + * Gets all the alerts for a Data Box Edge/Data Box Gateway device. + */ + listByDataBoxEdgeDevice is ArmResourceListByParent< + Alert, + Response = ArmResponse, + Error = CloudError + >; +} + +@@doc(Alert.name, "The alert name."); +@@doc(Alert.properties, "Properties of alert."); diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/BandwidthSchedule.tsp b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/BandwidthSchedule.tsp new file mode 100644 index 000000000000..503fc75c7da4 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/BandwidthSchedule.tsp @@ -0,0 +1,72 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./DataBoxEdgeDevice.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.DataBoxEdge; +/** + * The bandwidth schedule details. + */ +@parentResource(DataBoxEdgeDevice) +model BandwidthSchedule + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = BandwidthSchedule, + KeyName = "name", + SegmentName = "bandwidthSchedules", + NamePattern = "" + >; +} + +@armResourceOperations +interface BandwidthSchedules { + /** + * Gets the properties of the specified bandwidth schedule. + */ + get is ArmResourceRead; + + /** + * Creates or updates a bandwidth schedule. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + createOrUpdate is ArmResourceCreateOrReplaceAsync< + BandwidthSchedule, + Response = ArmResourceUpdatedResponse | ArmAcceptedLroResponse & + Azure.Core.Foundations.RetryAfterHeader>, + Error = CloudError + >; + + /** + * Deletes the specified bandwidth schedule. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + delete is ArmResourceDeleteWithoutOkAsync< + BandwidthSchedule, + Response = ArmDeletedResponse | ArmDeleteAcceptedLroResponse | ArmDeletedNoContentResponse, + Error = CloudError + >; + + /** + * Gets all the bandwidth schedules for a Data Box Edge/Data Box Gateway device. + */ + listByDataBoxEdgeDevice is ArmResourceListByParent< + BandwidthSchedule, + Response = ArmResponse, + Error = CloudError + >; +} + +@@doc(BandwidthSchedule.name, "The bandwidth schedule name."); +@@doc(BandwidthSchedule.properties, + "The properties of the bandwidth schedule." +); +@@doc(BandwidthSchedules.createOrUpdate::parameters.resource, + "The bandwidth schedule to be added or updated." +); diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/Container.tsp b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/Container.tsp new file mode 100644 index 000000000000..e454bc1846d1 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/Container.tsp @@ -0,0 +1,81 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./StorageAccount.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.DataBoxEdge; +/** + * Represents a container on the Data Box Edge/Gateway device. + */ +@parentResource(StorageAccount) +model Container + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = Container, + KeyName = "containerName", + SegmentName = "containers", + NamePattern = "" + >; +} + +@armResourceOperations +interface Containers { + /** + * Gets a container by name. + */ + @summary("Gets a container by name.") + get is ArmResourceRead; + + /** + * Creates a new container or updates an existing container on the device. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Creates a new container or updates an existing container on the device.") + createOrUpdate is ArmResourceCreateOrReplaceAsync< + Container, + Response = ArmResourceUpdatedResponse | ArmAcceptedLroResponse & + Azure.Core.Foundations.RetryAfterHeader>, + Error = CloudError + >; + + /** + * Deletes the container on the Data Box Edge/Data Box Gateway device. + */ + delete is ArmResourceDeleteWithoutOkAsync; + + /** + * Lists all the containers of a storage Account in a Data Box Edge/Data Box Gateway device. + */ + @summary("Lists all the containers of a storage Account in a Data Box Edge/Data Box Gateway device.") + listByStorageAccount is ArmResourceListByParent< + Container, + Response = ArmResponse, + Error = CloudError + >; + + /** + * Refreshes the container metadata with the data from the cloud. + */ + @summary("Refreshes the container metadata with the data from the cloud.") + refresh is ArmResourceActionAsync< + Container, + void, + OkResponse, + Error = CloudError, + LroHeaders = Azure.Core.Foundations.RetryAfterHeader & + ArmLroLocationHeader + >; +} + +@@doc(Container.name, "The container Name"); +@@doc(Container.properties, "The container properties."); +@@doc(Containers.createOrUpdate::parameters.resource, + "The container properties." +); diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/DataBoxEdgeDevice.tsp b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/DataBoxEdgeDevice.tsp new file mode 100644 index 000000000000..0aa4af68c581 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/DataBoxEdgeDevice.tsp @@ -0,0 +1,285 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.DataBoxEdge; +/** + * The Data Box Edge/Gateway device. + */ +model DataBoxEdgeDevice + is Azure.ResourceManager.TrackedResource { + ...ResourceNameParameter< + Resource = DataBoxEdgeDevice, + KeyName = "deviceName", + SegmentName = "dataBoxEdgeDevices", + NamePattern = "" + >; + + /** + * The SKU type. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + sku?: Sku; + + /** + * The etag for the devices. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + etag?: string; + + /** + * Msi identity of the resource + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + identity?: ResourceIdentity; + + /** + * The kind of the device. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read) + kind?: DataBoxEdgeDeviceKind; +} + +@armResourceOperations +interface DataBoxEdgeDevices { + /** + * Gets the properties of the Data Box Edge/Data Box Gateway device. + */ + get is ArmResourceRead; + + /** + * Creates or updates a Data Box Edge/Data Box Gateway resource. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + createOrUpdate is ArmResourceCreateOrReplaceSync< + DataBoxEdgeDevice, + Response = ArmResourceUpdatedResponse, + Error = CloudError + >; + + /** + * Modifies a Data Box Edge/Data Box Gateway resource. + */ + @patch(#{ implicitOptionality: false }) + update is ArmCustomPatchSync< + DataBoxEdgeDevice, + PatchModel = DataBoxEdgeDevicePatch, + Error = CloudError + >; + + /** + * Deletes the Data Box Edge/Data Box Gateway device. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + delete is ArmResourceDeleteWithoutOkAsync< + DataBoxEdgeDevice, + Response = ArmDeletedResponse | ArmDeleteAcceptedLroResponse | ArmDeletedNoContentResponse, + Error = CloudError + >; + + /** + * Gets all the Data Box Edge/Data Box Gateway devices in a resource group. + */ + listByResourceGroup is ArmResourceListByParent< + DataBoxEdgeDevice, + Parameters = { + /** + * Specify $expand=details to populate additional fields related to the resource or Specify $skipToken= to populate the next page in the list. + */ + @query("$expand") + $expand?: string; + }, + Response = ArmResponse, + Error = CloudError + >; + + /** + * Gets all the Data Box Edge/Data Box Gateway devices in a subscription. + */ + listBySubscription is ArmListBySubscription< + DataBoxEdgeDevice, + Parameters = { + /** + * Specify $expand=details to populate additional fields related to the resource or Specify $skipToken= to populate the next page in the list. + */ + @query("$expand") + $expand?: string; + }, + Response = ArmResponse, + Error = CloudError + >; + + /** + * Downloads the updates on a Data Box Edge/Data Box Gateway device. + */ + @summary("Downloads the updates on a Data Box Edge/Data Box Gateway device.") + downloadUpdates is ArmResourceActionAsync< + DataBoxEdgeDevice, + void, + OkResponse, + Error = CloudError, + LroHeaders = Azure.Core.Foundations.RetryAfterHeader & + ArmLroLocationHeader + >; + + /** + * Generates certificate for activation key. + */ + generateCertificate is ArmResourceActionSync< + DataBoxEdgeDevice, + void, + ArmResponse, + Error = CloudError + >; + + /** + * Gets additional information for the specified Azure Stack Edge/Data Box Gateway device. + */ + getExtendedInformation is ArmResourceActionSync< + DataBoxEdgeDevice, + void, + ArmResponse, + Error = CloudError + >; + + /** + * Installs the updates on the Data Box Edge/Data Box Gateway device. + */ + @summary("Installs the updates on the Data Box Edge/Data Box Gateway device.") + installUpdates is ArmResourceActionAsync< + DataBoxEdgeDevice, + void, + OkResponse, + Error = CloudError, + LroHeaders = Azure.Core.Foundations.RetryAfterHeader & + ArmLroLocationHeader + >; + + /** + * Scans for updates on a Data Box Edge/Data Box Gateway device. + */ + scanForUpdates is ArmResourceActionAsync< + DataBoxEdgeDevice, + void, + OkResponse, + Error = CloudError, + LroHeaders = Azure.Core.Foundations.RetryAfterHeader & + ArmLroLocationHeader + >; + + /** + * Updates the security settings on a Data Box Edge/Data Box Gateway device. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-post-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @action("securitySettings/default/update") + createOrUpdateSecuritySettings is ArmResourceActionAsync< + DataBoxEdgeDevice, + SecuritySettings, + NoContentResponse, + Error = CloudError, + LroHeaders = Azure.Core.Foundations.RetryAfterHeader & + ArmLroLocationHeader + >; + + /** + * Gets additional information for the specified Data Box Edge/Data Box Gateway device. + */ + @action("updateExtendedInformation") + updateExtendedInformation is ArmResourceActionSync< + DataBoxEdgeDevice, + DataBoxEdgeDeviceExtendedInfoPatch, + ArmResponse, + Error = CloudError + >; + + /** + * Uploads registration certificate for the device. + */ + uploadCertificate is ArmResourceActionSync< + DataBoxEdgeDevice, + UploadCertificateRequest, + ArmResponse, + Error = CloudError + >; + + /** + * Posts the device capacity request info to check feasibility. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/lro-location-header" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @action("deviceCapacityCheck") + checkResourceCreationFeasibility is ArmResourceActionAsync< + DataBoxEdgeDevice, + DeviceCapacityRequestInfo, + OkResponse, + Parameters = { + /** + * The capacity name. + */ + @query("capacityName") + capacityName?: string; + }, + Error = CloudError, + LroHeaders = ArmAsyncOperationHeader & + Azure.Core.Foundations.RetryAfterHeader + >; + + /** + * Gets all the nodes currently configured under this Data Box Edge device + */ + @list + @get + @action("nodes") + listByDataBoxEdgeDevice is ArmResourceActionSync< + DataBoxEdgeDevice, + void, + ArmResponse, + Error = CloudError + >; + + /** + * Triggers support package on the device + */ + @summary("Triggers support package on the device") + triggerSupportPackage is ArmResourceActionAsync< + DataBoxEdgeDevice, + TriggerSupportPackageRequest, + OkResponse, + Error = CloudError, + LroHeaders = Azure.Core.Foundations.RetryAfterHeader & + ArmLroLocationHeader + >; +} + +@@doc(DataBoxEdgeDevice.name, "The device name."); +@@doc(DataBoxEdgeDevice.properties, + "The properties of the Data Box Edge/Gateway device." +); +@@doc(DataBoxEdgeDevices.createOrUpdate::parameters.resource, + "The resource object." +); +@@doc(DataBoxEdgeDevices.update::parameters.properties, + "The resource parameters." +); +@@doc(DataBoxEdgeDevices.createOrUpdateSecuritySettings::parameters.body, + "The security settings." +); +@@doc(DataBoxEdgeDevices.updateExtendedInformation::parameters.body, + "The patch object." +); +@@doc(DataBoxEdgeDevices.uploadCertificate::parameters.body, + "The upload certificate request." +); +@@doc(DataBoxEdgeDevices.checkResourceCreationFeasibility::parameters.body, + "The device capacity request info." +); +@@doc(DataBoxEdgeDevices.triggerSupportPackage::parameters.body, + "The trigger support package request object" +); diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/DeviceCapacityInfo.tsp b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/DeviceCapacityInfo.tsp new file mode 100644 index 000000000000..ab075d669ddb --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/DeviceCapacityInfo.tsp @@ -0,0 +1,41 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./DataBoxEdgeDevice.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.DataBoxEdge; +/** + * Object for Capturing DeviceCapacityInfo + */ +@singleton("default") +@parentResource(DataBoxEdgeDevice) +model DeviceCapacityInfo + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = DeviceCapacityInfo, + KeyName = "deviceCapacityInfo", + SegmentName = "deviceCapacityInfo", + NamePattern = "" + >; +} + +@armResourceOperations +interface DeviceCapacityInfos { + /** + * Gets the properties of the specified device capacity info. + */ + getDeviceCapacityInfo is ArmResourceRead< + DeviceCapacityInfo, + Error = CloudError + >; +} + +@@doc(DeviceCapacityInfo.name, ""); +@@doc(DeviceCapacityInfo.properties, "The device capacity properties."); diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/DiagnosticProactiveLogCollectionSettings.tsp b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/DiagnosticProactiveLogCollectionSettings.tsp new file mode 100644 index 000000000000..9212c3dd990f --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/DiagnosticProactiveLogCollectionSettings.tsp @@ -0,0 +1,61 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./DataBoxEdgeDevice.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.DataBoxEdge; +/** + * The diagnostic proactive log collection settings of a device. + */ +@singleton("default") +@parentResource(DataBoxEdgeDevice) +model DiagnosticProactiveLogCollectionSettings + is Azure.ResourceManager.ProxyResource< + ProactiveLogCollectionSettingsProperties, + false + > { + ...ResourceNameParameter< + Resource = DiagnosticProactiveLogCollectionSettings, + KeyName = "diagnosticProactiveLogCollectionSetting", + SegmentName = "diagnosticProactiveLogCollectionSettings", + NamePattern = "" + >; +} + +#suppress "@azure-tools/typespec-azure-resource-manager/no-resource-delete-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@armResourceOperations +interface DiagnosticSettings { + /** + * Gets the proactive log collection settings of the specified Data Box Edge/Data Box Gateway device. + */ + getDiagnosticProactiveLogCollectionSettings is ArmResourceRead< + DiagnosticProactiveLogCollectionSettings, + Error = CloudError + >; + + /** + * Updates the proactive log collection settings on a Data Box Edge/Data Box Gateway device. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + updateDiagnosticProactiveLogCollectionSettings is ArmResourceCreateOrReplaceAsync< + DiagnosticProactiveLogCollectionSettings, + Response = ArmResourceUpdatedResponse | ArmAcceptedLroResponse & + Azure.Core.Foundations.RetryAfterHeader>, + Error = CloudError + >; +} + +@@doc(DiagnosticProactiveLogCollectionSettings.name, ""); +@@doc(DiagnosticProactiveLogCollectionSettings.properties, + "Properties of the diagnostic proactive log collection settings." +); +@@doc(DiagnosticSettings.updateDiagnosticProactiveLogCollectionSettings::parameters.resource, + "The proactive log collection settings." +); diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/DiagnosticRemoteSupportSettings.tsp b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/DiagnosticRemoteSupportSettings.tsp new file mode 100644 index 000000000000..49f12e5f432c --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/DiagnosticRemoteSupportSettings.tsp @@ -0,0 +1,61 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./DataBoxEdgeDevice.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.DataBoxEdge; +/** + * The remote support settings of a device. + */ +@singleton("default") +@parentResource(DataBoxEdgeDevice) +model DiagnosticRemoteSupportSettings + is Azure.ResourceManager.ProxyResource< + DiagnosticRemoteSupportSettingsProperties, + false + > { + ...ResourceNameParameter< + Resource = DiagnosticRemoteSupportSettings, + KeyName = "diagnosticRemoteSupportSetting", + SegmentName = "diagnosticRemoteSupportSettings", + NamePattern = "" + >; +} + +#suppress "@azure-tools/typespec-azure-resource-manager/no-resource-delete-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@armResourceOperations +interface DiagnosticRemoteSupportSettingsOperationGroup { + /** + * Gets the diagnostic remote support settings of the specified Data Box Edge/Data Box Gateway device. + */ + getDiagnosticRemoteSupportSettings is ArmResourceRead< + DiagnosticRemoteSupportSettings, + Error = CloudError + >; + + /** + * Updates the diagnostic remote support settings on a Data Box Edge/Data Box Gateway device. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + updateDiagnosticRemoteSupportSettings is ArmResourceCreateOrReplaceAsync< + DiagnosticRemoteSupportSettings, + Response = ArmResourceUpdatedResponse | ArmAcceptedLroResponse & + Azure.Core.Foundations.RetryAfterHeader>, + Error = CloudError + >; +} + +@@doc(DiagnosticRemoteSupportSettings.name, ""); +@@doc(DiagnosticRemoteSupportSettings.properties, + "Properties of the remote support settings." +); +@@doc(DiagnosticRemoteSupportSettingsOperationGroup.updateDiagnosticRemoteSupportSettings::parameters.resource, + "The diagnostic remote support settings." +); diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/Job.tsp b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/Job.tsp new file mode 100644 index 000000000000..a2437e7cafcd --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/Job.tsp @@ -0,0 +1,126 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./DataBoxEdgeDevice.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.DataBoxEdge; +/** + * A device job. + */ +@parentResource(DataBoxEdgeDevice) +model Job is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = Job, + KeyName = "name", + SegmentName = "jobs", + NamePattern = "" + >; + + /** + * The current status of the job. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read) + status?: JobStatus; + + /** + * The UTC date and time at which the job started. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + startTime?: utcDateTime; + + /** + * The UTC date and time at which the job completed. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + endTime?: utcDateTime; + + /** + * The percentage of the job that is complete. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read) + percentComplete?: int32; + + /** + * The error details. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read) + error?: JobErrorDetails; +} + +alias JobOps = Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter; + ...SubscriptionIdParameter; + ...ResourceGroupParameter; + ...Azure.ResourceManager.Legacy.Provider; + + /** The device name. */ + @path + @segment("dataBoxEdgeDevices") + @key + deviceName: string; + }, + { + /** The job name. */ + @path + @segment("jobs") + @key + name: string; + } +>; + +@armResourceOperations +interface Jobs { + /** + * Gets the details of a specified job on a Data Box Edge/Data Box Gateway device. + */ + @summary("Gets the details of a specified job on a Data Box Edge/Data Box Gateway device.") + get is JobOps.Read; +} +alias OperationsStatusOps = Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter; + ...SubscriptionIdParameter; + ...ResourceGroupParameter; + ...Azure.ResourceManager.Legacy.Provider; + + /** The device name. */ + @path + @segment("dataBoxEdgeDevices") + @key + deviceName: string; + }, + { + /** The job name. */ + @path + @segment("operationsStatus") + @key + name: string; + } +>; + +@armResourceOperations +interface OperationsStatus { + /** + * Gets the details of a specified job on a Data Box Edge/Data Box Gateway device. + */ + @summary("Gets the details of a specified job on a Data Box Edge/Data Box Gateway device.") + get is OperationsStatusOps.Read; +} + +@@doc(Job.name, "The job name."); +@@doc(Job.properties, "The properties of the job."); diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/MonitoringMetricConfiguration.tsp b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/MonitoringMetricConfiguration.tsp new file mode 100644 index 000000000000..86e5756d6637 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/MonitoringMetricConfiguration.tsp @@ -0,0 +1,145 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./DataBoxEdgeDevice.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.DataBoxEdge; +/** + * The metric setting details for the role + */ +@singleton("default") +@parentResource(Role) +model MonitoringMetricConfiguration + is Azure.ResourceManager.ProxyResource< + MonitoringMetricConfigurationProperties, + false + > { + ...ResourceNameParameter< + Resource = MonitoringMetricConfiguration, + KeyName = "monitoringConfig", + SegmentName = "monitoringConfig", + NamePattern = "" + >; +} + +@armResourceOperations +interface MonitoringMetricConfigurations { + /** + * Gets a metric configuration of a role. + */ + @action("monitoringConfig/default") + @summary("Gets a metric configuration of a role.") + get is MonitoringMetricConfigurationsNonListOps.Read< + MonitoringMetricConfiguration, + OverrideErrorType = CloudError + >; + + /** + * Creates a new metric configuration or updates an existing one for a role. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @action("monitoringConfig/default") + @summary("Creates a new metric configuration or updates an existing one for a role.") + createOrUpdate is MonitoringMetricConfigurationsNonListOps.CreateOrUpdateAsync< + MonitoringMetricConfiguration, + Response = ArmResourceUpdatedResponse | ArmAcceptedLroResponse & + Azure.Core.Foundations.RetryAfterHeader>, + OverrideErrorType = CloudError + >; + + /** + * deletes a new metric configuration for a role. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @action("monitoringConfig/default") + @summary("deletes a new metric configuration for a role.") + delete is MonitoringMetricConfigurationsNonListOps.DeleteWithoutOkAsync< + MonitoringMetricConfiguration, + Response = ArmDeletedResponse | ArmDeleteAcceptedLroResponse | ArmDeletedNoContentResponse, + OverrideErrorType = CloudError + >; + + /** + * Lists metric configurations in a role. + */ + @summary("Lists metric configurations in a role.") + list is MonitoringMetricConfigurationsListOps.List< + MonitoringMetricConfiguration, + Response = ArmResponse, + OverrideErrorType = CloudError + >; +} + +@armResourceOperations +interface MonitoringMetricConfigurationsListOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** + * The name of the device. + */ + @path + @segment("dataBoxEdgeDevices") + deviceName: string, + + /** + * The name of the role. + */ + @path + @segment("roles") + roleName: string, + }, + { + /** + * The name of the monitoring config. + */ + @path + @segment("monitoringConfig") + monitoringConfig: string, + } + > {} + +@armResourceOperations +interface MonitoringMetricConfigurationsNonListOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** + * The name of the device. + */ + @path + @segment("dataBoxEdgeDevices") + deviceName: string, + + /** + * The name of the role. + */ + @path + @segment("roles") + roleName: string, + }, + {} + > {} + +@@doc(MonitoringMetricConfiguration.name, ""); +@@doc(MonitoringMetricConfiguration.properties, + "The metric setting properties." +); +@@doc(MonitoringMetricConfigurations.createOrUpdate::parameters.resource, + "The metric configuration." +); diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/NetworkSettings.tsp b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/NetworkSettings.tsp new file mode 100644 index 000000000000..c5b325ff8cd5 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/NetworkSettings.tsp @@ -0,0 +1,40 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./DataBoxEdgeDevice.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.DataBoxEdge; +/** + * The network settings of a device. + */ +@singleton("default") +@parentResource(DataBoxEdgeDevice) +model NetworkSettings + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = NetworkSettings, + KeyName = "networkSetting", + SegmentName = "networkSettings", + NamePattern = "" + >; +} + +@armResourceOperations +interface Devices { + /** + * Gets the network settings of the specified Data Box Edge/Data Box Gateway device. + */ + getNetworkSettings is ArmResourceRead; +} + +@@doc(NetworkSettings.name, ""); +@@doc(NetworkSettings.properties, + "The properties of network settings of a device." +); diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/Order.tsp b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/Order.tsp new file mode 100644 index 000000000000..aedba7971b87 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/Order.tsp @@ -0,0 +1,93 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./DataBoxEdgeDevice.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.DataBoxEdge; +/** + * The order details. + */ +@singleton("default") +@parentResource(DataBoxEdgeDevice) +model Order is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = Order, + KeyName = "order", + SegmentName = "orders", + NamePattern = "" + >; + + /** + * It specify the order api version. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read) + kind?: string; +} + +@armResourceOperations +interface Orders { + /** + * Gets a specific order by name. + */ + @summary("Gets a specific order by name.") + get is ArmResourceRead; + + /** + * Creates or updates an order. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Creates or updates an order.") + createOrUpdate is ArmResourceCreateOrReplaceAsync< + Order, + Response = ArmResourceUpdatedResponse | ArmAcceptedLroResponse & + Azure.Core.Foundations.RetryAfterHeader>, + Error = CloudError + >; + + /** + * Deletes the order related to the device. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Deletes the order related to the device.") + delete is ArmResourceDeleteWithoutOkAsync< + Order, + Response = ArmDeletedResponse | ArmDeleteAcceptedLroResponse | ArmDeletedNoContentResponse, + Error = CloudError + >; + + /** + * Lists all the orders related to a Data Box Edge/Data Box Gateway device. + */ + @summary("Lists all the orders related to a Data Box Edge/Data Box Gateway device.") + listByDataBoxEdgeDevice is ArmResourceListByParent< + Order, + Response = ArmResponse, + Error = CloudError + >; + + /** + * Gets the DCAccess Code + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Gets the DCAccess Code") + listDCAccessCode is ArmResourceActionSync< + Order, + void, + ArmResponse, + Error = CloudError + >; +} + +@@doc(Order.name, ""); +@@doc(Order.properties, "The order properties."); +@@doc(Orders.createOrUpdate::parameters.resource, + "The order to be created or updated." +); diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/Role.tsp b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/Role.tsp new file mode 100644 index 000000000000..c618354dfe1c --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/Role.tsp @@ -0,0 +1,70 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./DataBoxEdgeDevice.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.DataBoxEdge; +// FIXME: Role has no properties property +/** + * Compute role. + */ +@discriminator("kind") +@parentResource(DataBoxEdgeDevice) +model Role + is Azure.ResourceManager.Legacy.DiscriminatedProxyResource { + ...ResourceNameParameter< + Resource = Role, + KeyName = "name", + SegmentName = "roles", + NamePattern = "" + >; +} + +@armResourceOperations +interface Roles { + /** + * Gets a specific role by name. + */ + get is ArmResourceRead; + + /** + * Create or update a role. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + createOrUpdate is ArmResourceCreateOrReplaceAsync< + Role, + Response = ArmResourceUpdatedResponse | ArmAcceptedLroResponse & + Azure.Core.Foundations.RetryAfterHeader>, + Error = CloudError + >; + + /** + * Deletes the role on the device. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + delete is ArmResourceDeleteWithoutOkAsync< + Role, + Response = ArmDeletedResponse | ArmDeleteAcceptedLroResponse | ArmDeletedNoContentResponse, + Error = CloudError + >; + + /** + * Lists all the roles configured in a Data Box Edge/Data Box Gateway device. + */ + listByDataBoxEdgeDevice is ArmResourceListByParent< + Role, + Response = ArmResponse, + Error = CloudError + >; +} + +@@doc(Role.name, "The role name."); +@@doc(Roles.createOrUpdate::parameters.resource, "The role properties."); +@@doc(Role.kind, "Role type."); diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/Share.tsp b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/Share.tsp new file mode 100644 index 000000000000..6775b0df2d5b --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/Share.tsp @@ -0,0 +1,83 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./DataBoxEdgeDevice.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.DataBoxEdge; +/** + * Represents a share on the Data Box Edge/Gateway device. + */ +@parentResource(DataBoxEdgeDevice) +model Share is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = Share, + KeyName = "name", + SegmentName = "shares", + NamePattern = "" + >; +} + +@armResourceOperations +interface Shares { + /** + * Gets a share by name. + */ + @summary("Gets a share by name.") + get is ArmResourceRead; + + /** + * Creates a new share or updates an existing share on the device. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Creates a new share or updates an existing share on the device.") + createOrUpdate is ArmResourceCreateOrReplaceAsync< + Share, + Response = ArmResourceUpdatedResponse | ArmAcceptedLroResponse & + Azure.Core.Foundations.RetryAfterHeader>, + Error = CloudError + >; + + /** + * Deletes the share on the Data Box Edge/Data Box Gateway device. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + delete is ArmResourceDeleteWithoutOkAsync< + Share, + Response = ArmDeletedResponse | ArmDeleteAcceptedLroResponse | ArmDeletedNoContentResponse, + Error = CloudError + >; + + /** + * Lists all the shares in a Data Box Edge/Data Box Gateway device. + */ + @summary("Lists all the shares in a Data Box Edge/Data Box Gateway device.") + listByDataBoxEdgeDevice is ArmResourceListByParent< + Share, + Response = ArmResponse, + Error = CloudError + >; + + /** + * Refreshes the share metadata with the data from the cloud. + */ + @summary("Refreshes the share metadata with the data from the cloud.") + refresh is ArmResourceActionAsync< + Share, + void, + OkResponse, + Error = CloudError, + LroHeaders = Azure.Core.Foundations.RetryAfterHeader & + ArmLroLocationHeader + >; +} + +@@doc(Share.name, "The share name."); +@@doc(Share.properties, "The share properties."); +@@doc(Shares.createOrUpdate::parameters.resource, "The share properties."); diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/StorageAccount.tsp b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/StorageAccount.tsp new file mode 100644 index 000000000000..39fd14d77ec9 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/StorageAccount.tsp @@ -0,0 +1,68 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./DataBoxEdgeDevice.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.DataBoxEdge; +/** + * Represents a Storage Account on the Data Box Edge/Gateway device. + */ +@parentResource(DataBoxEdgeDevice) +model StorageAccount + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = StorageAccount, + KeyName = "storageAccountName", + SegmentName = "storageAccounts", + NamePattern = "" + >; +} + +@armResourceOperations +interface StorageAccounts { + /** + * Gets a StorageAccount by name. + */ + @summary("Gets a StorageAccount by name.") + get is ArmResourceRead; + + /** + * Creates a new StorageAccount or updates an existing StorageAccount on the device. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Creates a new StorageAccount or updates an existing StorageAccount on the device.") + createOrUpdate is ArmResourceCreateOrReplaceAsync< + StorageAccount, + Response = ArmResourceUpdatedResponse | ArmAcceptedLroResponse & + Azure.Core.Foundations.RetryAfterHeader>, + Error = CloudError + >; + + /** + * Deletes the StorageAccount on the Data Box Edge/Data Box Gateway device. + */ + delete is ArmResourceDeleteWithoutOkAsync; + + /** + * Lists all the StorageAccounts in a Data Box Edge/Data Box Gateway device. + */ + @summary("Lists all the StorageAccounts in a Data Box Edge/Data Box Gateway device.") + listByDataBoxEdgeDevice is ArmResourceListByParent< + StorageAccount, + Response = ArmResponse, + Error = CloudError + >; +} + +@@doc(StorageAccount.name, "The storage account name."); +@@doc(StorageAccount.properties, "The Storage Account properties."); +@@doc(StorageAccounts.createOrUpdate::parameters.resource, + "The StorageAccount properties." +); diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/StorageAccountCredential.tsp b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/StorageAccountCredential.tsp new file mode 100644 index 000000000000..af9bd57b0653 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/StorageAccountCredential.tsp @@ -0,0 +1,76 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./DataBoxEdgeDevice.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.DataBoxEdge; +/** + * The storage account credential. + */ +@parentResource(DataBoxEdgeDevice) +model StorageAccountCredential + is Azure.ResourceManager.ProxyResource< + StorageAccountCredentialProperties, + false + > { + ...ResourceNameParameter< + Resource = StorageAccountCredential, + KeyName = "name", + SegmentName = "storageAccountCredentials", + NamePattern = "" + >; +} + +@armResourceOperations +interface StorageAccountCredentials { + /** + * Gets the properties of the specified storage account credential. + */ + get is ArmResourceRead; + + /** + * Creates or updates the storage account credential. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + createOrUpdate is ArmResourceCreateOrReplaceAsync< + StorageAccountCredential, + Response = ArmResourceUpdatedResponse | ArmAcceptedLroResponse & + Azure.Core.Foundations.RetryAfterHeader>, + Error = CloudError + >; + + /** + * Deletes the storage account credential. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + delete is ArmResourceDeleteWithoutOkAsync< + StorageAccountCredential, + Response = ArmDeletedResponse | ArmDeleteAcceptedLroResponse | ArmDeletedNoContentResponse, + Error = CloudError + >; + + /** + * Gets all the storage account credentials in a Data Box Edge/Data Box Gateway device. + */ + @summary("Gets all the storage account credentials in a Data Box Edge/Data Box Gateway device.") + listByDataBoxEdgeDevice is ArmResourceListByParent< + StorageAccountCredential, + Response = ArmResponse, + Error = CloudError + >; +} + +@@doc(StorageAccountCredential.name, "The storage account credential name."); +@@doc(StorageAccountCredential.properties, + "The storage account credential properties." +); +@@doc(StorageAccountCredentials.createOrUpdate::parameters.resource, + "The storage account credential." +); diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/Trigger.tsp b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/Trigger.tsp new file mode 100644 index 000000000000..508c879380ca --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/Trigger.tsp @@ -0,0 +1,77 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./DataBoxEdgeDevice.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.DataBoxEdge; +// FIXME: Trigger has no properties property +/** + * Trigger details. + */ +@discriminator("kind") +@parentResource(DataBoxEdgeDevice) +model Trigger + is Azure.ResourceManager.Legacy.DiscriminatedProxyResource { + ...ResourceNameParameter< + Resource = Trigger, + KeyName = "name", + SegmentName = "triggers", + NamePattern = "" + >; +} + +@armResourceOperations +interface Triggers { + /** + * Get a specific trigger by name. + */ + get is ArmResourceRead; + + /** + * Creates or updates a trigger. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + createOrUpdate is ArmResourceCreateOrReplaceAsync< + Trigger, + Response = ArmResourceUpdatedResponse | ArmAcceptedLroResponse & + Azure.Core.Foundations.RetryAfterHeader>, + Error = CloudError + >; + + /** + * Deletes the trigger on the gateway device. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + delete is ArmResourceDeleteWithoutOkAsync< + Trigger, + Response = ArmDeletedResponse | ArmDeleteAcceptedLroResponse | ArmDeletedNoContentResponse, + Error = CloudError + >; + + /** + * Lists all the triggers configured in the device. + */ + listByDataBoxEdgeDevice is ArmResourceListByParent< + Trigger, + Parameters = { + /** + * Specify $filter='CustomContextTag eq ' to filter on custom context tag property + */ + @query("$filter") + $filter?: string; + }, + Response = ArmResponse, + Error = CloudError + >; +} + +@@doc(Trigger.name, "The trigger name."); +@@doc(Triggers.createOrUpdate::parameters.resource, "The trigger."); +@@doc(Trigger.kind, "Trigger Kind."); diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/UpdateSummary.tsp b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/UpdateSummary.tsp new file mode 100644 index 000000000000..3bebf85b8fbd --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/UpdateSummary.tsp @@ -0,0 +1,39 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./DataBoxEdgeDevice.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.DataBoxEdge; +/** + * Details about ongoing updates and availability of updates on the device. + */ +@singleton("default") +@parentResource(DataBoxEdgeDevice) +model UpdateSummary + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = UpdateSummary, + KeyName = "updateSummary", + SegmentName = "updateSummary", + NamePattern = "" + >; +} + +@armResourceOperations +interface UpdateSummaries { + /** + * Gets information about the availability of updates based on the last scan of the device. It also gets information about any ongoing download or install jobs on the device. + */ + @summary("Gets information about the availability of updates based on the last scan of the device. It also gets information about any ongoing download or install jobs on the device.") + getUpdateSummary is ArmResourceRead; +} + +@@doc(UpdateSummary.name, ""); +@@doc(UpdateSummary.properties, "The device update information summary."); diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/User.tsp b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/User.tsp new file mode 100644 index 000000000000..0e229770aac3 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/User.tsp @@ -0,0 +1,74 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./DataBoxEdgeDevice.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.DataBoxEdge; +/** + * Represents a user who has access to one or more shares on the Data Box Edge/Gateway device. + */ +@parentResource(DataBoxEdgeDevice) +model User is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = User, + KeyName = "name", + SegmentName = "users", + NamePattern = "" + >; +} + +@armResourceOperations +interface Users { + /** + * Gets the properties of the specified user. + */ + get is ArmResourceRead; + + /** + * Creates a new user or updates an existing user's information on a Data Box Edge/Data Box Gateway device. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + createOrUpdate is ArmResourceCreateOrReplaceAsync< + User, + Response = ArmResourceUpdatedResponse | ArmAcceptedLroResponse & + Azure.Core.Foundations.RetryAfterHeader>, + Error = CloudError + >; + + /** + * Deletes the user on a databox edge/gateway device. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + delete is ArmResourceDeleteWithoutOkAsync< + User, + Response = ArmDeletedResponse | ArmDeleteAcceptedLroResponse | ArmDeletedNoContentResponse, + Error = CloudError + >; + + /** + * Gets all the users registered on a Data Box Edge/Data Box Gateway device. + */ + listByDataBoxEdgeDevice is ArmResourceListByParent< + User, + Parameters = { + /** + * Specify $filter='Type eq ' to filter on user type property + */ + @query("$filter") + $filter?: string; + }, + Response = ArmResponse, + Error = CloudError + >; +} + +@@doc(User.name, "The user name."); +@@doc(User.properties, "The storage account credential properties."); +@@doc(Users.createOrUpdate::parameters.resource, "The user details."); diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/VirtualResource.tsp b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/VirtualResource.tsp new file mode 100644 index 000000000000..aa2456394621 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/VirtualResource.tsp @@ -0,0 +1,18 @@ +// import "@azure-tools/typespec-azure-core"; +// import "@azure-tools/typespec-azure-resource-manager"; +// import "@typespec/rest"; +// import "./DataBoxEdgeDevice.tsp"; + +// using TypeSpec.Rest; +// using Azure.ResourceManager; + +// namespace Microsoft.DataBoxEdge; + +// /** +// * Role resource in Data Box Edge. +// */ +// @parentResource(DataBoxEdgeDevice) +// @armVirtualResource +// model Role { +// ...ResourceNameParameter; +// } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/back-compatible.tsp b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/back-compatible.tsp new file mode 100644 index 000000000000..6cf99780392a --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/back-compatible.tsp @@ -0,0 +1,196 @@ +import "@azure-tools/typespec-client-generator-core"; + +using Azure.ClientGenerator.Core; +using Microsoft.DataBoxEdge; + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@Azure.ClientGenerator.Core.Legacy.flattenProperty(Operation.properties); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@Azure.ClientGenerator.Core.Legacy.flattenProperty(EdgeProfileSubscription.properties +); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@Azure.ClientGenerator.Core.Legacy.flattenProperty(DataBoxEdgeDevicePatch.properties +); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@Azure.ClientGenerator.Core.Legacy.flattenProperty(DeviceCapacityRequestInfo.properties +); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@Azure.ClientGenerator.Core.Legacy.flattenProperty(DataBoxEdgeDeviceExtendedInfo.properties +); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@Azure.ClientGenerator.Core.Legacy.flattenProperty(Node.properties); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@Azure.ClientGenerator.Core.Legacy.flattenProperty(DCAccessCode.properties); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@Azure.ClientGenerator.Core.Legacy.flattenProperty(SecuritySettings.properties +); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@Azure.ClientGenerator.Core.Legacy.flattenProperty(TriggerSupportPackageRequest.properties +); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@Azure.ClientGenerator.Core.Legacy.flattenProperty(UploadCertificateRequest.properties +); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@Azure.ClientGenerator.Core.Legacy.flattenProperty(ArcAddon.properties); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@Azure.ClientGenerator.Core.Legacy.flattenProperty(CloudEdgeManagementRole.properties +); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@Azure.ClientGenerator.Core.Legacy.flattenProperty(FileEventTrigger.properties +); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@Azure.ClientGenerator.Core.Legacy.flattenProperty(IoTAddon.properties); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@Azure.ClientGenerator.Core.Legacy.flattenProperty(IoTRole.properties); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@Azure.ClientGenerator.Core.Legacy.flattenProperty(KubernetesRole.properties); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@Azure.ClientGenerator.Core.Legacy.flattenProperty(MECRole.properties); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@Azure.ClientGenerator.Core.Legacy.flattenProperty(PeriodicTimerEventTrigger.properties +); + +@@clientLocation(DataBoxEdgeDevices.get, Devices); +@@clientLocation(DataBoxEdgeDevices.createOrUpdate, Devices); +@@clientName(DataBoxEdgeDevices.createOrUpdate::parameters.resource, + "dataBoxEdgeDevice" +); +@@clientLocation(DataBoxEdgeDevices.update, Devices); +@@clientName(DataBoxEdgeDevices.update::parameters.properties, "parameters"); +@@clientLocation(DataBoxEdgeDevices.delete, Devices); +@@clientLocation(DataBoxEdgeDevices.listByResourceGroup, Devices); +@@clientLocation(DataBoxEdgeDevices.listBySubscription, Devices); +@@clientLocation(DataBoxEdgeDevices.downloadUpdates, Devices); +@@clientLocation(DataBoxEdgeDevices.generateCertificate, Devices); +@@clientLocation(DataBoxEdgeDevices.getExtendedInformation, Devices); +@@clientLocation(DataBoxEdgeDevices.installUpdates, Devices); +@@clientLocation(DataBoxEdgeDevices.scanForUpdates, Devices); +@@clientLocation(DataBoxEdgeDevices.createOrUpdateSecuritySettings, Devices); +@@clientName(DataBoxEdgeDevices.createOrUpdateSecuritySettings::parameters.body, + "securitySettings" +); +@@clientLocation(DataBoxEdgeDevices.updateExtendedInformation, Devices); +@@clientName(DataBoxEdgeDevices.updateExtendedInformation::parameters.body, + "parameters" +); +@@clientLocation(DataBoxEdgeDevices.uploadCertificate, Devices); +@@clientName(DataBoxEdgeDevices.uploadCertificate::parameters.body, + "parameters" +); +@@clientLocation(DataBoxEdgeDevices.checkResourceCreationFeasibility, + "DeviceCapacityCheck" +); +@@clientName(DataBoxEdgeDevices.checkResourceCreationFeasibility::parameters.body, + "deviceCapacityRequestInfo" +); +@@clientLocation(DataBoxEdgeDevices.listByDataBoxEdgeDevice, "Nodes"); +@@clientLocation(DataBoxEdgeDevices.triggerSupportPackage, "SupportPackages"); +@@clientName(DataBoxEdgeDevices.triggerSupportPackage::parameters.body, + "triggerSupportPackageRequest" +); +@@Azure.ClientGenerator.Core.Legacy.flattenProperty(DataBoxEdgeDevice.properties +); + +@@Azure.ClientGenerator.Core.Legacy.flattenProperty(Alert.properties); + +@@clientName(BandwidthSchedules.createOrUpdate::parameters.resource, + "parameters" +); +@@Azure.ClientGenerator.Core.Legacy.flattenProperty(BandwidthSchedule.properties +); + +@@clientLocation(DeviceCapacityInfos.getDeviceCapacityInfo, + "DeviceCapacityInfo" +); +@@Azure.ClientGenerator.Core.Legacy.flattenProperty(DeviceCapacityInfo.properties +); + +@@clientName(DiagnosticSettings.updateDiagnosticProactiveLogCollectionSettings::parameters.resource, + "proactiveLogCollectionSettings" +); +@@Azure.ClientGenerator.Core.Legacy.flattenProperty(DiagnosticProactiveLogCollectionSettings.properties +); + +@@clientLocation(DiagnosticRemoteSupportSettingsOperationGroup.getDiagnosticRemoteSupportSettings, + DiagnosticSettings +); +@@clientLocation(DiagnosticRemoteSupportSettingsOperationGroup.updateDiagnosticRemoteSupportSettings, + DiagnosticSettings +); +@@clientName(DiagnosticRemoteSupportSettingsOperationGroup.updateDiagnosticRemoteSupportSettings::parameters.resource, + "diagnosticRemoteSupportSettings" +); +@@Azure.ClientGenerator.Core.Legacy.flattenProperty(DiagnosticRemoteSupportSettings.properties +); +@@Azure.ClientGenerator.Core.Legacy.flattenProperty(Job.properties); +@@Azure.ClientGenerator.Core.Legacy.flattenProperty(NetworkSettings.properties); + +@@clientName(Orders.createOrUpdate::parameters.resource, "order"); +@@Azure.ClientGenerator.Core.Legacy.flattenProperty(Order.properties); + +@@clientName(Roles.createOrUpdate::parameters.resource, "role"); + +@@clientName(Addons.createOrUpdate::parameters.resource, "addon"); + +@@clientLocation(MonitoringMetricConfigurations.get, "MonitoringConfig"); +@@clientLocation(MonitoringMetricConfigurations.createOrUpdate, + "MonitoringConfig" +); +@@clientName(MonitoringMetricConfigurations.createOrUpdate::parameters.resource, + "monitoringMetricConfiguration" +); +@@clientLocation(MonitoringMetricConfigurations.delete, "MonitoringConfig"); +@@clientLocation(MonitoringMetricConfigurations.list, "MonitoringConfig"); +@@Azure.ClientGenerator.Core.Legacy.flattenProperty(MonitoringMetricConfiguration.properties +); + +@@clientName(Shares.createOrUpdate::parameters.resource, "share"); +@@Azure.ClientGenerator.Core.Legacy.flattenProperty(Share.properties); + +@@clientName(StorageAccountCredentials.createOrUpdate::parameters.resource, + "storageAccountCredential" +); +@@Azure.ClientGenerator.Core.Legacy.flattenProperty(StorageAccountCredential.properties +); + +@@clientName(StorageAccounts.createOrUpdate::parameters.resource, + "storageAccount" +); + +@@Azure.ClientGenerator.Core.Legacy.flattenProperty(StorageAccount.properties); +@@clientName(Containers.createOrUpdate::parameters.resource, "container"); + +@@Azure.ClientGenerator.Core.Legacy.flattenProperty(Container.properties); +@@clientName(Triggers.createOrUpdate::parameters.resource, "trigger"); + +@@clientLocation(UpdateSummaries.getUpdateSummary, Devices); +@@Azure.ClientGenerator.Core.Legacy.flattenProperty(UpdateSummary.properties); + +@@clientName(Users.createOrUpdate::parameters.resource, "user"); +@@Azure.ClientGenerator.Core.Legacy.flattenProperty(User.properties); + +@@clientLocation(AvailableSkusOperationGroup.list, "AvailableSkus"); +@@visibility(Alert.properties, Lifecycle.Read); +@@visibility(NetworkSettings.properties, Lifecycle.Read); + +@@OpenAPI.extension(DataBoxEdgeSkuList.value, + "x-ms-identifiers", + #["name", "resourceType"] +); diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/client.tsp b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/client.tsp new file mode 100644 index 000000000000..76581bf5c50f --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/client.tsp @@ -0,0 +1,1723 @@ +import "@azure-tools/typespec-client-generator-core"; +import "./main.tsp"; +using Azure.ClientGenerator.Core; +using Microsoft.DataBoxEdge; +using Http; + +@@clientName(Sku, "SkuInfo", "go"); +@@clientName(DataBoxEdgeSku, "AvailableDataBoxEdgeSku", "csharp"); + +@@clientName(SSLStatus, "SslStatus", "java"); +@@clientName(NetworkAdapterDHCPStatus, "NetworkAdapterDhcpStatus", "java"); +@@clientName(NetworkAdapterRDMAStatus, "NetworkAdapterRdmaStatus", "java"); +@@clientName(ARMBaseModel, "ArmBaseModel", "java"); +@@clientName(RefreshDetails.lastCompletedRefreshJobTimeInUTC, + "lastCompletedRefreshJobTimeInUtc", + "java" +); +@@clientName(StorageAccountCredentialProperties.userName, "username", "java"); +@@clientName(Microsoft.DataBoxEdge, + "DataBoxEdgeManagementClient", + "javascript, python" +); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op UsersDeleteCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + name: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): void; + +@@override(Users.delete, UsersDeleteCustomized, "python,go"); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op UsersListByDataBoxEdgeDeviceCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @query("$filter") + $filter?: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): UserList; + +@@override(Users.listByDataBoxEdgeDevice, + UsersListByDataBoxEdgeDeviceCustomized, + "python,go" +); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op UsersGetCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + name: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): User; + +@@override(Users.get, UsersGetCustomized, "python,go"); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op UsersCreateOrUpdateCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + name: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, + + @body + user: User, +): void; + +@@override(Users.createOrUpdate, UsersCreateOrUpdateCustomized, "python,go"); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op StorageAccountsDeleteCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + storageAccountName: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): void; + +@@override(StorageAccounts.delete, + StorageAccountsDeleteCustomized, + "python,go" +); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op StorageAccountsListByDataBoxEdgeDeviceCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): StorageAccountList; + +@@override(StorageAccounts.listByDataBoxEdgeDevice, + StorageAccountsListByDataBoxEdgeDeviceCustomized, + "python,go" +); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op StorageAccountsGetCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + storageAccountName: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): StorageAccount; + +@@override(StorageAccounts.get, StorageAccountsGetCustomized, "python,go"); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op StorageAccountsCreateOrUpdateCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + storageAccountName: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, + + @body + storageAccount: StorageAccount, +): void; + +@@override(StorageAccounts.createOrUpdate, + StorageAccountsCreateOrUpdateCustomized, + "python,go" +); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op MonitoringMetricConfigurationsDeleteCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + roleName: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): void; + +@@override(MonitoringMetricConfigurations.delete, + MonitoringMetricConfigurationsDeleteCustomized, + "python,go" +); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op MonitoringMetricConfigurationsListCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + roleName: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): MonitoringMetricConfigurationList; + +@@override(MonitoringMetricConfigurations.list, + MonitoringMetricConfigurationsListCustomized, + "python,go" +); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op MonitoringMetricConfigurationsGetCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + roleName: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): MonitoringMetricConfiguration; + +@@override(MonitoringMetricConfigurations.get, + MonitoringMetricConfigurationsGetCustomized, + "python,go" +); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op MonitoringMetricConfigurationsCreateOrUpdateCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + roleName: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, + + @body + MonitoringMetricConfiguration: MonitoringMetricConfiguration, +): void; + +@@override(MonitoringMetricConfigurations.createOrUpdate, + MonitoringMetricConfigurationsCreateOrUpdateCustomized, + "python,go" +); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op OperationsStatusGetCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + name: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): OperationsStatus; + +@@override(OperationsStatus.get, OperationsStatusGetCustomized, "python,go"); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op JobsGetCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + name: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): Job; + +@@override(Jobs.get, JobsGetCustomized, "python,go"); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op RolesDeleteCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + name: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): void; + +@@override(Roles.delete, RolesDeleteCustomized, "python,go"); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op RolesListByDataBoxEdgeDeviceCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): RoleList; + +@@override(Roles.listByDataBoxEdgeDevice, + RolesListByDataBoxEdgeDeviceCustomized, + "python,go" +); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op RolesGetCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + name: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): Role; + +@@override(Roles.get, RolesGetCustomized, "python,go"); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op RolesCreateOrUpdateCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + name: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, + + @body + resource: Role, +): void; + +@@override(Roles.createOrUpdate, RolesCreateOrUpdateCustomized, "python,go"); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op SharesDeleteCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + name: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): void; + +@@override(Shares.delete, SharesDeleteCustomized, "python,go"); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op SharesListByDataBoxEdgeDeviceCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): ShareList; + +@@override(Shares.listByDataBoxEdgeDevice, + SharesListByDataBoxEdgeDeviceCustomized, + "python,go" +); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op SharesRefreshCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + name: string, + + @body + body: void, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): void; + +@@override(Shares.refresh, SharesRefreshCustomized, "python,go"); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op SharesGetCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + name: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): Share; + +@@override(Shares.get, SharesGetCustomized, "python,go"); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op SharesCreateOrUpdateCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + name: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, + + @body + resource: Share, +): void; + +@@override(Shares.createOrUpdate, SharesCreateOrUpdateCustomized, "python,go"); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op ContainersDeleteCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + storageAccountName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + containerName: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): void; + +@@override(Containers.delete, ContainersDeleteCustomized, "python,go"); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op ContainersRefreshCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + storageAccountName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + containerName: string, + + @body + body: void, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): void; + +@@override(Containers.refresh, ContainersRefreshCustomized, "python,go"); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op ContainersListByStorageAccountCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + storageAccountName: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): ContainerList; + +@@override(Containers.listByStorageAccount, + ContainersListByStorageAccountCustomized, + "python,go" +); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op ContainersGetCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + storageAccountName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + containerName: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): Container; + +@@override(Containers.get, ContainersGetCustomized, "python,go"); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op ContainersCreateOrUpdateCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + storageAccountName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + containerName: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, + + @body + resource: Container, +): void; + +@@override(Containers.createOrUpdate, + ContainersCreateOrUpdateCustomized, + "python,go" +); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op OrdersDeleteCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + order: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): void; + +@@override(Orders.delete, OrdersDeleteCustomized, "python,go"); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op OrderslistDCAccessCodeCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + order: string, + + @body + body: void, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): DCAccessCode; + +@@override(Orders.listDCAccessCode, + OrderslistDCAccessCodeCustomized, + "python,go" +); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op OrdersListByDataBoxEdgeDeviceCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): OrderList; + +@@override(Orders.listByDataBoxEdgeDevice, + OrdersListByDataBoxEdgeDeviceCustomized, + "python,go" +); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op OrdersGetCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + order: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): Order; + +@@override(Orders.get, OrdersGetCustomized, "python,go"); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op OrdersCreateOrUpdateCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + order: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, + + @body + resource: Order, +): void; + +@@override(Orders.createOrUpdate, OrdersCreateOrUpdateCustomized, "python,go"); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op TriggersDeleteCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + name: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): void; + +@@override(Triggers.delete, TriggersDeleteCustomized, "python,go"); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op TriggersListByDataBoxEdgeDeviceCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @query("$filter") + $filter?: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): TriggerList; + +@@override(Triggers.listByDataBoxEdgeDevice, + TriggersListByDataBoxEdgeDeviceCustomized, + "python,go" +); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op TriggersGetCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + name: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): Trigger; + +@@override(Triggers.get, TriggersGetCustomized, "python,go"); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op TriggersCreateOrUpdateCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + name: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, + + @body + resource: Trigger, +): void; + +@@override(Triggers.createOrUpdate, + TriggersCreateOrUpdateCustomized, + "python,go" +); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op AddonsDeleteCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + roleName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + addonName: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): void; + +@@override(Addons.delete, AddonsDeleteCustomized, "python,go"); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op AddonsListByRoleCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + roleName: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): AddonList; + +@@override(Addons.listByRole, AddonsListByRoleCustomized, "python,go"); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op AddonsGetCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + roleName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + addonName: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): Addon; + +@@override(Addons.get, AddonsGetCustomized, "python,go"); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op AddonsCreateOrUpdateCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + roleName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + addonName: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, + + @body + resource: Addon, +): void; + +@@override(Addons.createOrUpdate, AddonsCreateOrUpdateCustomized, "python,go"); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op AlertsListByDataBoxEdgeDeviceCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): AlertList; + +@@override(Alerts.listByDataBoxEdgeDevice, + AlertsListByDataBoxEdgeDeviceCustomized, + "python,go" +); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op AlertsGetCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + name: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): Alert; + +@@override(Alerts.get, AlertsGetCustomized, "python,go"); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op BandwidthSchedulesDeleteCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + name: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): void; + +@@override(BandwidthSchedules.delete, + BandwidthSchedulesDeleteCustomized, + "python,go" +); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op BandwidthSchedulesListByDataBoxEdgeDeviceCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): BandwidthSchedulesList; + +@@override(BandwidthSchedules.listByDataBoxEdgeDevice, + BandwidthSchedulesListByDataBoxEdgeDeviceCustomized, + "python,go" +); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op BandwidthSchedulesGetCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + name: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): BandwidthSchedule; + +@@override(BandwidthSchedules.get, + BandwidthSchedulesGetCustomized, + "python,go" +); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op BandwidthSchedulesCreateOrUpdateCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + name: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, + + @body + resource: BandwidthSchedule, +): void; + +@@override(BandwidthSchedules.createOrUpdate, + BandwidthSchedulesCreateOrUpdateCustomized, + "python,go" +); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op StorageAccountCredentialsDeleteCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + name: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): void; + +@@override(StorageAccountCredentials.delete, + StorageAccountCredentialsDeleteCustomized, + "python,go" +); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op StorageAccountCredentialsListByDataBoxEdgeDeviceCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): StorageAccountCredentialList; + +@@override(StorageAccountCredentials.listByDataBoxEdgeDevice, + StorageAccountCredentialsListByDataBoxEdgeDeviceCustomized, + "python,go" +); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op StorageAccountCredentialsGetCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + name: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): StorageAccountCredential; + +@@override(StorageAccountCredentials.get, + StorageAccountCredentialsGetCustomized, + "python,go" +); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op StorageAccountCredentialsCreateOrUpdateCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + name: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, + + @body + resource: StorageAccountCredential, +): void; + +@@override(StorageAccountCredentials.createOrUpdate, + StorageAccountCredentialsCreateOrUpdateCustomized, + "python,go" +); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op DataBoxEdgeDevicesListByDataBoxEdgeDeviceCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + @body + body: void, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): NodeList; + +@@override(DataBoxEdgeDevices.listByDataBoxEdgeDevice, + DataBoxEdgeDevicesListByDataBoxEdgeDeviceCustomized, + "python,go" +); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op DataBoxEdgeDevicesDeleteCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): void; + +@@override(DataBoxEdgeDevices.delete, + DataBoxEdgeDevicesDeleteCustomized, + "python,go" +); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op DataBoxEdgeDevicesCreateOrUpdateSecuritySettingsCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, + + @body + body: SecuritySettings, +): void; + +@@override(DataBoxEdgeDevices.createOrUpdateSecuritySettings, + DataBoxEdgeDevicesCreateOrUpdateSecuritySettingsCustomized, + "python,go" +); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op DataBoxEdgeDevicesUploadCertificateCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, + + @body + body: UploadCertificateRequest, +): UploadCertificateResponse; + +@@override(DataBoxEdgeDevices.uploadCertificate, + DataBoxEdgeDevicesUploadCertificateCustomized, + "python,go" +); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op DataBoxEdgeDevicesInstallUpdatesCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + @body + body: void, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): void; + +@@override(DataBoxEdgeDevices.installUpdates, + DataBoxEdgeDevicesInstallUpdatesCustomized, + "python,go" +); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op DataBoxEdgeDevicesGetNetworkSettingsCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + networkSetting: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): NetworkSettings; + +@@override(Devices.getNetworkSettings, + DataBoxEdgeDevicesGetNetworkSettingsCustomized, + "python,go" +); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op DataBoxEdgeDevicesGenerateCertificateCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, + + @body + body: void, +): GenerateCertResponse; + +@@override(DataBoxEdgeDevices.generateCertificate, + DataBoxEdgeDevicesGenerateCertificateCustomized, + "python,go" +); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op DataBoxEdgeDevicesScanForUpdatesCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + @body + body: void, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): void; + +@@override(DataBoxEdgeDevices.scanForUpdates, + DataBoxEdgeDevicesScanForUpdatesCustomized, + "python,go" +); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op DataBoxEdgeDevicesGetCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): DataBoxEdgeDevices; + +@@override(DataBoxEdgeDevices.get, + DataBoxEdgeDevicesGetCustomized, + "python,go" +); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op DataBoxEdgeDevicesUpdateCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, + + @body + properties: DataBoxEdgeDevicePatch, +): DataBoxEdgeDevices; + +@@override(DataBoxEdgeDevices.update, + DataBoxEdgeDevicesUpdateCustomized, + "python,go" +); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op DataBoxEdgeDevicesGetUpdateSummaryCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + updateSummary: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): UpdateSummary; + +@@override(UpdateSummaries.getUpdateSummary, + DataBoxEdgeDevicesGetUpdateSummaryCustomized, + "python,go" +); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op DataBoxEdgeDevicesUpdateExtendedInformationCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, + + @body + body: DataBoxEdgeDeviceExtendedInfoPatch, +): DataBoxEdgeDeviceExtendedInfo; + +@@override(DataBoxEdgeDevices.updateExtendedInformation, + DataBoxEdgeDevicesUpdateExtendedInformationCustomized, + "python,go" +); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op DataBoxEdgeDevicesDownloadUpdatesCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + @body + body: void, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): void; + +@@override(DataBoxEdgeDevices.downloadUpdates, + DataBoxEdgeDevicesDownloadUpdatesCustomized, + "python,go" +); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op DataBoxEdgeDevicesGetExtendedInformationCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + @body + body: void, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): DataBoxEdgeDeviceExtendedInfo; + +@@override(DataBoxEdgeDevices.getExtendedInformation, + DataBoxEdgeDevicesGetExtendedInformationCustomized, + "python,go" +); diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/AlertGet.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/AlertGet.json new file mode 100644 index 000000000000..01fcebf35c90 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/AlertGet.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "name": "159a00c7-8543-4343-9435-263ac87df3bb", + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": { + "body": { + "name": "159a00c7-8543-4343-9435-263ac87df3bb", + "type": "dataBoxEdgeDevices/alerts", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/alerts/159a00c7-8543-4343-9435-263ac87df3bb", + "properties": { + "alertType": "UpdateScanFailedEvent", + "appearedAtDateTime": "2018-12-18T02:18:51.4270267Z", + "detailedInformation": {}, + "errorDetails": { + "errorCode": "", + "errorMessage": "", + "occurrences": 1 + }, + "recommendation": "Resolve the error : An internal error has occurred. Please contact Microsoft Support.", + "severity": "Critical", + "title": "Could not scan for updates. Error message : 'An internal error has occurred. Please contact Microsoft Support.'." + } + } + } + }, + "operationId": "Alerts_Get", + "title": "AlertGet" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/AlertGetAllInDevice.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/AlertGetAllInDevice.json new file mode 100644 index 000000000000..c01a4f7cfd1e --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/AlertGetAllInDevice.json @@ -0,0 +1,60 @@ +{ + "parameters": { + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "83eccd0b-134b-40b0-ad62-b5f124d03790", + "type": "dataBoxEdgeDevices/alerts", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/alerts/83eccd0b-134b-40b0-ad62-b5f124d03790", + "properties": { + "alertType": "PasswordChangedEvent", + "appearedAtDateTime": "2018-12-18T02:29:15.2325577Z", + "detailedInformation": {}, + "errorDetails": { + "errorCode": "", + "errorMessage": "", + "occurrences": 2 + }, + "recommendation": "The device administrator password has changed. This is a required action as part of the first time device setup or regular password reset. No further action is required.", + "severity": "Informational", + "title": "Device password has changed" + } + }, + { + "name": "159a00c7-8543-4343-9435-263ac87df3bb", + "type": "dataBoxEdgeDevices/alerts", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/alerts/159a00c7-8543-4343-9435-263ac87df3bb", + "properties": { + "alertType": "UpdateScanFailedEvent", + "appearedAtDateTime": "2018-12-18T02:18:51.4270267Z", + "detailedInformation": {}, + "errorDetails": { + "errorCode": "", + "errorMessage": "", + "occurrences": 1 + }, + "recommendation": "Resolve the error : An internal error has occurred. Please contact Microsoft Support.", + "severity": "Critical", + "title": "Could not scan for updates. Error message : 'An internal error has occurred. Please contact Microsoft Support.'." + } + } + ] + } + } + }, + "operationId": "Alerts_ListByDataBoxEdgeDevice", + "title": "AlertGetAllInDevice" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/AvailableSkusList.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/AvailableSkusList.json new file mode 100644 index 000000000000..9c25c271633a --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/AvailableSkusList.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "location": "westus", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Gateway", + "availability": "Available", + "kind": "AzureDataBoxGateway", + "locationInfo": [ + { + "location": "West US" + } + ], + "locations": [ + "West US" + ], + "resourceType": "dataBoxEdgeDevices", + "signupOption": "Available", + "tier": "Standard", + "version": "Stable" + } + ] + } + } + }, + "operationId": "AvailableSkus_List", + "title": "AvailableSkus" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/BandwidthScheduleDelete.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/BandwidthScheduleDelete.json new file mode 100644 index 000000000000..c813758a1d60 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/BandwidthScheduleDelete.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "name": "bandwidth-1", + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://foo.com/BandwidthSchdeuleDelete" + } + }, + "204": {} + }, + "operationId": "BandwidthSchedules_Delete", + "title": "BandwidthScheduleDelete" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/BandwidthScheduleGet.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/BandwidthScheduleGet.json new file mode 100644 index 000000000000..51a37df25764 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/BandwidthScheduleGet.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "name": "bandwidth-1", + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" + }, + "responses": { + "200": { + "body": { + "name": "bandwidth-1", + "type": "dataBoxEdgeDevices/bandwidthSchedules", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/bandwidthSchedules/bandwidth-1", + "properties": { + "days": [ + "Sunday", + "Monday" + ], + "rateInMbps": 100, + "start": "00:00:00", + "stop": "13:59:00" + } + } + } + }, + "operationId": "BandwidthSchedules_Get", + "title": "BandwidthScheduleGet" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/BandwidthScheduleGetAllInDevice.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/BandwidthScheduleGetAllInDevice.json new file mode 100644 index 000000000000..a0caff8c08d3 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/BandwidthScheduleGetAllInDevice.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "bandwidth-1", + "type": "dataBoxEdgeDevices/bandwidthSchedules", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/bandwidthSchedules/bandwidth-1", + "properties": { + "days": [ + "Sunday", + "Monday" + ], + "rateInMbps": 100, + "start": "00:00:00", + "stop": "13:59:00" + } + } + ] + } + } + }, + "operationId": "BandwidthSchedules_ListByDataBoxEdgeDevice", + "title": "BandwidthScheduleGetAllInDevice" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/BandwidthSchedulePut.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/BandwidthSchedulePut.json new file mode 100644 index 000000000000..084e457581e0 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/BandwidthSchedulePut.json @@ -0,0 +1,53 @@ +{ + "parameters": { + "name": "bandwidth-1", + "Content-Length": [ + "200" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "parameters": { + "properties": { + "days": [ + "Sunday", + "Monday" + ], + "rateInMbps": 100, + "start": "0:0:0", + "stop": "13:59:0" + } + }, + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": { + "body": { + "name": "bandwidth-1", + "type": "dataBoxEdgeDevices/bandwidthSchedules", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/bandwidthSchedules/bandwidth-1", + "properties": { + "days": [ + "Sunday", + "Monday" + ], + "rateInMbps": 100, + "start": "00:00:00", + "stop": "13:59:00" + } + } + }, + "202": {} + }, + "operationId": "BandwidthSchedules_CreateOrUpdate", + "title": "BandwidthSchedulePut" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/ContainerDelete.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/ContainerDelete.json new file mode 100644 index 000000000000..f82e30365ec1 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/ContainerDelete.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "containerName": "blobcontainer1", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "storageAccountName": "storageaccount1", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "202": { + "headers": { + "location": "https://foo.com/ContainreDelte" + } + }, + "204": {} + }, + "operationId": "Containers_Delete", + "title": "ContainerDelete" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/ContainerGet.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/ContainerGet.json new file mode 100644 index 000000000000..69c0433d4179 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/ContainerGet.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "containerName": "blobcontainer1", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "storageAccountName": "storageaccount1", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" + }, + "responses": { + "200": { + "body": { + "name": "blobcontainer1", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccounts/containers", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForDataBoxEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccounts/storageaccount1/containers/blobcontainer1", + "properties": { + "containerStatus": "OK", + "createdDateTime": "2019-10-20T23:13:27.8545799Z", + "dataFormat": "BlockBlob", + "refreshDetails": {} + } + } + } + }, + "operationId": "Containers_Get", + "title": "ContainerGet" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/ContainerListAllInDevice.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/ContainerListAllInDevice.json new file mode 100644 index 000000000000..0ff19917761d --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/ContainerListAllInDevice.json @@ -0,0 +1,58 @@ +{ + "parameters": { + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "storageAccountName": "storageaccount1", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "blobcontainer1", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccounts/containers", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForDataBoxEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/EAuToWIN-6LJVNIFFB411021190437191/storageAccounts/storageaccount1/containers/blobcontainer1", + "properties": { + "containerStatus": "OK", + "createdDateTime": "2019-10-20T23:14:32.3016929Z", + "dataFormat": "BlockBlob", + "refreshDetails": {} + } + }, + { + "name": "blobcontainer2", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccounts/containers", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForDataBoxEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/EAuToWIN-6LJVNIFFB411021190437191/storageAccounts/storageaccount1/containers/blobcontainer2", + "properties": { + "containerStatus": "OK", + "createdDateTime": "2019-10-20T23:15:38.0077675Z", + "dataFormat": "BlockBlob", + "refreshDetails": {} + } + }, + { + "name": "blobcontainer3", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccounts/containers", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForDataBoxEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/EAuToWIN-6LJVNIFFB411021190437191/storageAccounts/storageaccount1/containers/blobcontainer3", + "properties": { + "containerStatus": "OK", + "createdDateTime": "2019-10-20T23:13:27.8545799Z", + "dataFormat": "BlockBlob", + "refreshDetails": {} + } + } + ] + } + } + }, + "operationId": "Containers_ListByStorageAccount", + "title": "ContainerListAllInDevice" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/ContainerPut.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/ContainerPut.json new file mode 100644 index 000000000000..b9425b8d0cee --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/ContainerPut.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "Content-Length": [ + "200" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "container": { + "properties": { + "dataFormat": "BlockBlob" + } + }, + "containerName": "blobcontainer1", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "storageAccountName": "storageaccount1", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": { + "body": { + "name": "blobcontainer-5e155efe", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccounts/containers", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForDataBoxEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccounts/storageaccount1/containers/blobcontainer1", + "properties": { + "containerStatus": "OK", + "createdDateTime": "2019-10-20T23:13:27.8545799Z", + "dataFormat": "BlockBlob", + "refreshDetails": {} + } + } + }, + "202": {} + }, + "operationId": "Containers_CreateOrUpdate", + "title": "ContainerPut" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/ContainerRefresh.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/ContainerRefresh.json new file mode 100644 index 000000000000..b77d71a0f4cf --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/ContainerRefresh.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "Content-Length": [ + "200" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "containerName": "blobcontainer1", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "storageAccountName": "storageaccount1", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://foo.com/ContanierRefresh" + } + } + }, + "operationId": "Containers_Refresh", + "title": "ContainerRefresh" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/DataBoxEdgeDeviceDelete.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/DataBoxEdgeDeviceDelete.json new file mode 100644 index 000000000000..45ebe1156e43 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/DataBoxEdgeDeviceDelete.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://foo.com/BandwidthSchdeuleDelete" + } + }, + "204": {} + }, + "operationId": "Devices_Delete", + "title": "DataBoxEdgeDeviceDelete" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/DataBoxEdgeDeviceGetByName.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/DataBoxEdgeDeviceGetByName.json new file mode 100644 index 000000000000..bcaeed359e6d --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/DataBoxEdgeDeviceGetByName.json @@ -0,0 +1,60 @@ +{ + "parameters": { + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": { + "body": { + "name": "EdgeTestPassResource", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices", + "etag": "W/\"datetime'2020-09-29T18%3A50%3A31.1203818Z'\"_W/\"datetime'2020-09-29T18%3A50%3A31.1343914Z'\"", + "id": "/subscriptions/0d44739e-0563-474f-97e7-24a0cdb23b29/resourcegroups/VmMgmtTestPass/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/EdgeTestPassResource", + "identity": { + "type": "SystemAssigned", + "principalId": "b3e34fcc-ab02-4ca4-9d22-5de115419091", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + }, + "kind": "AzureStackEdge", + "location": "eastus2euap", + "properties": { + "configuredRoleTypes": [ + "CloudEdgeManagement" + ], + "dataBoxEdgeDeviceStatus": "Offline", + "deviceHcsVersion": "2.1.1361.23408", + "deviceLocalCapacity": 8042259, + "deviceModel": "Physical", + "deviceSoftwareVersion": "Azure Stack Edge 2009", + "deviceType": "DataBoxEdgeDevice", + "edgeProfile": { + "subscription": { + "id": "/subscriptions/0d44739e-0563-474f-97e7-24a0cdb23b29/resourceGroups/VmMgmtTestPass/providers/Microsoft.AzureStack/edgeSubscriptions/daaac4b0-35c4-4008-bdc6-b72ca5890f16", + "registrationId": "91d8753b-af42-4908-9a5e-2a61f08b20de", + "state": "Registered" + } + }, + "friendlyName": "DBE-1D6QHQ2", + "nodeCount": 1, + "serialNumber": "1D6QHQ2", + "timeZone": "Pacific Standard Time" + }, + "sku": { + "name": "Edge", + "tier": "Standard" + }, + "tags": {} + } + } + }, + "operationId": "Devices_Get", + "title": "DataBoxEdgeDeviceGetByName" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/DataBoxEdgeDeviceGetByNameWithDataResidency.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/DataBoxEdgeDeviceGetByNameWithDataResidency.json new file mode 100644 index 000000000000..c334c51e73ee --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/DataBoxEdgeDeviceGetByNameWithDataResidency.json @@ -0,0 +1,63 @@ +{ + "parameters": { + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": { + "body": { + "name": "EdgeTestPassResource", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices", + "etag": "W/\"datetime'2020-09-29T18%3A50%3A31.1203818Z'\"_W/\"datetime'2020-09-29T18%3A50%3A31.1343914Z'\"", + "id": "/subscriptions/0d44739e-0563-474f-97e7-24a0cdb23b29/resourcegroups/VmMgmtTestPass/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/EdgeTestPassResource", + "identity": { + "type": "SystemAssigned", + "principalId": "b3e34fcc-ab02-4ca4-9d22-5de115419091", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + }, + "kind": "AzureStackEdge", + "location": "eastus2euap", + "properties": { + "configuredRoleTypes": [ + "CloudEdgeManagement" + ], + "dataBoxEdgeDeviceStatus": "Offline", + "dataResidency": { + "type": "ZoneReplication" + }, + "deviceHcsVersion": "2.1.1361.23408", + "deviceLocalCapacity": 8042259, + "deviceModel": "Physical", + "deviceSoftwareVersion": "Azure Stack Edge 2009", + "deviceType": "DataBoxEdgeDevice", + "edgeProfile": { + "subscription": { + "id": "/subscriptions/0d44739e-0563-474f-97e7-24a0cdb23b29/resourceGroups/VmMgmtTestPass/providers/Microsoft.AzureStack/edgeSubscriptions/daaac4b0-35c4-4008-bdc6-b72ca5890f16", + "registrationId": "91d8753b-af42-4908-9a5e-2a61f08b20de", + "state": "Registered" + } + }, + "friendlyName": "DBE-1D6QHQ2", + "nodeCount": 1, + "serialNumber": "1D6QHQ2", + "timeZone": "Pacific Standard Time" + }, + "sku": { + "name": "Edge", + "tier": "Standard" + }, + "tags": {} + } + } + }, + "operationId": "Devices_Get", + "title": "DataBoxEdgeDeviceGetByNameWithDataResidency" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/DataBoxEdgeDeviceGetByResourceGroup.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/DataBoxEdgeDeviceGetByResourceGroup.json new file mode 100644 index 000000000000..23f0ce6ee0c1 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/DataBoxEdgeDeviceGetByResourceGroup.json @@ -0,0 +1,77 @@ +{ + "parameters": { + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "EdgeTestPassResource", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices", + "etag": "W/\"datetime'2020-09-29T18%3A50%3A31.1203818Z'\"_W/\"datetime'2020-09-29T18%3A50%3A31.1343914Z'\"", + "id": "/subscriptions/0d44739e-0563-474f-97e7-24a0cdb23b29/resourcegroups/VmMgmtTestPass/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/EdgeTestPassResource", + "identity": { + "type": "SystemAssigned", + "principalId": "b3e34fcc-ab02-4ca4-9d22-5de115419091", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + }, + "kind": "AzureStackEdge", + "location": "eastus2euap", + "sku": { + "name": "Edge", + "tier": "Standard" + }, + "tags": {} + }, + { + "name": "FPGAResource", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices", + "etag": "W/\"datetime'2020-11-18T23%3A31%3A30.3266766Z'\"_W/\"datetime'2020-11-18T23%3A31%3A30.3326804Z'\"", + "id": "/subscriptions/0d44739e-0563-474f-97e7-24a0cdb23b29/resourcegroups/VmMgmtTestPass/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/FPGAResource", + "identity": { + "type": "SystemAssigned", + "principalId": "d97a6de5-f5c0-485a-8f5e-b7f705d2dbc4", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + }, + "kind": "AzureStackEdge", + "location": "centraluseuap", + "sku": { + "name": "Edge", + "tier": "Standard" + }, + "tags": {} + }, + { + "name": "TestVMEdgeResource", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices", + "etag": "W/\"datetime'2020-11-18T23%3A31%3A23.1715672Z'\"_W/\"datetime'2020-11-18T23%3A31%3A23.2396152Z'\"", + "id": "/subscriptions/0d44739e-0563-474f-97e7-24a0cdb23b29/resourcegroups/VmMgmtTestPass/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/TestVMEdgeResource", + "identity": { + "type": "SystemAssigned", + "principalId": "6f2b341b-aded-4ec2-a1bd-d09438d6cc8f", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + }, + "kind": "AzureStackEdge", + "location": "centraluseuap", + "sku": { + "name": "Edge", + "tier": "Standard" + }, + "tags": {} + } + ] + } + } + }, + "operationId": "Devices_ListByResourceGroup", + "title": "DataBoxEdgeDeviceGetByResourceGroup" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/DataBoxEdgeDeviceGetBySubscription.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/DataBoxEdgeDeviceGetBySubscription.json new file mode 100644 index 000000000000..da965e88cfe9 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/DataBoxEdgeDeviceGetBySubscription.json @@ -0,0 +1,76 @@ +{ + "parameters": { + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "linksub01", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices", + "etag": "W/\"datetime'2020-11-19T01%3A39%3A55.1270082Z'\"_W/\"datetime'2020-11-19T01%3A39%3A55.1320118Z'\"", + "id": "/subscriptions/0d44739e-0563-474f-97e7-24a0cdb23b29/resourcegroups/abhudeda-rg/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/linksub01", + "identity": { + "type": "SystemAssigned", + "principalId": "083df009-06d9-4e3c-ae72-f9249a814334", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + }, + "kind": "AzureDataBoxGateway", + "location": "eastus2euap", + "sku": { + "name": "Gateway", + "tier": "Standard" + }, + "tags": {} + }, + { + "name": "mergeazstest", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices", + "etag": "W/\"datetime'2020-11-19T01%3A40%3A05.9246966Z'\"_W/\"datetime'2020-11-19T01%3A40%3A05.9317011Z'\"", + "id": "/subscriptions/0d44739e-0563-474f-97e7-24a0cdb23b29/resourcegroups/abhudeda-rg/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/mergeazstest", + "identity": { + "type": "SystemAssigned", + "principalId": "8536db30-78d2-4759-95b7-896a66e14c24", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + }, + "kind": "AzureDataBoxGateway", + "location": "eastus2euap", + "sku": { + "name": "Gateway", + "tier": "Standard" + }, + "tags": {} + }, + { + "name": "mergeazstest2", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices", + "etag": "W/\"datetime'2020-11-19T01%3A40%3A06.496102Z'\"_W/\"datetime'2020-11-19T01%3A40%3A06.503107Z'\"", + "id": "/subscriptions/0d44739e-0563-474f-97e7-24a0cdb23b29/resourcegroups/abhudeda-rg/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/mergeazstest2", + "identity": { + "type": "SystemAssigned", + "principalId": "fc4c1205-35c8-4f35-abc7-f5a78945f676", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + }, + "kind": "AzureDataBoxGateway", + "location": "eastus2euap", + "sku": { + "name": "Gateway", + "tier": "Standard" + }, + "tags": {} + } + ] + } + } + }, + "operationId": "Devices_ListBySubscription", + "title": "DataBoxEdgeDeviceGetBySubscription" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/DataBoxEdgeDevicePatch.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/DataBoxEdgeDevicePatch.json new file mode 100644 index 000000000000..1a79a4276abc --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/DataBoxEdgeDevicePatch.json @@ -0,0 +1,70 @@ +{ + "parameters": { + "Content-Length": [ + "200" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "parameters": { + "properties": { + "edgeProfile": { + "subscription": { + "id": "/subscriptions/0d44739e-0563-474f-97e7-24a0cdb23b29/resourceGroups/rapvs-rg/providers/Microsoft.AzureStack/linkedSubscriptions/ca014ddc-5cf2-45f8-b390-e901e4a0ae87" + } + } + } + }, + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": { + "body": { + "name": "testedgedevice", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices", + "etag": "W/\"datetime'2020-11-19T04%3A43%3A38.6457308Z'\"_W/\"datetime'2020-11-19T04%3A43%3A38.6507339Z'\"", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourcegroups/VmMgmtTestPass/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice", + "identity": { + "type": "SystemAssigned", + "principalId": "b3e34fcc-ab02-4ca4-9d22-5de115419091", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + }, + "kind": "AzureStackEdge", + "location": "eastus2euap", + "properties": { + "dataBoxEdgeDeviceStatus": "ReadyToSetup", + "deviceLocalCapacity": 0, + "deviceType": "DataBoxEdgeDevice", + "edgeProfile": { + "subscription": { + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/VmMgmtTestPass/providers/Microsoft.AzureStack/edgeSubscriptions/daaac4b0-35c4-4008-bdc6-b72ca5890f16", + "registrationId": "91d8753b-af42-4908-9a5e-2a61f08b20de", + "state": "Registered" + } + }, + "nodeCount": 0, + "resourceMoveDetails": { + "operationInProgress": "None" + }, + "timeZone": "Pacific Standard Time" + }, + "sku": { + "name": "Edge", + "tier": "Standard" + }, + "tags": {} + } + } + }, + "operationId": "Devices_Update", + "title": "DataBoxEdgeDevicePatch" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/DataBoxEdgeDevicePut.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/DataBoxEdgeDevicePut.json new file mode 100644 index 000000000000..d01471995689 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/DataBoxEdgeDevicePut.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "Content-Length": [ + "200" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "dataBoxEdgeDevice": { + "location": "WUS", + "sku": { + "name": "Edge", + "tier": "Standard" + }, + "tags": {} + }, + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": { + "body": { + "name": "testedgedevice", + "id": "foo/bar/id", + "location": "WUS", + "sku": { + "name": "Edge", + "tier": "Standard" + }, + "tags": {} + } + } + }, + "operationId": "Devices_CreateOrUpdate", + "title": "DataBoxEdgeDevicePut" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/DataBoxEdgeDevicePutWithDataResidency.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/DataBoxEdgeDevicePutWithDataResidency.json new file mode 100644 index 000000000000..6d0e0e279aea --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/DataBoxEdgeDevicePutWithDataResidency.json @@ -0,0 +1,54 @@ +{ + "parameters": { + "Content-Length": [ + "200" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "dataBoxEdgeDevice": { + "location": "WUS", + "properties": { + "dataResidency": { + "type": "ZoneReplication" + } + }, + "sku": { + "name": "Edge", + "tier": "Standard" + }, + "tags": {} + }, + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": { + "body": { + "name": "testedgedevice", + "id": "foo/bar/id", + "location": "WUS", + "properties": { + "dataResidency": { + "type": "ZoneReplication" + } + }, + "sku": { + "name": "Edge", + "tier": "Standard" + }, + "tags": {} + } + } + }, + "operationId": "Devices_CreateOrUpdate", + "title": "DataBoxEdgeDevicePutWithDataResidency" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/DeleteAddons.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/DeleteAddons.json new file mode 100644 index 000000000000..2a63a4b820bc --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/DeleteAddons.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "accept-language": [ + "en-US" + ], + "addonName": "arcName", + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "roleName": "KubernetesRole", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://foo.com/BandwidthSchdeuleDelete" + } + }, + "204": {} + }, + "operationId": "Addons_Delete", + "title": "DeleteAddOns" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/DeleteMonitoringConfig.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/DeleteMonitoringConfig.json new file mode 100644 index 000000000000..7275d5a76361 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/DeleteMonitoringConfig.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "roleName": "testrole", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://foo.com/DeleteMonitoringConfig" + } + }, + "204": {} + }, + "operationId": "MonitoringConfig_Delete", + "title": "DeleteMonitoringConfig" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/DeviceCapacityGet.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/DeviceCapacityGet.json new file mode 100644 index 000000000000..2338aa3fcf40 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/DeviceCapacityGet.json @@ -0,0 +1,159 @@ +{ + "parameters": { + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/deviceCapacityInfo", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/deviceCapacityInfo/default", + "properties": { + "clusterComputeCapacityInfo": { + "fqdn": "3V78B03CL", + "gpuCapacity": { + "gpuFreeUnitsCount": 1, + "gpuReservedForFailoverUnitsCount": 0, + "gpuTotalUnitsCount": 1, + "gpuType": "NvidiaTeslaT4", + "gpuUsedUnitsCount": 0 + }, + "lastRefreshedTime": "2022-02-28T19:35:23.82Z", + "memoryCapacity": { + "clusterFailoverMemoryMb": 0, + "clusterFragmentationMemoryMb": 0, + "clusterFreeMemoryMb": 20978.64, + "clusterHypervReserveMemoryMb": 19599.36, + "clusterInfraVmMemoryMb": 0, + "clusterMemoryUsedByVmsMb": 90112, + "clusterNonFailoverVmMb": 0, + "clusterTotalMemoryMb": 130690, + "clusterUsedMemoryMb": 109711.36 + }, + "totalProvisionedNonHpnCores": 5 + }, + "clusterStorageCapacityInfo": { + "clusterFreeStorageMb": 5284151, + "clusterTotalStorageMb": 5368642 + }, + "nodeCapacityInfos": { + "3V78B03": { + "availableGpuCount": 1, + "effectiveAvailableMemoryMbOnHost": 45818, + "gpuType": "NvidiaTeslaT4", + "hostName": "3V78B03", + "numaNodesData": [ + { + "effectiveAvailableMemoryInMb": 30182, + "freeVCpuIndexesForHpn": [], + "logicalCoreCountPerCore": 2, + "numaNodeIndex": 0, + "totalMemoryInMb": 65154, + "vCpuIndexesForHpn": [], + "vCpuIndexesForRoot": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19 + ] + }, + { + "effectiveAvailableMemoryInMb": 19493, + "freeVCpuIndexesForHpn": [], + "logicalCoreCountPerCore": 2, + "numaNodeIndex": 1, + "totalMemoryInMb": 65536, + "vCpuIndexesForHpn": [], + "vCpuIndexesForRoot": [ + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39 + ] + } + ], + "vmUsedMemory": { + "23ddd5ea-bda9-467a-803f-1a7e2888d1fa": { + "currentMemoryUsageMB": 24576, + "startupMemoryMB": 24576 + }, + "2e867196-e44b-49b7-9cb3-46c25973b762": { + "currentMemoryUsageMB": 3584, + "startupMemoryMB": 3584 + }, + "48034ac1-04ce-48e1-89fd-15a6d71fd623": { + "currentMemoryUsageMB": 2048, + "startupMemoryMB": 2048 + }, + "4c4261f0-eac5-4ff6-95ef-2cb70e09d3f6": { + "currentMemoryUsageMB": 3584, + "startupMemoryMB": 3584 + }, + "6b1817d5-4003-4f17-8423-51c33d9de88c": { + "currentMemoryUsageMB": 0, + "startupMemoryMB": 24576 + }, + "853efe82-58f1-4f94-8f9c-7752dab6767c": { + "currentMemoryUsageMB": 24576, + "startupMemoryMB": 24576 + }, + "c1023a57-d6a0-4a77-9308-48b320bfedbd": { + "currentMemoryUsageMB": 3584, + "startupMemoryMB": 3584 + }, + "dc3d20b2-8581-41cb-9ca3-1bbc1a8a2fe4": { + "currentMemoryUsageMB": 3584, + "startupMemoryMB": 3584 + } + } + } + }, + "timeStamp": "2022-02-28T19:35:34.5585067Z" + } + } + } + }, + "operationId": "DeviceCapacityInfo_GetDeviceCapacityInfo", + "title": "DeviceCapacityGet" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/DeviceCapacityRequestPost.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/DeviceCapacityRequestPost.json new file mode 100644 index 000000000000..abc0927fad19 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/DeviceCapacityRequestPost.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "Content-Length": [ + "200" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceCapacityRequestInfo": { + "properties": { + "vmPlacementQuery": [ + [ + "Standard_D2_v2" + ] + ] + } + }, + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://foo.com/BandwidthSchdeuleDelete" + } + } + }, + "operationId": "DeviceCapacityCheck_CheckResourceCreationFeasibility", + "title": "DeviceCapacityRequestPost" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/DownloadUpdatesPost.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/DownloadUpdatesPost.json new file mode 100644 index 000000000000..2cabf2d18945 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/DownloadUpdatesPost.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "Content-Length": [ + "200" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://foo.com/DownloadUpdatesPost" + } + } + }, + "operationId": "Devices_DownloadUpdates", + "title": "DownloadUpdatesPost" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/ExtendedInfoPost.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/ExtendedInfoPost.json new file mode 100644 index 000000000000..bcbcd86e0bba --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/ExtendedInfoPost.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "Content-Length": [ + "200" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": { + "body": { + "name": "testedgedevice", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice", + "properties": { + "encryptionKey": "", + "encryptionKeyThumbprint": "", + "resourceKey": "3482840729935603111" + } + } + } + }, + "operationId": "Devices_GetExtendedInformation", + "title": "ExtendedInfoPost" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/GenerateCertificate.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/GenerateCertificate.json new file mode 100644 index 000000000000..83f8670ed461 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/GenerateCertificate.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" + }, + "responses": { + "200": { + "body": { + "expiryTimeInUTC": "2020-11-22T05:06:20.000Z", + "privateKey": null, + "publicKey": "MIIEDjCCAnagAwIBAgIQEW4wrxj9+JdA4kFLDgegTTANBgkqhkiG9w0BAQUFADBDMUEwPwYDVQQDHjgAQwBCAF8AUABvAHIAdABhAGwAXwA2ADMANwA0ADEAMwA1ADkAMQA4ADAAMAA3ADAAOQAxADcANTAeFw0yMDExMTkwNDU2MjBaFw0yMDExMjIwNTA2MjBaMEMxQTA/BgNVBAMeOABDAEIAXwBQAG8AcgB0AGEAbABfADYAMwA3ADQAMQAzADUAOQAxADgAMAAwADcAMAA5ADEANwA1MIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAqG617KAUc4gOoht527o6FGE/c97W/wZIXqKbx4G8vifljXWw3NGDDuSQfidE3MqSMMJ/AAlDhBH/Deo/PAgUWuWB2WgM+KFWrDS0oDBvLVeIIeiMx4LOsbz4J8IbcKrGWf+ulQyum7dE/yBLzPXcPTjhJP0oMfhGOMlVVWbiKaP78/WZk2PmBQaVv7PxAQnJAPqETH2qAyuc9bd0TaMlIER56WhX9+nzsoI0u7RmBEs8+BaudVroiiK/GpEczy73TCRlpVXGChdBHg+NvYRYz91ltCV9Ijo1bdvcUjdgDJZ4Tz7G8XVCQmxbd9ml6OBLgxQUpd9HSGTcIfFiv+rTUwHR7YkY+1UGHsDPOYnBVDTXs3RFm+c5uNnCKvtyTExDJgabT+FTNb3eyD/BSYsy6b/YZBRqPiO8BRFUsIhWhXtPaUjWOEx6XMeZRnGeF4Hi8iH8TR79kEJhfYy3piSPAc3JrhgoglpyyfZOgyPOje+8tAWS9FHUNyVXKKeksDoZAgMBAAEwDQYJKoZIhvcNAQEFBQADggGBACpfQt34mgr+WlFtY0tqaPAoF6XnVzyKB6XsVAoj1uKFTSCQnr0mWvUMWKSRFTu1bV1VdDokV5I+h92kBcO4ddtHhWtkt16j9XFDsGdDvoUWJeqecZVr9fBPC69wF/9R/2E6iJporR46Pui7gcilYGqb3IjJlh8RT/XBPamQrfDbS7G8eTe91ST5cHr89R6EtDwfyhyTZr2sRrvQrxY2AjEmdH5Zcl9q2Xf8DholZhZ9vwnuYBFfl6VCXWaDAzQWiPdxo1wgXxEpNNDstGFWJKnsnz9UCohNAiPf47B+csPqxjcTLVMhcGLdU/lwpzzkEOciijpYILscvPoU3IM6DmFROgU2z6CForpgwHPDJktyWU1MC7lFdfrSzwu/5b3ZAEQhnJf7rvrybULoYBQWJEuj26Is1S6kXpNUaHAc5HIyIoc2V2eRjasbPIqsU0smjPLS/1egjHxtw9u+v4qDDvDuOjhFJtC3NkPl06TfNgO9+5LgiB1JppXnkLyCQ9RQgw==" + } + } + }, + "operationId": "Devices_GenerateCertificate", + "title": "GenerateCertificate" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/GetAddons.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/GetAddons.json new file mode 100644 index 000000000000..01a9a7802c22 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/GetAddons.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "Content-Length": [ + "200" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "accept-language": [ + "en-US" + ], + "addonName": "arcName", + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "roleName": "KubernetesRole", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": { + "body": { + "name": "arcName", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/roles/addons", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourcegroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/addonExamples/roles/kubernetesRole/addons/arcName", + "kind": "ArcForKubernetes", + "properties": { + "hostPlatform": "Linux", + "hostPlatformType": "KubernetesCluster", + "provisioningState": "Created", + "resourceGroupName": "GroupForEdgeAutomation", + "resourceLocation": "EastUS", + "resourceName": "testedgedevice", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "version": "0.2.18" + } + } + } + }, + "operationId": "Addons_Get", + "title": "GetAddOns" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/GetDCAccessCode.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/GetDCAccessCode.json new file mode 100644 index 000000000000..3df3b2c4d713 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/GetDCAccessCode.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" + }, + "responses": { + "200": { + "body": { + "properties": { + "authCode": "_sv7-NY2" + } + } + } + }, + "operationId": "Orders_ListDCAccessCode", + "title": "GetDCAccessCode" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/GetDiagnosticProactiveLogCollectionSettings.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/GetDiagnosticProactiveLogCollectionSettings.json new file mode 100644 index 000000000000..956e6d165202 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/GetDiagnosticProactiveLogCollectionSettings.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "name": "159a00c7-8543-4343-9435-263ac87df3bb", + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "diagnosticProactiveLogCollectionSettings": { + "properties": { + "userConsent": "Enabled" + } + }, + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "dataBoxEdgeDevices/diagnosticSettings", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/diagnosticProactiveLogCollectionSettings/default", + "properties": { + "userConsent": "Enabled" + } + } + } + }, + "operationId": "DiagnosticSettings_GetDiagnosticProactiveLogCollectionSettings", + "title": "GetDiagnosticProactiveLogCollectionSettings" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/GetDiagnosticRemoteSupportSettings.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/GetDiagnosticRemoteSupportSettings.json new file mode 100644 index 000000000000..ff89c1fdfde9 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/GetDiagnosticRemoteSupportSettings.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "name": "159a00c7-8543-4343-9435-263ac87df3bb", + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "dataBoxEdgeDevices/diagnosticSettings", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/diagnosticRemoteSupportSettings/default", + "properties": { + "remoteSupportSettingsList": [ + { + "accessLevel": "ReadWrite", + "expirationTimeStampInUTC": "2021-07-07T00:00:00+00:00", + "remoteApplicationType": "LocalUI" + } + ] + } + } + } + }, + "operationId": "DiagnosticSettings_GetDiagnosticRemoteSupportSettings", + "title": "GetDiagnosticRemoteSupportSettings" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/GetMonitoringConfig.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/GetMonitoringConfig.json new file mode 100644 index 000000000000..a0908e8868d7 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/GetMonitoringConfig.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "roleName": "testrole", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" + }, + "responses": { + "200": { + "body": { + "id": "foo/bar/id", + "properties": { + "metricConfigurations": [ + { + "counterSets": [ + { + "counters": [ + { + "name": "test" + } + ] + } + ], + "mdmAccount": "test", + "metricNameSpace": "test", + "resourceId": "test" + } + ] + } + } + } + }, + "operationId": "MonitoringConfig_Get", + "title": "GetMonitoringConfig" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/GetUpdateExtendedInfo.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/GetUpdateExtendedInfo.json new file mode 100644 index 000000000000..389518c2c67f --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/GetUpdateExtendedInfo.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "parameters": {}, + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" + }, + "responses": { + "200": { + "body": { + "properties": { + "channelIntegrityKeyName": "ase-cik-ab861822-21ea-4d31-96ec-89aa066f9a59", + "channelIntegrityKeyVersion": "95e9b619e65f433d82c9e1ead48214b9", + "clientSecretStoreId": "/subscriptions/0d44739e-0563-474f-97e7-24a0cdb23b29/resourceGroups/arja-rg/providers/Microsoft.KeyVault/vaults/test-keyvault-ccy-523", + "clientSecretStoreUrl": "https://test-keyvault-ccy-523.vault.azure.net", + "deviceSecrets": { + "BMCDefaultUserPassword": {}, + "HcsDataVolumeBitLockerExternalKey": { + "keyVaultId": "Id" + }, + "HcsInternalVolumeBitLockerExternalKey": { + "keyVaultId": "Id" + }, + "RotateKeyForDataVolumeBitlocker": {}, + "RotateKeysForSedDrivesSerialized": {}, + "SEDEncryptionExternalKey": {}, + "SEDEncryptionExternalKeyId": {}, + "SystemVolumeBitLockerRecoveryKey": { + "keyVaultId": "Id" + } + }, + "keyVaultSyncStatus": "KeyVaultSynced" + } + } + } + }, + "operationId": "Devices_UpdateExtendedInformation", + "title": "GetUpdateExtendedInfo" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/InstallUpdatesPost.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/InstallUpdatesPost.json new file mode 100644 index 000000000000..72b03ce0ff6b --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/InstallUpdatesPost.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "Content-Length": [ + "200" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://foo.com/InstalllUpdatesPost" + } + } + }, + "operationId": "Devices_InstallUpdates", + "title": "InstallUpdatesPost" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/JobsGet.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/JobsGet.json new file mode 100644 index 000000000000..58a94c61eb55 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/JobsGet.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "name": "159a00c7-8543-4343-9435-263ac87df3bb", + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": { + "body": { + "name": "159a00c7-8543-4343-9435-263ac87df3bb", + "endTime": "2018-12-18T03:18:51.4270267Z", + "id": "/subscriptions/id/locations/westus/jobs/159a00c7-8543-4343-9435-263ac87df3bb", + "percentComplete": 100, + "properties": { + "currentStage": "Success", + "jobType": "DownloadUpdates" + }, + "startTime": "2018-12-18T02:18:51.4270267Z", + "status": "Succeeded" + } + } + }, + "operationId": "Jobs_Get", + "title": "JobsGet" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/ListMonitoringConfig.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/ListMonitoringConfig.json new file mode 100644 index 000000000000..a272695cec48 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/ListMonitoringConfig.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "roleName": "testrole", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "foo/bar/id", + "properties": { + "metricConfigurations": [ + { + "counterSets": [ + { + "counters": [ + { + "name": "test" + } + ] + } + ], + "mdmAccount": "test", + "metricNameSpace": "test", + "resourceId": "test" + } + ] + } + } + ] + } + } + }, + "operationId": "MonitoringConfig_List", + "title": "ListMonitoringConfig" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/NetworkSettingsGet.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/NetworkSettingsGet.json new file mode 100644 index 000000000000..95728b8783e0 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/NetworkSettingsGet.json @@ -0,0 +1,60 @@ +{ + "parameters": { + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/networkSettings", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/networkSettings/default", + "properties": { + "networkAdapters": [ + { + "adapterId": "{47D0D0EC-AA8A-4221-AA2A-355B58082BA5}", + "adapterPosition": { + "networkGroup": "NonRDMA", + "port": 0 + }, + "dhcpStatus": "Disabled", + "dnsServers": [ + "10.50.50.50", + "10.50.10.50" + ], + "index": 1, + "ipv4Configuration": { + "gateway": "10.150.76.1", + "ipAddress": "10.150.78.56", + "subnet": "255.255.252.0" + }, + "ipv6Configuration": { + "gateway": "fe80::12f3:11ff:fe36:994b%5", + "ipAddress": "2404:f801:4800:1e:d5c6:50a1:465b:1bbf", + "prefixLength": 64 + }, + "ipv6LinkLocalAddress": "fe80::d5c6:50a1:465b:1bbf%5", + "label": "DATA1", + "linkSpeed": 10000000000, + "macAddress": "00155D4E265B", + "networkAdapterName": "DATA1", + "nodeId": "3fd54d9e-f7a0-45bf-bdf1-39b0977d1984", + "rdmaStatus": "Incapable", + "status": "Inactive" + } + ] + } + } + } + }, + "operationId": "Devices_GetNetworkSettings", + "title": "NetworkSettingsGet" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/NodeGetAllInDevice.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/NodeGetAllInDevice.json new file mode 100644 index 000000000000..ed50fcb35d71 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/NodeGetAllInDevice.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "1D6QHQ2", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/nodes", + "id": "/subscriptions/db4e2fdb-6d80-4e6e-b7cd-736098270664/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/DataBoxEdgeDevices/testedgedevice/nodes/1D6QHQ2", + "properties": { + "nodeChassisSerialNumber": "1D6QHQ2", + "nodeDisplayName": "Controller 1", + "nodeFriendlySoftwareVersion": "Data Box Edge 1908", + "nodeHcsVersion": "1.6.961.8307", + "nodeInstanceId": "ad051874-7d27-4ac4-a7b1-b6f231d8a035", + "nodeSerialNumber": "1D6QHQ2", + "nodeStatus": "Unknown" + } + }, + { + "name": "1DCNHQ2", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/nodes", + "id": "/subscriptions/db4e2fdb-6d80-4e6e-b7cd-736098270664/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/DataBoxEdgeDevices/testedgedevice/nodes/1DCNHQ2", + "properties": { + "nodeChassisSerialNumber": "1D6QHQ2", + "nodeDisplayName": "Controller 1", + "nodeFriendlySoftwareVersion": "Data Box Edge 1908", + "nodeHcsVersion": "1.6.961.8307", + "nodeInstanceId": "ddf3a76d-ada4-44af-99c6-a69a0e21bcb6", + "nodeSerialNumber": "1DCNHQ2", + "nodeStatus": "Unknown" + } + } + ] + } + } + }, + "operationId": "Nodes_ListByDataBoxEdgeDevice", + "title": "NodesGetAllInDevice" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/OperationsGet.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/OperationsGet.json new file mode 100644 index 000000000000..8112c7c2e93d --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/OperationsGet.json @@ -0,0 +1,677 @@ +{ + "parameters": { + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/users/read", + "display": { + "description": "Lists or gets the share users", + "operation": "List share users", + "provider": "Microsoft.DataBoxEdge", + "resource": "share users" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/users/read", + "display": { + "description": "Lists or gets the share users", + "operation": "List share users", + "provider": "Microsoft.DataBoxEdge", + "resource": "share users" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/users/write", + "display": { + "description": "Creates or updates the share users", + "operation": "Creates or updates share users", + "provider": "Microsoft.DataBoxEdge", + "resource": "share users" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/users/delete", + "display": { + "description": "Deletes the share users", + "operation": "Delete share users", + "provider": "Microsoft.DataBoxEdge", + "resource": "share users" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/bandwidthSchedules/read", + "display": { + "description": "Lists or gets the bandwidth schedules", + "operation": "List bandwidth schedules", + "provider": "Microsoft.DataBoxEdge", + "resource": "bandwidth schedules" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/bandwidthSchedules/read", + "display": { + "description": "Lists or gets the bandwidth schedules", + "operation": "List bandwidth schedules", + "provider": "Microsoft.DataBoxEdge", + "resource": "bandwidth schedules" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/bandwidthSchedules/write", + "display": { + "description": "Creates or updates the bandwidth schedules", + "operation": "Creates or updates bandwidth schedules", + "provider": "Microsoft.DataBoxEdge", + "resource": "bandwidth schedules" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/bandwidthSchedules/delete", + "display": { + "description": "Deletes the bandwidth schedules", + "operation": "Delete bandwidth schedules", + "provider": "Microsoft.DataBoxEdge", + "resource": "bandwidth schedules" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/roles/read", + "display": { + "description": "Lists or gets the ArmApiRes_roles", + "operation": "List ArmApiRes_roles", + "provider": "Microsoft.DataBoxEdge", + "resource": "ArmApiRes_roles" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/roles/read", + "display": { + "description": "Lists or gets the ArmApiRes_roles", + "operation": "List ArmApiRes_roles", + "provider": "Microsoft.DataBoxEdge", + "resource": "ArmApiRes_roles" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/roles/write", + "display": { + "description": "Creates or updates the ArmApiRes_roles", + "operation": "Creates or updates ArmApiRes_roles", + "provider": "Microsoft.DataBoxEdge", + "resource": "ArmApiRes_roles" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/roles/delete", + "display": { + "description": "Deletes the ArmApiRes_roles", + "operation": "Delete ArmApiRes_roles", + "provider": "Microsoft.DataBoxEdge", + "resource": "ArmApiRes_roles" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/shares/read", + "display": { + "description": "Lists or gets the shares", + "operation": "List shares", + "provider": "Microsoft.DataBoxEdge", + "resource": "shares" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/shares/read", + "display": { + "description": "Lists or gets the shares", + "operation": "List shares", + "provider": "Microsoft.DataBoxEdge", + "resource": "shares" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/shares/write", + "display": { + "description": "Creates or updates the shares", + "operation": "Creates or updates shares", + "provider": "Microsoft.DataBoxEdge", + "resource": "shares" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/shares/refresh/action", + "display": { + "description": "ArmApiDesc_action_refresh_shares", + "operation": "ArmApiOp_action_refresh_shares", + "provider": "Microsoft.DataBoxEdge", + "resource": "shares" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/shares/delete", + "display": { + "description": "Deletes the shares", + "operation": "Delete shares", + "provider": "Microsoft.DataBoxEdge", + "resource": "shares" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/uploadCertificate/action", + "display": { + "description": "Upload certificate for device registration", + "operation": "Upload certificates", + "provider": "Microsoft.DataBoxEdge", + "resource": "Data Box Edge devices" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/write", + "display": { + "description": "Creates or updates the Data Box Edge devices", + "operation": "Creates or updates Data Box Edge devices", + "provider": "Microsoft.DataBoxEdge", + "resource": "Data Box Edge devices" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/read", + "display": { + "description": "Lists or gets the Data Box Edge devices", + "operation": "List Data Box Edge devices", + "provider": "Microsoft.DataBoxEdge", + "resource": "Data Box Edge devices" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/delete", + "display": { + "description": "Deletes the Data Box Edge devices", + "operation": "Delete Data Box Edge devices", + "provider": "Microsoft.DataBoxEdge", + "resource": "Data Box Edge devices" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/read", + "display": { + "description": "Lists or gets the Data Box Edge devices", + "operation": "List Data Box Edge devices", + "provider": "Microsoft.DataBoxEdge", + "resource": "Data Box Edge devices" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/read", + "display": { + "description": "Lists or gets the Data Box Edge devices", + "operation": "List Data Box Edge devices", + "provider": "Microsoft.DataBoxEdge", + "resource": "Data Box Edge devices" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/write", + "display": { + "description": "Creates or updates the Data Box Edge devices", + "operation": "Creates or updates Data Box Edge devices", + "provider": "Microsoft.DataBoxEdge", + "resource": "Data Box Edge devices" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/getExtendedInformation/action", + "display": { + "description": "ArmApiDesc_action_getExtendedInformation_dataBoxEdgeDevices", + "operation": "ArmApiOp_action_getExtendedInformation_dataBoxEdgeDevices", + "provider": "Microsoft.DataBoxEdge", + "resource": "Data Box Edge devices" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/extendedInformation/action", + "display": { + "description": "Retrieves resource extended information", + "operation": "Gets resource extended information", + "provider": "Microsoft.DataBoxEdge", + "resource": "Data Box Edge devices" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/networkSettings/read", + "display": { + "description": "Lists or gets the Device network settings", + "operation": "List Device network settings", + "provider": "Microsoft.DataBoxEdge", + "resource": "Device network settings" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/securitySettings/update/action", + "display": { + "description": "Update security settings", + "operation": "Update security settings", + "provider": "Microsoft.DataBoxEdge", + "resource": "Device security settings" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/updateSummary/read", + "display": { + "description": "Lists or gets the update summary", + "operation": "List update summary", + "provider": "Microsoft.DataBoxEdge", + "resource": "update summary" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/scanForUpdates/action", + "display": { + "description": "Scan for updates", + "operation": "Scan for updates", + "provider": "Microsoft.DataBoxEdge", + "resource": "Data Box Edge devices" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/downloadUpdates/action", + "display": { + "description": "Download Updates in device", + "operation": "Download Updates", + "provider": "Microsoft.DataBoxEdge", + "resource": "Data Box Edge devices" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/installUpdates/action", + "display": { + "description": "Install Updates on device", + "operation": "Install Updates", + "provider": "Microsoft.DataBoxEdge", + "resource": "Data Box Edge devices" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/jobs/read", + "display": { + "description": "Lists or gets the jobs", + "operation": "List jobs", + "provider": "Microsoft.DataBoxEdge", + "resource": "jobs" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccountCredentials/write", + "display": { + "description": "Creates or updates the storage account credentials", + "operation": "Creates or updates storage account credentials", + "provider": "Microsoft.DataBoxEdge", + "resource": "storage account credentials" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccountCredentials/read", + "display": { + "description": "Lists or gets the storage account credentials", + "operation": "List storage account credentials", + "provider": "Microsoft.DataBoxEdge", + "resource": "storage account credentials" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccountCredentials/read", + "display": { + "description": "Lists or gets the storage account credentials", + "operation": "List storage account credentials", + "provider": "Microsoft.DataBoxEdge", + "resource": "storage account credentials" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccountCredentials/delete", + "display": { + "description": "Deletes the storage account credentials", + "operation": "Delete storage account credentials", + "provider": "Microsoft.DataBoxEdge", + "resource": "storage account credentials" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/alerts/read", + "display": { + "description": "Lists or gets the alerts", + "operation": "List alerts", + "provider": "Microsoft.DataBoxEdge", + "resource": "alerts" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/alerts/read", + "display": { + "description": "Lists or gets the alerts", + "operation": "List alerts", + "provider": "Microsoft.DataBoxEdge", + "resource": "alerts" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/providers/Microsoft.Insights/metricDefinitions/read", + "display": { + "description": "Gets the available Data Box Edge device level metrics", + "operation": "Read Data Box Edge device metric definition", + "provider": "Microsoft.DataBoxEdge", + "resource": "Data Box Edge device" + }, + "origin": "system", + "properties": { + "serviceSpecification": { + "metricSpecifications": [ + { + "name": "NICReadThroughput", + "aggregationType": "Average", + "category": "Transaction", + "dimensions": [ + { + "name": "InstanceName", + "displayName": "Name", + "toBeExportedForShoebox": true + } + ], + "displayDescription": "The read throughput of the network interface on the device in the reporting period for all volumes in the gateway.", + "displayName": "Read Throughput (Network)", + "fillGapWithZero": false, + "supportedAggregationTypes": [ + "Average", + "Minimum", + "Maximum" + ], + "supportedTimeGrainTypes": [ + "PT1M", + "PT15M", + "PT1H" + ], + "unit": "BytesPerSecond" + }, + { + "name": "NICWriteThroughput", + "aggregationType": "Average", + "category": "Transaction", + "dimensions": [ + { + "name": "InstanceName", + "displayName": "Name", + "toBeExportedForShoebox": true + } + ], + "displayDescription": "The write throughput of the network interface on the device in the reporting period for all volumes in the gateway.", + "displayName": "Write Throughput (Network)", + "fillGapWithZero": false, + "supportedAggregationTypes": [ + "Average", + "Minimum", + "Maximum" + ], + "supportedTimeGrainTypes": [ + "PT1M", + "PT15M", + "PT1H" + ], + "unit": "BytesPerSecond" + }, + { + "name": "CloudReadThroughputPerShare", + "aggregationType": "Average", + "category": "Transaction", + "dimensions": [ + { + "name": "Share", + "displayName": "Share", + "toBeExportedForShoebox": true + } + ], + "displayDescription": "The download throughput to Azure from a share during the reporting period.", + "displayName": "Cloud Download Throughput (Share)", + "fillGapWithZero": false, + "supportedAggregationTypes": [ + "Average", + "Minimum", + "Maximum" + ], + "supportedTimeGrainTypes": [ + "PT1M", + "PT15M", + "PT1H" + ], + "unit": "BytesPerSecond" + }, + { + "name": "CloudUploadThroughputPerShare", + "aggregationType": "Average", + "category": "Transaction", + "dimensions": [ + { + "name": "Share", + "displayName": "Share", + "toBeExportedForShoebox": true + } + ], + "displayDescription": "The upload throughput to Azure from a share during the reporting period.", + "displayName": "Cloud Upload Throughput (Share)", + "fillGapWithZero": false, + "supportedAggregationTypes": [ + "Average", + "Minimum", + "Maximum" + ], + "supportedTimeGrainTypes": [ + "PT1M", + "PT15M", + "PT1H" + ], + "unit": "BytesPerSecond" + }, + { + "name": "BytesUploadedToCloudPerShare", + "aggregationType": "Average", + "category": "Transaction", + "dimensions": [ + { + "name": "Share", + "displayName": "Share", + "toBeExportedForShoebox": true + } + ], + "displayDescription": "The total number of bytes that is uploaded to Azure from a share during the reporting period.", + "displayName": "Cloud Bytes Uploaded (Share)", + "fillGapWithZero": false, + "supportedAggregationTypes": [ + "Average", + "Minimum", + "Maximum" + ], + "supportedTimeGrainTypes": [ + "PT1M", + "PT15M", + "PT1H" + ], + "unit": "Bytes" + }, + { + "name": "TotalCapacity", + "aggregationType": "Average", + "category": "Capacity", + "dimensions": [], + "displayDescription": "Total Capacity", + "displayName": "Total Capacity", + "fillGapWithZero": false, + "supportedAggregationTypes": [ + "Average", + "Minimum", + "Maximum" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT1H" + ], + "unit": "Bytes" + }, + { + "name": "AvailableCapacity", + "aggregationType": "Average", + "category": "Capacity", + "dimensions": [], + "displayDescription": "The available capacity in bytes during the reporting period.", + "displayName": "Available Capacity", + "fillGapWithZero": false, + "supportedAggregationTypes": [ + "Average", + "Minimum", + "Maximum" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT1H" + ], + "unit": "Bytes" + }, + { + "name": "CloudUploadThroughput", + "aggregationType": "Average", + "category": "Transaction", + "dimensions": [], + "displayDescription": "The cloud upload throughput during the reporting period.", + "displayName": "Cloud Upload Throughput", + "fillGapWithZero": false, + "supportedAggregationTypes": [ + "Average", + "Minimum", + "Maximum" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT1H" + ], + "unit": "BytesPerSecond" + }, + { + "name": "CloudReadThroughput", + "aggregationType": "Average", + "category": "Transaction", + "dimensions": [], + "displayDescription": "The cloud download throughput during the reporting period.", + "displayName": "Cloud Read Throughput", + "fillGapWithZero": false, + "supportedAggregationTypes": [ + "Average", + "Minimum", + "Maximum" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT1H" + ], + "unit": "BytesPerSecond" + }, + { + "name": "BytesUploadedToCloud", + "aggregationType": "Average", + "category": "Transaction", + "dimensions": [], + "displayDescription": "The total number of bytes that is uploaded to Azure from a device during the reporting period.", + "displayName": "Cloud Bytes Uploaded (Device)", + "fillGapWithZero": false, + "supportedAggregationTypes": [ + "Average", + "Minimum", + "Maximum" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT1H" + ], + "unit": "Bytes" + } + ] + } + } + }, + { + "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/providers/Microsoft.Insights/diagnosticSettings/write", + "display": { + "description": "Creates or updates the diagnostics setting for the resource", + "operation": "Write diagnostics setting", + "provider": "Microsoft.DataBoxEdge", + "resource": "Data Box Edge device" + }, + "origin": "system" + }, + { + "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/providers/Microsoft.Insights/diagnosticSettings/read", + "display": { + "description": "Gets the diagnostic setting for the resource", + "operation": "Read diagnostics setting", + "provider": "Microsoft.DataBoxEdge", + "resource": "Data Box Edge device" + }, + "origin": "system" + } + ] + } + } + }, + "operationId": "Operations_List", + "title": "OperationsGet" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/OperationsStatusGet.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/OperationsStatusGet.json new file mode 100644 index 000000000000..1eb2bcc83a7c --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/OperationsStatusGet.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "name": "159a00c7-8543-4343-9435-263ac87df3bb", + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": { + "body": { + "name": "159a00c7-8543-4343-9435-263ac87df3bb", + "endTime": "2018-12-18T03:18:51.4270267Z", + "id": "/subscriptions/id/locations/westus/operationsStatus/159a00c7-8543-4343-9435-263ac87df3bb", + "percentComplete": 100, + "properties": { + "currentStage": "Success", + "jobType": "DownloadUpdates" + }, + "startTime": "2018-12-18T02:18:51.4270267Z", + "status": "Succeeded" + } + } + }, + "operationId": "OperationsStatus_Get", + "title": "OperationsStatusGet" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/OrderDelete.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/OrderDelete.json new file mode 100644 index 000000000000..6ebd3d1966e3 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/OrderDelete.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://foo.com/OrderDelete" + } + }, + "204": {} + }, + "operationId": "Orders_Delete", + "title": "OrderDelete" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/OrderGet.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/OrderGet.json new file mode 100644 index 000000000000..a10acebfed91 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/OrderGet.json @@ -0,0 +1,59 @@ +{ + "parameters": { + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "dataBoxEdgeDevices/orders", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/orders/default", + "properties": { + "contactInformation": { + "companyName": "Microsoft", + "contactPerson": "John Mcclane", + "emailList": [ + "john@microsoft.com" + ], + "phone": "(800) 426-9400" + }, + "currentStatus": { + "comments": "", + "status": "Untracked", + "updateDateTime": "2018-12-10T07:59:05.847Z" + }, + "deliveryTrackingInfo": [], + "orderHistory": [ + { + "comments": "lorem ipsum", + "status": "Untracked", + "updateDateTime": "2018-12-10T07:59:05.847Z" + } + ], + "returnTrackingInfo": [], + "serialNumber": "UDS123NSDA123", + "shippingAddress": { + "addressLine1": "Microsoft Corporation", + "addressLine2": "One Microsoft Way", + "addressLine3": "Redmond", + "city": "WA", + "country": "USA", + "postalCode": "98052", + "state": "WA" + } + } + } + } + }, + "operationId": "Orders_Get", + "title": "OrderGet" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/OrderGetAllInDevice.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/OrderGetAllInDevice.json new file mode 100644 index 000000000000..293e5731477a --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/OrderGetAllInDevice.json @@ -0,0 +1,63 @@ +{ + "parameters": { + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "default", + "type": "dataBoxEdgeDevices/orders", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/orders/default", + "properties": { + "contactInformation": { + "companyName": "Microsoft", + "contactPerson": "John Mcclane", + "emailList": [ + "john@microsoft.com" + ], + "phone": "(800) 426-9400" + }, + "currentStatus": { + "comments": "", + "status": "Untracked", + "updateDateTime": "2018-12-10T07:59:05.847Z" + }, + "deliveryTrackingInfo": [], + "orderHistory": [ + { + "comments": "lorem ipsum", + "status": "Untracked", + "updateDateTime": "2018-12-10T07:59:05.847Z" + } + ], + "returnTrackingInfo": [], + "serialNumber": "UDS123NSDA123", + "shippingAddress": { + "addressLine1": "Microsoft Corporation", + "addressLine2": "One Microsoft Way", + "addressLine3": "Redmond", + "city": "WA", + "country": "USA", + "postalCode": "98052", + "state": "WA" + } + } + } + ] + } + } + }, + "operationId": "Orders_ListByDataBoxEdgeDevice", + "title": "OrderGetAllInDevice" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/OrderPut.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/OrderPut.json new file mode 100644 index 000000000000..6a19e2724a01 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/OrderPut.json @@ -0,0 +1,87 @@ +{ + "parameters": { + "Content-Length": [ + "200" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "order": { + "properties": { + "contactInformation": { + "companyName": "Microsoft", + "contactPerson": "John Mcclane", + "emailList": [ + "john@microsoft.com" + ], + "phone": "(800) 426-9400" + }, + "shippingAddress": { + "addressLine1": "Microsoft Corporation", + "addressLine2": "One Microsoft Way", + "addressLine3": "Redmond", + "city": "WA", + "country": "USA", + "postalCode": "98052", + "state": "WA" + } + } + }, + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "dataBoxEdgeDevices/orders", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/orders/default", + "properties": { + "contactInformation": { + "companyName": "Microsoft", + "contactPerson": "John Mcclane", + "emailList": [ + "john@microsoft.com" + ], + "phone": "(800) 426-9400" + }, + "currentStatus": { + "comments": "", + "status": "Untracked", + "updateDateTime": "2018-12-10T07:59:05.847Z" + }, + "deliveryTrackingInfo": [], + "orderHistory": [ + { + "comments": "lorem ipsum", + "status": "Untracked", + "updateDateTime": "2018-12-10T07:59:05.847Z" + } + ], + "returnTrackingInfo": [], + "serialNumber": "UDS123NSDA123", + "shippingAddress": { + "addressLine1": "Microsoft Corporation", + "addressLine2": "One Microsoft Way", + "addressLine3": "Redmond", + "city": "WA", + "country": "USA", + "postalCode": "98052", + "state": "WA" + } + } + } + }, + "202": {} + }, + "operationId": "Orders_CreateOrUpdate", + "title": "OrderPut" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/PutAddons.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/PutAddons.json new file mode 100644 index 000000000000..59f6eb242219 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/PutAddons.json @@ -0,0 +1,54 @@ +{ + "parameters": { + "Content-Length": [ + "200" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "accept-language": [ + "en-US" + ], + "addon": { + "kind": "ArcForKubernetes", + "properties": { + "resourceGroupName": "GroupForEdgeAutomation", + "resourceLocation": "EastUS", + "resourceName": "testedgedevice", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" + } + }, + "addonName": "arcName", + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "roleName": "KubernetesRole", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": { + "body": { + "name": "arcName", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/roles/addons", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourcegroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/addonExamples/roles/kubernetesRole/addons/arcName", + "kind": "ArcForKubernetes", + "properties": { + "hostPlatform": "Linux", + "hostPlatformType": "KubernetesCluster", + "provisioningState": "Created", + "resourceGroupName": "GroupForEdgeAutomation", + "resourceLocation": "EastUS", + "resourceName": "testedgedevice", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "version": "0.2.18" + } + } + }, + "202": {} + }, + "operationId": "Addons_CreateOrUpdate", + "title": "PutAddOns" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/PutMonitoringConfig.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/PutMonitoringConfig.json new file mode 100644 index 000000000000..175d8de50c70 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/PutMonitoringConfig.json @@ -0,0 +1,64 @@ +{ + "parameters": { + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "monitoringMetricConfiguration": { + "properties": { + "metricConfigurations": [ + { + "counterSets": [ + { + "counters": [ + { + "name": "test" + } + ] + } + ], + "mdmAccount": "test", + "metricNameSpace": "test", + "resourceId": "test" + } + ] + } + }, + "resourceGroupName": "GroupForEdgeAutomation", + "roleName": "testrole", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" + }, + "responses": { + "200": { + "body": { + "id": "foo/bar/id", + "properties": { + "metricConfigurations": [ + { + "counterSets": [ + { + "counters": [ + { + "name": "test" + } + ] + } + ], + "mdmAccount": "test", + "metricNameSpace": "test", + "resourceId": "test" + } + ] + } + } + }, + "202": { + "headers": { + "location": "https://foo.com/BandwidthSchdeuleDelete" + } + } + }, + "operationId": "MonitoringConfig_CreateOrUpdate", + "title": "PutMonitoringConfig" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/RoleDelete.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/RoleDelete.json new file mode 100644 index 000000000000..72b44cac736d --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/RoleDelete.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "name": "IoTRole1", + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://foo.com/BandwidthSchdeuleDelete" + } + }, + "204": {} + }, + "operationId": "Roles_Delete", + "title": "RoleDelete" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/RoleGet.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/RoleGet.json new file mode 100644 index 000000000000..285f100f2410 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/RoleGet.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "name": "IoTRole1", + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" + }, + "responses": { + "200": { + "body": { + "name": "IoTRole1", + "type": "dataBoxEdgeDevices/roles", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/roles/IoTRole1", + "kind": "IOT", + "properties": { + "hostPlatform": "Linux", + "ioTDeviceDetails": { + "authentication": { + "symmetricKey": {} + }, + "deviceId": "iotdevice", + "ioTHostHub": "iothub.azure-devices.net" + }, + "ioTEdgeDeviceDetails": { + "authentication": { + "symmetricKey": {} + }, + "deviceId": "iotEdge", + "ioTHostHub": "iothub.azure-devices.net" + }, + "roleStatus": "Enabled", + "shareMappings": [] + } + } + } + }, + "operationId": "Roles_Get", + "title": "RoleGet" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/RoleGetAllInDevice.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/RoleGetAllInDevice.json new file mode 100644 index 000000000000..7c7f82049bfe --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/RoleGetAllInDevice.json @@ -0,0 +1,46 @@ +{ + "parameters": { + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "IoTRole1", + "type": "dataBoxEdgeDevices/roles", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/roles/IoTRole1", + "kind": "IOT", + "properties": { + "hostPlatform": "Linux", + "ioTDeviceDetails": { + "authentication": { + "symmetricKey": {} + }, + "deviceId": "iotdevice", + "ioTHostHub": "iothub.azure-devices.net" + }, + "ioTEdgeDeviceDetails": { + "authentication": { + "symmetricKey": {} + }, + "deviceId": "iotEdge", + "ioTHostHub": "iothub.azure-devices.net" + }, + "roleStatus": "Enabled", + "shareMappings": [] + } + } + ] + } + } + }, + "operationId": "Roles_ListByDataBoxEdgeDevice", + "title": "RoleGetAllInDevice" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/RoleListAddOns.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/RoleListAddOns.json new file mode 100644 index 000000000000..4621bd9ea9b1 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/RoleListAddOns.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "roleName": "IoTRole1", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "arcName", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/roles/addons", + "id": "/subscriptions/0d44739e-0563-474f-97e7-24a0cdb23b29/resourcegroups/prpare/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/addonExamples/roles/kubernetesRole/addons/arcName", + "kind": "ArcForKubernetes", + "properties": { + "hostPlatform": "Linux", + "hostPlatformType": "KubernetesCluster", + "provisioningState": "Created", + "resourceGroupName": "testrg1", + "resourceLocation": "EastUS", + "resourceName": "testresource1", + "subscriptionId": "0d44739e-0563-474f-97e7-24a0cdb23b29", + "version": "0.2.18" + } + } + ] + } + } + }, + "operationId": "Addons_ListByRole", + "title": "RoleListAddOns" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/RolePut.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/RolePut.json new file mode 100644 index 000000000000..df5373263d9c --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/RolePut.json @@ -0,0 +1,87 @@ +{ + "parameters": { + "name": "IoTRole1", + "Content-Length": [ + "200" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "role": { + "kind": "IOT", + "properties": { + "hostPlatform": "Linux", + "ioTDeviceDetails": { + "authentication": { + "symmetricKey": { + "connectionString": { + "encryptionAlgorithm": "AES256", + "encryptionCertThumbprint": "348586569999244", + "value": "Encrypted<>" + } + } + }, + "deviceId": "iotdevice", + "ioTHostHub": "iothub.azure-devices.net" + }, + "ioTEdgeDeviceDetails": { + "authentication": { + "symmetricKey": { + "connectionString": { + "encryptionAlgorithm": "AES256", + "encryptionCertThumbprint": "1245475856069999244", + "value": "Encrypted<>" + } + } + }, + "deviceId": "iotEdge", + "ioTHostHub": "iothub.azure-devices.net" + }, + "roleStatus": "Enabled", + "shareMappings": [] + } + }, + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": { + "body": { + "name": "IoTRole1", + "type": "dataBoxEdgeDevices/roles", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/roles/IoTRole1", + "kind": "IOT", + "properties": { + "hostPlatform": "Linux", + "ioTDeviceDetails": { + "authentication": { + "symmetricKey": {} + }, + "deviceId": "iotdevice", + "ioTHostHub": "iothub.azure-devices.net" + }, + "ioTEdgeDeviceDetails": { + "authentication": { + "symmetricKey": {} + }, + "deviceId": "iotEdge", + "ioTHostHub": "iothub.azure-devices.net" + }, + "roleStatus": "Enabled", + "shareMappings": [] + } + } + }, + "202": {} + }, + "operationId": "Roles_CreateOrUpdate", + "title": "RolePut" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/SACDelete.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/SACDelete.json new file mode 100644 index 000000000000..94e467be41d9 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/SACDelete.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "name": "sac1", + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://foo.com/SACDelete" + } + }, + "204": {} + }, + "operationId": "StorageAccountCredentials_Delete", + "title": "SACDelete" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/SACGet.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/SACGet.json new file mode 100644 index 000000000000..85618fcbf8fc --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/SACGet.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "name": "sac1", + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": { + "body": { + "name": "sac1", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccountCredentials", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccountCredentials/sac1", + "properties": { + "accountType": "BlobStorage", + "alias": "sac1", + "sslStatus": "Disabled", + "userName": "cisbvt" + } + } + } + }, + "operationId": "StorageAccountCredentials_Get", + "title": "SACGet" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/SACGetAllInDevice.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/SACGetAllInDevice.json new file mode 100644 index 000000000000..e5eaa403b97e --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/SACGetAllInDevice.json @@ -0,0 +1,46 @@ +{ + "parameters": { + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "sac1128180128323", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccountCredentials", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccountCredentials/sac1128180128323", + "properties": { + "accountType": "GeneralPurposeStorage", + "alias": "sac1128180128323", + "sslStatus": "Disabled", + "userName": "cisbvt" + } + }, + { + "name": "sac1128180128312", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccountCredentials", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccountCredentials/sac1128180128312", + "properties": { + "accountType": "BlobStorage", + "alias": "sac1128180128312", + "sslStatus": "Disabled", + "userName": "cisbvt" + } + } + ] + } + } + }, + "operationId": "StorageAccountCredentials_ListByDataBoxEdgeDevice", + "title": "SACGetAllInDevice" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/SACPut.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/SACPut.json new file mode 100644 index 000000000000..75c88f581ebe --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/SACPut.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "name": "sac1", + "Content-Length": [ + "200" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "storageAccountCredential": { + "properties": { + "accountKey": { + "encryptionAlgorithm": "AES256", + "encryptionCertThumbprint": "2A9D8D6BE51574B5461230AEF02F162C5F01AD31", + "value": "lAeZEYi6rNP1/EyNaVUYmTSZEYyaIaWmwUsGwek0+xiZj54GM9Ue9/UA2ed/ClC03wuSit2XzM/cLRU5eYiFBwks23rGwiQOr3sruEL2a74EjPD050xYjA6M1I2hu/w2yjVHhn5j+DbXS4Xzi+rHHNZK3DgfDO3PkbECjPck+PbpSBjy9+6Mrjcld5DIZhUAeMlMHrFlg+WKRKB14o/og56u5/xX6WKlrMLEQ+y6E18dUwvWs2elTNoVO8PBE8SM/CfooX4AMNvaNdSObNBPdP+F6Lzc556nFNWXrBLRt0vC7s9qTiVRO4x/qCNaK/B4y7IqXMllwQFf4Np9UQ2ECA==" + }, + "accountType": "BlobStorage", + "alias": "sac1", + "sslStatus": "Disabled", + "userName": "cisbvt" + } + }, + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": { + "body": { + "name": "sac1", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccountCredentials", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccountCredentials/sac1", + "properties": { + "accountType": "BlobStorage", + "alias": "sac1", + "sslStatus": "Disabled", + "userName": "cisbvt" + } + } + }, + "202": {} + }, + "operationId": "StorageAccountCredentials_CreateOrUpdate", + "title": "SACPut" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/ScanForUpdatesPost.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/ScanForUpdatesPost.json new file mode 100644 index 000000000000..a2ec7c0cac38 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/ScanForUpdatesPost.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "Content-Length": [ + "200" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://foo.com/BandwidthSchdeuleDelete" + } + } + }, + "operationId": "Devices_ScanForUpdates", + "title": "ScanForUpdatesPost" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/SecuritySettingsUpdatePost.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/SecuritySettingsUpdatePost.json new file mode 100644 index 000000000000..0cee2f569561 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/SecuritySettingsUpdatePost.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "Content-Length": [ + "200" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "AzureVM", + "securitySettings": { + "properties": { + "deviceAdminPassword": { + "encryptionAlgorithm": "AES256", + "encryptionCertThumbprint": "", + "value": "" + } + } + }, + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "202": { + "headers": { + "location": "https://foo.com/BandwidthSchdeuleDelete" + } + }, + "204": {} + }, + "operationId": "Devices_CreateOrUpdateSecuritySettings", + "title": "CreateOrUpdateSecuritySettings" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/ShareDelete.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/ShareDelete.json new file mode 100644 index 000000000000..666e4f865f84 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/ShareDelete.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "name": "smbshare", + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://foo.com/ShareDelete" + } + }, + "204": {} + }, + "operationId": "Shares_Delete", + "title": "ShareDelete" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/ShareGet.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/ShareGet.json new file mode 100644 index 000000000000..c44fe39000f5 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/ShareGet.json @@ -0,0 +1,47 @@ +{ + "parameters": { + "name": "smbshare", + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": { + "body": { + "name": "smbshare", + "type": "dataBoxEdgeDevices/shares", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/shares/smbshare", + "properties": { + "description": "", + "accessProtocol": "SMB", + "azureContainerInfo": { + "containerName": "testContainerSMB", + "dataFormat": "BlockBlob", + "storageAccountCredentialId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccountCredentials/sac1" + }, + "clientAccessRights": [], + "dataPolicy": "Cloud", + "monitoringStatus": "Disabled", + "refreshDetails": {}, + "shareMappings": [], + "shareStatus": "Online", + "userAccessRights": [ + { + "accessType": "Change", + "userId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/users/user2" + } + ] + } + } + } + }, + "operationId": "Shares_Get", + "title": "ShareGet" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/ShareGetAllInDevice.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/ShareGetAllInDevice.json new file mode 100644 index 000000000000..14613ea2728c --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/ShareGetAllInDevice.json @@ -0,0 +1,50 @@ +{ + "parameters": { + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "smbshare", + "type": "dataBoxEdgeDevices/shares", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/shares/smbshare", + "properties": { + "description": "", + "accessProtocol": "SMB", + "azureContainerInfo": { + "containerName": "testContainerSMB", + "dataFormat": "BlockBlob", + "storageAccountCredentialId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccountCredentials/sac1" + }, + "clientAccessRights": [], + "dataPolicy": "Cloud", + "monitoringStatus": "Disabled", + "refreshDetails": {}, + "shareMappings": [], + "shareStatus": "Online", + "userAccessRights": [ + { + "accessType": "Change", + "userId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/users/user2" + } + ] + } + } + ] + } + } + }, + "operationId": "Shares_ListByDataBoxEdgeDevice", + "title": "ShareGetAllInDevice" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/SharePut.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/SharePut.json new file mode 100644 index 000000000000..7068f80460d1 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/SharePut.json @@ -0,0 +1,74 @@ +{ + "parameters": { + "name": "smbshare", + "Content-Length": [ + "200" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "share": { + "properties": { + "description": "", + "accessProtocol": "SMB", + "azureContainerInfo": { + "containerName": "testContainerSMB", + "dataFormat": "BlockBlob", + "storageAccountCredentialId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccountCredentials/sac1" + }, + "dataPolicy": "Cloud", + "monitoringStatus": "Enabled", + "shareStatus": "Online", + "userAccessRights": [ + { + "accessType": "Change", + "userId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/users/user2" + } + ] + } + }, + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": { + "body": { + "name": "smbshare", + "type": "dataBoxEdgeDevices/shares", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/shares/smbshare", + "properties": { + "description": "", + "accessProtocol": "SMB", + "azureContainerInfo": { + "containerName": "testContainerSMB", + "dataFormat": "BlockBlob", + "storageAccountCredentialId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccountCredentials/sac1" + }, + "clientAccessRights": [], + "dataPolicy": "Cloud", + "monitoringStatus": "Disabled", + "refreshDetails": {}, + "shareMappings": [], + "shareStatus": "Online", + "userAccessRights": [ + { + "accessType": "Change", + "userId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/users/user2" + } + ] + } + } + }, + "202": {} + }, + "operationId": "Shares_CreateOrUpdate", + "title": "SharePut" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/ShareRefreshPost.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/ShareRefreshPost.json new file mode 100644 index 000000000000..4e1bf0d7514d --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/ShareRefreshPost.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "name": "smbshare", + "Content-Length": [ + "200" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://foo.com/ShareRefreshPost" + } + } + }, + "operationId": "Shares_Refresh", + "title": "ShareRefreshPost" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/StorageAccountDelete.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/StorageAccountDelete.json new file mode 100644 index 000000000000..d3bdc2b2f3df --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/StorageAccountDelete.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "storageAccountName": "storageaccount1", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "202": { + "headers": { + "location": "https://foo.com/StorageAccountDelete" + } + }, + "204": {} + }, + "operationId": "StorageAccounts_Delete", + "title": "StorageAccountDelete" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/StorageAccountGet.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/StorageAccountGet.json new file mode 100644 index 000000000000..54f8bd8d9d3b --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/StorageAccountGet.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "storageAccountName": "blobstorageaccount1", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" + }, + "responses": { + "200": { + "body": { + "name": "blobstorageaccount1", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccounts", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForDataBoxEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccounts/blobstorageaccount1", + "properties": { + "description": "It's an awesome storage account", + "blobEndpoint": "https://blobstorageaccount1.blob.testedge.microsoftdatabox.com/", + "containerCount": 0, + "dataPolicy": "Cloud", + "storageAccountCredentialId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForDataBoxEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccountCredentials/cisbvt", + "storageAccountStatus": "OK" + } + } + } + }, + "operationId": "StorageAccounts_Get", + "title": "StorageAccountGet" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/StorageAccountGetAllInDevice.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/StorageAccountGetAllInDevice.json new file mode 100644 index 000000000000..e4f6de5450f0 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/StorageAccountGetAllInDevice.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "blobstorageaccount1", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccounts", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForDataBoxEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccounts/blobstorageaccount1", + "properties": { + "description": "It's an awesome storage account", + "blobEndpoint": "https://blobstorageaccount1.blob.testedge.microsoftdatabox.com/", + "containerCount": 0, + "dataPolicy": "Cloud", + "storageAccountCredentialId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForDataBoxEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccountCredentials/cisbvt", + "storageAccountStatus": "OK" + } + } + ] + } + } + }, + "operationId": "StorageAccounts_ListByDataBoxEdgeDevice", + "title": "StorageAccountGetAllInDevice" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/StorageAccountPut.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/StorageAccountPut.json new file mode 100644 index 000000000000..c7761490f2d3 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/StorageAccountPut.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "Content-Length": [ + "200" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "storageAccount": { + "properties": { + "description": "It's an awesome storage account", + "dataPolicy": "Cloud", + "storageAccountCredentialId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForDataBoxEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccountCredentials/cisbvt", + "storageAccountStatus": "OK" + } + }, + "storageAccountName": "blobstorageaccount1", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": { + "body": { + "name": "blobstorageaccount1", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccounts", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForDataBoxEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccounts/blobstorageaccount1", + "properties": { + "description": "It's an awesome storage account", + "blobEndpoint": "https://blobstorageaccount1.blob.testedge.microsoftdatabox.com/", + "containerCount": 0, + "dataPolicy": "Cloud", + "storageAccountCredentialId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForDataBoxEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccountCredentials/cisbvt", + "storageAccountStatus": "OK" + } + } + }, + "202": {} + }, + "operationId": "StorageAccounts_CreateOrUpdate", + "title": "StorageAccountPut" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/TriggerDelete.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/TriggerDelete.json new file mode 100644 index 000000000000..4503405ed630 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/TriggerDelete.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "name": "trigger1", + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://foo.com/TriggerDelete" + } + }, + "204": {} + }, + "operationId": "Triggers_Delete", + "title": "TriggerDelete" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/TriggerGet.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/TriggerGet.json new file mode 100644 index 000000000000..d9d792add39c --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/TriggerGet.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "name": "trigger1", + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": { + "body": { + "name": "trigger1", + "type": "dataBoxEdgeDevices/triggers", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/triggers/trigger1", + "kind": "FileEvent", + "properties": { + "customContextTag": "CustomContextTags-1235346475", + "sinkInfo": { + "roleId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/roles/role1" + }, + "sourceInfo": { + "shareId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/shares/share1" + } + } + } + } + }, + "operationId": "Triggers_Get", + "title": "TriggerGet" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/TriggerGetAllInDevice.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/TriggerGetAllInDevice.json new file mode 100644 index 000000000000..ef9dc386b520 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/TriggerGetAllInDevice.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "trigger1", + "type": "dataBoxEdgeDevices/triggers", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/triggers/trigger1", + "kind": "FileEvent", + "properties": { + "customContextTag": "CustomContextTags-1235346475", + "sinkInfo": { + "roleId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/roles/role1" + }, + "sourceInfo": { + "shareId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/shares/share1" + } + } + } + ] + } + } + }, + "operationId": "Triggers_ListByDataBoxEdgeDevice", + "title": "TriggerGetAllInDevice" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/TriggerPut.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/TriggerPut.json new file mode 100644 index 000000000000..968dcf8c2eff --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/TriggerPut.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "name": "trigger1", + "Content-Length": [ + "200" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "trigger": { + "kind": "FileEvent", + "properties": { + "customContextTag": "CustomContextTags-1235346475", + "sinkInfo": { + "roleId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/roles/role1" + }, + "sourceInfo": { + "shareId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/shares/share1" + } + } + }, + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": { + "body": { + "name": "trigger1", + "type": "dataBoxEdgeDevices/triggers", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/triggers/trigger1", + "kind": "FileEvent", + "properties": { + "customContextTag": "CustomContextTags-1235346475", + "sinkInfo": { + "roleId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/roles/role1" + }, + "sourceInfo": { + "shareId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/shares/share1" + } + } + } + }, + "202": {} + }, + "operationId": "Triggers_CreateOrUpdate", + "title": "TriggerPut" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/TriggerSupportPackage.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/TriggerSupportPackage.json new file mode 100644 index 000000000000..6ee5db6d3aff --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/TriggerSupportPackage.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "name": "159a00c7-8543-4343-9435-263ac87df3bb", + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "triggerSupportPackageRequest": { + "properties": { + "include": "DefaultWithDumps", + "maximumTimeStamp": "2018-12-18T02:19:51.4270267Z", + "minimumTimeStamp": "2018-12-18T02:18:51.4270267Z" + } + }, + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://foo.com/TriggerSupportPackage" + } + } + }, + "operationId": "SupportPackages_TriggerSupportPackage", + "title": "TriggerSupportPackage" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/UpdateDiagnosticProactiveLogCollectionSettings.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/UpdateDiagnosticProactiveLogCollectionSettings.json new file mode 100644 index 000000000000..78b4e6808e84 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/UpdateDiagnosticProactiveLogCollectionSettings.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "name": "159a00c7-8543-4343-9435-263ac87df3bb", + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "proactiveLogCollectionSettings": { + "properties": { + "userConsent": "Enabled" + } + }, + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/diagnosticSettings", + "id": "/subscriptions/0d44739e-0563-474f-97e7-24a0cdb23b29/resourceGroups/GroupForDataBoxEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/dbe-autobot-5428209/diagnosticProactiveLogCollectionSettings/default", + "properties": { + "userConsent": "Disabled" + } + } + }, + "202": {} + }, + "operationId": "DiagnosticSettings_UpdateDiagnosticProactiveLogCollectionSettings", + "title": "UpdateDiagnosticProactiveLogCollectionSettings" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/UpdateDiagnosticRemoteSupportSettings.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/UpdateDiagnosticRemoteSupportSettings.json new file mode 100644 index 000000000000..ff3ce35e00a5 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/UpdateDiagnosticRemoteSupportSettings.json @@ -0,0 +1,47 @@ +{ + "parameters": { + "name": "159a00c7-8543-4343-9435-263ac87df3bb", + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "diagnosticRemoteSupportSettings": { + "properties": { + "remoteSupportSettingsList": [ + { + "accessLevel": "ReadWrite", + "expirationTimeStampInUTC": "2021-07-07T00:00:00+00:00", + "remoteApplicationType": "Powershell" + } + ] + } + }, + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/diagnosticSettings", + "id": "/subscriptions/0d44739e-0563-474f-97e7-24a0cdb23b29/resourceGroups/GroupForDataBoxEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/dbe-autobot-154c8a4/diagnosticRemoteSupportSettings/default", + "properties": { + "remoteSupportSettingsList": [ + { + "accessLevel": "ReadWrite", + "expirationTimeStampInUTC": "2500-09-14T00:00:00+00:00", + "remoteApplicationType": "Powershell" + } + ] + } + } + }, + "202": {} + }, + "operationId": "DiagnosticSettings_UpdateDiagnosticRemoteSupportSettings", + "title": "UpdateDiagnosticRemoteSupportSettings" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/UpdateSummaryGet.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/UpdateSummaryGet.json new file mode 100644 index 000000000000..b5d391b61270 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/UpdateSummaryGet.json @@ -0,0 +1,47 @@ +{ + "parameters": { + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "parameters": { + "properties": { + "certificate": "MIIC9DCCAdygAwIBAgIQWJae7GNjiI9Mcv/gJyrOPTANBgkqhkiG9w0BAQUFADASMRAwDgYDVQQDDAdXaW5kb3dzMB4XDTE4MTEyNzAwMTA0NVoXDTIxMTEyODAwMTA0NVowEjEQMA4GA1UEAwwHV2luZG93czCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKxkRExqxf0qH1avnyORptIbRC2yQwqe3EIbJ2FPKr5jtAppGeX/dGKrFSnX+7/0HFr77aJHafdpEAtOiLyJ4zCAVs0obZCCIq4qJdmjYUTU0UXH/w/YzXfQA0d9Zh9AN+NJBX9xj05NzgsT24fkgsK2v6mWJQXT7YcWAsl5sEYPnx1e+MrupNyVSL/RUJmrS+etJSysHtFeWRhsUhVAs1DD5ExJvBLU3WH0IsojEvpXcjrutB5/MDQNrd/StGI6WovoSSPH7FyT9tgERx+q+Yg3YUGzfaIPCctlrRGehcdtzdNoKd0rsX62yCq0U6POoSfwe22NJu41oAUMd7e6R8cCAwEAAaNGMEQwEwYDVR0lBAwwCgYIKwYBBQUHAwIwHQYDVR0OBBYEFDd0VxnS3LnMIfwc7xW4b4IZWG5GMA4GA1UdDwEB/wQEAwIFIDANBgkqhkiG9w0BAQUFAAOCAQEAPQRby2u9celvtvL/DLEb5Vt3/tPStRQC5MyTD62L5RT/q8E6EMCXVZNkXF5WlWucLJi/18tY+9PNgP9xWLJh7kpSWlWdi9KPtwMqKDlEH8L2TnQdjimt9XuiCrTnoFy/1X2BGLY/rCaUJNSd15QCkz2xeW+Z+YSk2GwAc/A/4YfNpqSIMfNuPrT76o02VdD9WmJUA3fS/HY0sU9qgQRS/3F5/0EPS+HYQ0SvXCK9tggcCd4O050ytNBMJC9qMOJ7yE0iOrFfOJSCfDAuPhn/rHFh79Kn1moF+/CE+nc0/2RPiLC8r54/rt5dYyyxJDfXg0a3VrrX39W69WZGW5OXiw==" + } + }, + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/updateSummary", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/updateSummary/default", + "properties": { + "deviceLastScannedDateTime": "2021-03-17T19:51:51.7864634Z", + "deviceVersionNumber": "2.1.1377.2170", + "friendlyDeviceVersionName": "Azure Stack Edge 2010", + "lastCompletedScanJobDateTime": "2021-03-17T19:47:46.1595547Z", + "lastDownloadJobStatus": "Invalid", + "lastInstallJobStatus": "Invalid", + "ongoingUpdateOperation": "Install", + "rebootBehavior": "NeverReboots", + "totalNumberOfUpdatesAvailable": 1, + "totalNumberOfUpdatesPendingDownload": 1, + "totalNumberOfUpdatesPendingInstall": 1, + "totalUpdateSizeInBytes": 4260898192, + "updateTitles": [ + "Azure Stack Edge Update 2101 Package 1 of 2 for Pro-GPU, Pro R, Mini R" + ] + } + } + } + }, + "operationId": "Devices_GetUpdateSummary", + "title": "UpdateSummaryGet" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/UploadCertificatePost.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/UploadCertificatePost.json new file mode 100644 index 000000000000..b05bf4f4b13f --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/UploadCertificatePost.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "Content-Length": [ + "200" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "parameters": { + "properties": { + "certificate": "MIIC9DCCAdygAwIBAgIQWJae7GNjiI9Mcv/gJyrOPTANBgkqhkiG9w0BAQUFADASMRAwDgYDVQQDDAdXaW5kb3dzMB4XDTE4MTEyNzAwMTA0NVoXDTIxMTEyODAwMTA0NVowEjEQMA4GA1UEAwwHV2luZG93czCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKxkRExqxf0qH1avnyORptIbRC2yQwqe3EIbJ2FPKr5jtAppGeX/dGKrFSnX+7/0HFr77aJHafdpEAtOiLyJ4zCAVs0obZCCIq4qJdmjYUTU0UXH/w/YzXfQA0d9Zh9AN+NJBX9xj05NzgsT24fkgsK2v6mWJQXT7YcWAsl5sEYPnx1e+MrupNyVSL/RUJmrS+etJSysHtFeWRhsUhVAs1DD5ExJvBLU3WH0IsojEvpXcjrutB5/MDQNrd/StGI6WovoSSPH7FyT9tgERx+q+Yg3YUGzfaIPCctlrRGehcdtzdNoKd0rsX62yCq0U6POoSfwe22NJu41oAUMd7e6R8cCAwEAAaNGMEQwEwYDVR0lBAwwCgYIKwYBBQUHAwIwHQYDVR0OBBYEFDd0VxnS3LnMIfwc7xW4b4IZWG5GMA4GA1UdDwEB/wQEAwIFIDANBgkqhkiG9w0BAQUFAAOCAQEAPQRby2u9celvtvL/DLEb5Vt3/tPStRQC5MyTD62L5RT/q8E6EMCXVZNkXF5WlWucLJi/18tY+9PNgP9xWLJh7kpSWlWdi9KPtwMqKDlEH8L2TnQdjimt9XuiCrTnoFy/1X2BGLY/rCaUJNSd15QCkz2xeW+Z+YSk2GwAc/A/4YfNpqSIMfNuPrT76o02VdD9WmJUA3fS/HY0sU9qgQRS/3F5/0EPS+HYQ0SvXCK9tggcCd4O050ytNBMJC9qMOJ7yE0iOrFfOJSCfDAuPhn/rHFh79Kn1moF+/CE+nc0/2RPiLC8r54/rt5dYyyxJDfXg0a3VrrX39W69WZGW5OXiw==" + } + }, + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": { + "body": { + "aadAuthority": "https://login.windows.net", + "aadTenantId": "100b019d-4626-4a9e-a83c-9cff8fe41909", + "authType": "AzureActiveDirectory", + "azureManagementEndpointAudience": "https://wus-bvtgateway.ext.trafficmanager.net/", + "resourceId": "392799901267771", + "servicePrincipalClientId": "ffd8a688-82b1-4e5a-a4c1-7ede8c928e68", + "servicePrincipalObjectId": "cef6d40c-24e6-4a6f-bb9e-3ec60b4adec4" + } + } + }, + "operationId": "Devices_UploadCertificate", + "title": "UploadCertificatePost" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/UserDelete.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/UserDelete.json new file mode 100644 index 000000000000..6acef61f0f8e --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/UserDelete.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "name": "user1", + "Content-Length": [ + "200" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://foo.com/UserDelete" + } + }, + "204": {} + }, + "operationId": "Users_Delete", + "title": "UserDelete" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/UserGet.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/UserGet.json new file mode 100644 index 000000000000..5f5254efb6de --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/UserGet.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "name": "user1", + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": { + "202": {}, + "body": { + "name": "user1", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/users", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/users/user1", + "properties": { + "userType": "Share" + } + } + } + }, + "operationId": "Users_Get", + "title": "UserGet" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/UserGetAllInDevice.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/UserGetAllInDevice.json new file mode 100644 index 000000000000..b3032471d4c3 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/UserGetAllInDevice.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "user2", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/users", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/users/user2", + "properties": { + "userType": "Share" + } + }, + { + "name": "user1", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/users", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/users/user1", + "properties": { + "userType": "Share" + } + } + ] + } + } + }, + "operationId": "Users_ListByDataBoxEdgeDevice", + "title": "UserGetAllInDevice" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/UserPut.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/UserPut.json new file mode 100644 index 000000000000..084d0aa12d2c --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/UserPut.json @@ -0,0 +1,46 @@ +{ + "parameters": { + "name": "user1", + "Content-Length": [ + "200" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "user": { + "properties": { + "encryptedPassword": { + "encryptionAlgorithm": "None", + "encryptionCertThumbprint": "blah", + "value": "" + }, + "userType": "Share" + } + }, + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": { + "body": { + "name": "user1", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/users", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/users/user1", + "properties": { + "userType": "Share" + } + } + }, + "202": {} + }, + "operationId": "Users_CreateOrUpdate", + "title": "UserPut" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/main.tsp b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/main.tsp new file mode 100644 index 000000000000..284ef2c9cd08 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/main.tsp @@ -0,0 +1,65 @@ +/** + * PLEASE DO NOT REMOVE - USED FOR CONVERTER METRICS + * Generated by package: @autorest/openapi-to-typespec + * Parameters used: + * isFullCompatible: true + * guessResourceKey: false + * Version: 0.11.9 + * Date: 2025-08-26T03:58:42.369Z + */ +import "@typespec/rest"; +import "@typespec/versioning"; +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "./models.tsp"; +import "./back-compatible.tsp"; +import "./DataBoxEdgeDevice.tsp"; +import "./NetworkSettings.tsp"; +import "./UpdateSummary.tsp"; +import "./Alert.tsp"; +import "./BandwidthSchedule.tsp"; +import "./DeviceCapacityInfo.tsp"; +import "./DiagnosticProactiveLogCollectionSettings.tsp"; +import "./DiagnosticRemoteSupportSettings.tsp"; +import "./Job.tsp"; +import "./Order.tsp"; +import "./Role.tsp"; +import "./Addon.tsp"; +import "./MonitoringMetricConfiguration.tsp"; +import "./Share.tsp"; +import "./StorageAccountCredential.tsp"; +import "./StorageAccount.tsp"; +import "./Container.tsp"; +import "./Trigger.tsp"; +import "./User.tsp"; +import "./routes.tsp"; + +using TypeSpec.Rest; +using TypeSpec.Http; +using Azure.ResourceManager.Foundations; +using Azure.Core; +using Azure.ResourceManager; +using TypeSpec.Versioning; +@armProviderNamespace +@service(#{ title: "DataBoxEdgeManagementClient" }) +@versioned(Versions) +// FIXME: Common type version v2 is not supported for now. Set to v3. +@armCommonTypesVersion(Azure.ResourceManager.CommonTypes.Versions.v3) +namespace Microsoft.DataBoxEdge; + +/** + * The available API versions. + */ +enum Versions { + /** + * The 2023-12-01 API version. + */ + v2023_12_01: "2023-12-01", +} + +interface Operations + extends Azure.ResourceManager.Legacy.Operations< + OperationsList, + Error = CloudError + > {} +@@summary(Operations.list, "List all the supported operations."); diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/models.tsp b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/models.tsp new file mode 100644 index 000000000000..39cd0ca16e06 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/models.tsp @@ -0,0 +1,4624 @@ +import "@typespec/rest"; +import "@typespec/http"; +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; + +using TypeSpec.Rest; +using TypeSpec.Http; +using Azure.ResourceManager; +using Azure.ResourceManager.Foundations; + +namespace Microsoft.DataBoxEdge; + +/** + * Metric units. + */ +union MetricUnit { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + NotSpecified: "NotSpecified", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Percent: "Percent", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Count: "Count", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Seconds: "Seconds", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Milliseconds: "Milliseconds", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Bytes: "Bytes", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + BytesPerSecond: "BytesPerSecond", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + CountPerSecond: "CountPerSecond", +} + +/** + * Metric aggregation type. + */ +union MetricAggregationType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + NotSpecified: "NotSpecified", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + None: "None", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Average: "Average", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Minimum: "Minimum", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Maximum: "Maximum", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Total: "Total", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Count: "Count", +} + +/** + * Metric category. + */ +union MetricCategory { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Capacity: "Capacity", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Transaction: "Transaction", +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +union TimeGrain { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + PT1M: "PT1M", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + PT5M: "PT5M", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + PT15M: "PT15M", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + PT30M: "PT30M", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + PT1H: "PT1H", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + PT6H: "PT6H", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + PT12H: "PT12H", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + PT1D: "PT1D", +} + +/** + * The Sku name. + */ +union SkuName { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Gateway: "Gateway", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Edge: "Edge", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + TEA_1Node: "TEA_1Node", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + TEA_1Node_UPS: "TEA_1Node_UPS", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + TEA_1Node_Heater: "TEA_1Node_Heater", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + TEA_1Node_UPS_Heater: "TEA_1Node_UPS_Heater", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + TEA_4Node_Heater: "TEA_4Node_Heater", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + TEA_4Node_UPS_Heater: "TEA_4Node_UPS_Heater", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + TMA: "TMA", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + TDC: "TDC", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + TCA_Small: "TCA_Small", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + GPU: "GPU", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + TCA_Large: "TCA_Large", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + EdgeP_Base: "EdgeP_Base", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + EdgeP_High: "EdgeP_High", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + EdgePR_Base: "EdgePR_Base", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + EdgePR_Base_UPS: "EdgePR_Base_UPS", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + EP2_64_1VPU_W: "EP2_64_1VPU_W", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + EP2_128_1T4_Mx1_W: "EP2_128_1T4_Mx1_W", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + EP2_256_2T4_W: "EP2_256_2T4_W", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + EdgeMR_Mini: "EdgeMR_Mini", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + RCA_Small: "RCA_Small", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + RCA_Large: "RCA_Large", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + RDC: "RDC", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Management: "Management", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + EP2_64_Mx1_W: "EP2_64_Mx1_W", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + EP2_128_GPU1_Mx1_W: "EP2_128_GPU1_Mx1_W", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + EP2_256_GPU2_Mx1: "EP2_256_GPU2_Mx1", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + EdgeMR_TCP: "EdgeMR_TCP", +} + +/** + * The Sku tier. + */ +union SkuTier { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Standard: "Standard", +} + +/** + * Sku can be signed up by customer or not. + */ +union SkuSignupOption { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + None: "None", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Available: "Available", +} + +/** + * Availability of the Sku as preview/stable. + */ +union SkuVersion { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Stable: "Stable", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Preview: "Preview", +} + +/** + * Links to the next set of results + */ +union SkuAvailability { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Available: "Available", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Unavailable: "Unavailable", +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +union ShipmentType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + NotApplicable: "NotApplicable", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ShippedToCustomer: "ShippedToCustomer", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + SelfPickup: "SelfPickup", +} + +/** + * Identity type + */ +union MsiIdentityType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + None: "None", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + SystemAssigned: "SystemAssigned", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + UserAssigned: "UserAssigned", +} + +/** + * The kind of the device. + */ +union DataBoxEdgeDeviceKind { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + AzureDataBoxGateway: "AzureDataBoxGateway", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + AzureStackEdge: "AzureStackEdge", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + AzureStackHub: "AzureStackHub", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + AzureModularDataCentre: "AzureModularDataCentre", +} + +/** + * The type of identity that created the resource. + */ +union CreatedByType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + User: "User", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Application: "Application", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ManagedIdentity: "ManagedIdentity", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Key: "Key", +} + +/** + * The status of the Data Box Edge/Gateway device. + */ +union DataBoxEdgeDeviceStatus { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ReadyToSetup: "ReadyToSetup", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Online: "Online", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Offline: "Offline", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + NeedsAttention: "NeedsAttention", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Disconnected: "Disconnected", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + PartiallyDisconnected: "PartiallyDisconnected", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Maintenance: "Maintenance", +} + +/** + * The type of the Data Box Edge/Gateway device. + */ +union DeviceType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + DataBoxEdgeDevice: "DataBoxEdgeDevice", +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@OpenAPI.extension("x-ms-identifiers", #[]) +union RoleTypes { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + IOT: "IOT", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ASA: "ASA", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Functions: "Functions", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Cognitive: "Cognitive", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + MEC: "MEC", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + CloudEdgeManagement: "CloudEdgeManagement", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Kubernetes: "Kubernetes", +} + +/** + * Denotes whether move operation is in progress + */ +union ResourceMoveStatus { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + None: "None", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ResourceMoveInProgress: "ResourceMoveInProgress", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ResourceMoveFailed: "ResourceMoveFailed", +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +union SubscriptionState { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Registered: "Registered", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Warned: "Warned", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Suspended: "Suspended", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Deleted: "Deleted", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Unregistered: "Unregistered", +} + +/** + * DataResidencyType enum + */ +union DataResidencyType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + GeoZoneReplication: "GeoZoneReplication", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ZoneReplication: "ZoneReplication", +} + +/** + * Severity of the alert. + */ +union AlertSeverity { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Informational: "Informational", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Warning: "Warning", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Critical: "Critical", +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@OpenAPI.extension("x-ms-identifiers", #[]) +union DayOfWeek { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Sunday: "Sunday", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Monday: "Monday", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Tuesday: "Tuesday", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Wednesday: "Wednesday", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Thursday: "Thursday", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Friday: "Friday", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Saturday: "Saturday", +} + +/** + * Proactive diagnostic collection consent flag + */ +union ProactiveDiagnosticsConsent { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Enabled: "Enabled", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Disabled: "Disabled", +} + +/** + * Remote application type + */ +union RemoteApplicationType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Powershell: "Powershell", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + WAC: "WAC", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + LocalUI: "LocalUI", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + AllApplications: "AllApplications", +} + +/** + * Access level allowed for this remote application type + */ +union AccessLevel { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + None: "None", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ReadOnly: "ReadOnly", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ReadWrite: "ReadWrite", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + FullAccess: "FullAccess", +} + +/** + * For changing or to initiate the resync to key-vault set the status to KeyVaultSyncPending, rest of the status will not be applicable. + */ +union KeyVaultSyncStatus { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + KeyVaultSynced: "KeyVaultSynced", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + KeyVaultSyncFailed: "KeyVaultSyncFailed", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + KeyVaultNotConfigured: "KeyVaultNotConfigured", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + KeyVaultSyncPending: "KeyVaultSyncPending", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + KeyVaultSyncing: "KeyVaultSyncing", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + KeyVaultNotSynced: "KeyVaultNotSynced", +} + +/** + * The algorithm used to encrypt "Value". + */ +union EncryptionAlgorithm { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + None: "None", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + AES256: "AES256", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + RSAES_PKCS1_v_1_5: "RSAES_PKCS1_v_1_5", +} + +/** + * Cluster Witness Type + */ +union ClusterWitnessType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + None: "None", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Cloud: "Cloud", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + FileShare: "FileShare", +} + +/** + * The current status of the job. + */ +union JobStatus { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Invalid: "Invalid", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Running: "Running", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Succeeded: "Succeeded", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Failed: "Failed", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Canceled: "Canceled", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Paused: "Paused", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Scheduled: "Scheduled", +} + +/** + * The type of the job. + */ +union JobType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Invalid: "Invalid", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ScanForUpdates: "ScanForUpdates", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + DownloadUpdates: "DownloadUpdates", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + InstallUpdates: "InstallUpdates", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + RefreshShare: "RefreshShare", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + RefreshContainer: "RefreshContainer", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Backup: "Backup", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Restore: "Restore", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + TriggerSupportPackage: "TriggerSupportPackage", +} + +/** + * Current stage of the update operation. + */ +union UpdateOperationStage { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Unknown: "Unknown", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Initial: "Initial", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ScanStarted: "ScanStarted", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ScanComplete: "ScanComplete", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ScanFailed: "ScanFailed", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + DownloadStarted: "DownloadStarted", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + DownloadComplete: "DownloadComplete", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + DownloadFailed: "DownloadFailed", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + InstallStarted: "InstallStarted", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + InstallComplete: "InstallComplete", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + InstallFailed: "InstallFailed", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + RebootInitiated: "RebootInitiated", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Success: "Success", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Failure: "Failure", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + RescanStarted: "RescanStarted", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + RescanComplete: "RescanComplete", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + RescanFailed: "RescanFailed", +} + +/** + * The download phase. + */ +union DownloadPhase { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Unknown: "Unknown", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Initializing: "Initializing", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Downloading: "Downloading", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Verifying: "Verifying", +} + +/** + * The network group. + */ +union NetworkGroup { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + None: "None", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + NonRDMA: "NonRDMA", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + RDMA: "RDMA", +} + +/** + * Value indicating whether this adapter is valid. + */ +union NetworkAdapterStatus { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Inactive: "Inactive", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Active: "Active", +} + +/** + * Value indicating whether this adapter is RDMA capable. + */ +union NetworkAdapterRDMAStatus { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Incapable: "Incapable", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Capable: "Capable", +} + +/** + * Value indicating whether this adapter has DHCP enabled. + */ +union NetworkAdapterDHCPStatus { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Disabled: "Disabled", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Enabled: "Enabled", +} + +/** + * The current status of the individual node + */ +union NodeStatus { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Unknown: "Unknown", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Up: "Up", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Down: "Down", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Rebooting: "Rebooting", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ShuttingDown: "ShuttingDown", +} + +/** + * Status of the order as per the allowed status types. + */ +union OrderState { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Untracked: "Untracked", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + AwaitingFulfillment: "AwaitingFulfillment", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + AwaitingPreparation: "AwaitingPreparation", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + AwaitingShipment: "AwaitingShipment", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Shipped: "Shipped", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Arriving: "Arriving", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Delivered: "Delivered", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ReplacementRequested: "ReplacementRequested", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + LostDevice: "LostDevice", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Declined: "Declined", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ReturnInitiated: "ReturnInitiated", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + AwaitingReturnShipment: "AwaitingReturnShipment", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ShippedBack: "ShippedBack", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + CollectedAtMicrosoft: "CollectedAtMicrosoft", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + AwaitingPickup: "AwaitingPickup", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + PickupCompleted: "PickupCompleted", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + AwaitingDrop: "AwaitingDrop", +} + +/** + * Addon type. + */ +union AddonType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + IotEdge: "IotEdge", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ArcForKubernetes: "ArcForKubernetes", +} + +/** + * Current status of the share. + */ +union ShareStatus { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Offline: "Offline", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Unknown: "Unknown", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + OK: "OK", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Updating: "Updating", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + NeedsAttention: "NeedsAttention", +} + +/** + * Current monitoring status of the share. + */ +union MonitoringStatus { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Enabled: "Enabled", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Disabled: "Disabled", +} + +/** + * Storage format used for the file represented by the share. + */ +union AzureContainerDataFormat { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + BlockBlob: "BlockBlob", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + PageBlob: "PageBlob", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + AzureFile: "AzureFile", +} + +/** + * Access protocol to be used by the share. + */ +union ShareAccessProtocol { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + SMB: "SMB", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + NFS: "NFS", +} + +/** + * Type of access to be allowed on the share for this user. + */ +union ShareAccessType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Change: "Change", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Read: "Read", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Custom: "Custom", +} + +/** + * Type of access to be allowed for the client. + */ +union ClientPermissionType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + NoAccess: "NoAccess", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ReadOnly: "ReadOnly", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ReadWrite: "ReadWrite", +} + +/** + * Mounting type. + */ +union MountType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Volume: "Volume", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + HostPath: "HostPath", +} + +/** + * Data policy of the share. + */ +union DataPolicy { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Cloud: "Cloud", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Local: "Local", +} + +/** + * Signifies whether SSL needs to be enabled or not. + */ +union SSLStatus { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Enabled: "Enabled", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Disabled: "Disabled", +} + +/** + * Type of storage accessed on the storage account. + */ +union AccountType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + GeneralPurposeStorage: "GeneralPurposeStorage", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + BlobStorage: "BlobStorage", +} + +/** + * Current status of the storage account + */ +union StorageAccountStatus { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + OK: "OK", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Offline: "Offline", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Unknown: "Unknown", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Updating: "Updating", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + NeedsAttention: "NeedsAttention", +} + +/** + * Current status of the container. + */ +union ContainerStatus { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + OK: "OK", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Offline: "Offline", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Unknown: "Unknown", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Updating: "Updating", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + NeedsAttention: "NeedsAttention", +} + +/** + * Trigger Kind. + */ +union TriggerEventType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + FileEvent: "FileEvent", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + PeriodicTimerEvent: "PeriodicTimerEvent", +} + +/** + * Indicates if updates are available and at least one of the updates needs a reboot. + */ +union InstallRebootBehavior { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + NeverReboots: "NeverReboots", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + RequiresReboot: "RequiresReboot", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + RequestReboot: "RequestReboot", +} + +/** + * The current update operation. + */ +union UpdateOperation { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + None: "None", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Scan: "Scan", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Download: "Download", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Install: "Install", +} + +/** + * Type of the Update + */ +union UpdateType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Software: "Software", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Kubernetes: "Kubernetes", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Firmware: "Firmware", +} + +/** + * Impact of Installing an updateType + */ +union InstallationImpact { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + None: "None", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + DeviceRebooted: "DeviceRebooted", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + KubernetesWorkloadsDown: "KubernetesWorkloadsDown", +} + +/** + * Status of the update. + */ +union UpdateStatus { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + DownloadPending: "DownloadPending", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + DownloadStarted: "DownloadStarted", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + DownloadCompleted: "DownloadCompleted", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + InstallStarted: "InstallStarted", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + InstallCompleted: "InstallCompleted", +} + +/** + * The authentication type. + */ +union AuthenticationType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Invalid: "Invalid", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + AzureActiveDirectory: "AzureActiveDirectory", +} + +/** + * Type of the user. + */ +union UserType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Share: "Share", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + LocalManagement: "LocalManagement", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ARM: "ARM", +} + +/** + * Host OS supported by the Arc addon. + */ +union PlatformType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Windows: "Windows", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Linux: "Linux", +} + +/** + * Platform where the runtime is hosted. + */ +union HostPlatformType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + KubernetesCluster: "KubernetesCluster", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + LinuxVM: "LinuxVM", +} + +/** + * Addon Provisioning State + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +union AddonState { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Invalid: "Invalid", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Creating: "Creating", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Created: "Created", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Updating: "Updating", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Reconfiguring: "Reconfiguring", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Failed: "Failed", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Deleting: "Deleting", +} + +/** + * Local Edge Management Status + */ +union RoleStatus { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Enabled: "Enabled", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Disabled: "Disabled", +} + +/** + * Node type - Master/Worker + */ +union KubernetesNodeType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Invalid: "Invalid", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Master: "Master", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Worker: "Worker", +} + +/** + * State of Kubernetes deployment + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +union KubernetesState { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Invalid: "Invalid", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Creating: "Creating", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Created: "Created", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Updating: "Updating", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Reconfiguring: "Reconfiguring", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Failed: "Failed", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Deleting: "Deleting", +} + +/** + * If provisioned storage is posix compliant. + */ +union PosixComplianceStatus { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Invalid: "Invalid", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Enabled: "Enabled", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Disabled: "Disabled", +} + +/** + * Operations. + */ +model Operation { + /** + * Name of the operation. + */ + name?: string; + + /** + * Is data action. + */ + isDataAction?: boolean; + + /** + * Properties displayed for the operation. + */ + display?: OperationDisplay; + + /** + * Origin of the operation. + */ + origin?: string; + + /** + * Operation properties. + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties?: OperationProperties; +} + +/** + * Operation display properties. + */ +model OperationDisplay { + /** + * Provider name. + */ + provider?: string; + + /** + * The type of resource in which the operation is performed. + */ + resource?: string; + + /** + * Operation to be performed on the resource. + */ + operation?: string; + + /** + * Description of the operation to be performed. + */ + description?: string; +} + +/** + * Operation properties. + */ +model OperationProperties { + /** + * Service specification. + */ + serviceSpecification?: ServiceSpecification; +} + +/** + * Service specification. + */ +model ServiceSpecification { + /** + * Metric specification as defined by shoebox. + */ + @OpenAPI.extension("x-ms-identifiers", #["name"]) + metricSpecifications?: MetricSpecification_V1[]; +} + +/** + * Metric specification version 1. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model MetricSpecification_V1 { + /** + * Name of the metric. + */ + name?: string; + + /** + * Display name of the metric. + */ + displayName?: string; + + /** + * Description of the metric to be displayed. + */ + displayDescription?: string; + + /** + * Metric units. + */ + unit?: MetricUnit; + + /** + * Metric aggregation type. + */ + aggregationType?: MetricAggregationType; + + /** + * Metric dimensions, other than default dimension which is resource. + */ + @OpenAPI.extension("x-ms-identifiers", #["name"]) + dimensions?: MetricDimension_V1[]; + + /** + * Set true to fill the gaps with zero. + */ + fillGapWithZero?: boolean; + + /** + * Metric category. + */ + category?: MetricCategory; + + /** + * Resource name override. + */ + resourceIdDimensionNameOverride?: string; + + /** + * Support granularity of metrics. + */ + supportedTimeGrainTypes?: TimeGrain[]; + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + supportedAggregationTypes?: MetricAggregationType[]; +} + +/** + * Metric Dimension v1. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model MetricDimension_V1 { + /** + * Name of the metrics dimension. + */ + name?: string; + + /** + * Display name of the metrics dimension. + */ + displayName?: string; + + /** + * To be exported to shoe box. + */ + toBeExportedForShoebox?: boolean; +} + +/** + * An error response from the service. + */ +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@error +@Azure.ResourceManager.Legacy.armExternalType +model CloudError { + /** + * The error details. + */ + error?: CloudErrorBody; +} + +/** + * An error response from the service. + */ +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@Azure.ResourceManager.Legacy.armExternalType +model CloudErrorBody { + /** + * An identifier for the error. Codes are invariant and are intended to be consumed programmatically. + */ + code?: string; + + /** + * A message describing the error, intended to be suitable for display in a user interface. + */ + message?: string; + + /** + * A list of additional details about the error. + */ + @OpenAPI.extension("x-ms-identifiers", #[]) + details?: CloudErrorBody[]; +} + +/** + * List of SKU Information objects. + */ +model DataBoxEdgeSkuList is Azure.Core.Page; + +/** + * The Sku information. + */ +model DataBoxEdgeSku { + /** + * The type of the resource. + */ + @visibility(Lifecycle.Read) + resourceType?: string; + + /** + * The Sku name. + */ + @visibility(Lifecycle.Read) + name?: SkuName; + + /** + * The Sku kind. + */ + @visibility(Lifecycle.Read) + kind?: string; + + /** + * The Sku tier. + */ + @visibility(Lifecycle.Read) + tier?: SkuTier; + + /** + * The Sku kind. + */ + @visibility(Lifecycle.Read) + size?: string; + + /** + * The Sku family. + */ + @visibility(Lifecycle.Read) + family?: string; + + /** + * Availability of the Sku for the region. + */ + @visibility(Lifecycle.Read) + @OpenAPI.extension("x-ms-identifiers", #[]) + locations?: string[]; + + /** + * The API versions in which Sku is available. + */ + @visibility(Lifecycle.Read) + @OpenAPI.extension("x-ms-identifiers", #[]) + apiVersions?: string[]; + + /** + * Availability of the Sku for the location/zone/site. + */ + @visibility(Lifecycle.Read) + @OpenAPI.extension("x-ms-identifiers", #["location"]) + locationInfo?: SkuLocationInfo[]; + + /** + * The pricing info of the Sku. + */ + @visibility(Lifecycle.Read) + @OpenAPI.extension("x-ms-identifiers", #["meterId"]) + costs?: SkuCost[]; + + /** + * Sku can be signed up by customer or not. + */ + @visibility(Lifecycle.Read) + signupOption?: SkuSignupOption; + + /** + * Availability of the Sku as preview/stable. + */ + @visibility(Lifecycle.Read) + version?: SkuVersion; + + /** + * Links to the next set of results + */ + @visibility(Lifecycle.Read) + availability?: SkuAvailability; + + /** + * List of Shipment Types supported by this SKU + */ + @visibility(Lifecycle.Read) + @OpenAPI.extension("x-ms-identifiers", #[]) + shipmentTypes?: ShipmentType[]; + + /** + * The capability info of the SKU. + */ + @visibility(Lifecycle.Read) + @OpenAPI.extension("x-ms-identifiers", #["name"]) + capabilities?: SkuCapability[]; +} + +/** + * The location info. + */ +model SkuLocationInfo { + /** + * The location. + */ + @visibility(Lifecycle.Read) + location?: string; + + /** + * The zones. + */ + @visibility(Lifecycle.Read) + @OpenAPI.extension("x-ms-identifiers", #[]) + zones?: string[]; + + /** + * The sites. + */ + @visibility(Lifecycle.Read) + @OpenAPI.extension("x-ms-identifiers", #[]) + sites?: string[]; +} + +/** + * The metadata for retrieving price info. + */ +model SkuCost { + /** + * Used for querying price from commerce. + */ + @visibility(Lifecycle.Read) + meterId?: string; + + /** + * The cost quantity. + */ + @visibility(Lifecycle.Read) + quantity?: int64; + + /** + * The extended unit. + */ + @visibility(Lifecycle.Read) + extendedUnit?: string; +} + +/** + * The metadata to describe the capability. + */ +model SkuCapability { + /** + * An invariant to describe the feature. + */ + @visibility(Lifecycle.Read) + name?: string; + + /** + * An invariant if the feature is measured by quantity. + */ + @visibility(Lifecycle.Read) + value?: string; +} + +/** + * The collection of Data Box Edge/Gateway devices. + */ +model DataBoxEdgeDeviceList is Azure.Core.Page; + +/** + * The SKU type. + */ +model Sku { + /** + * SKU name. + */ + name?: SkuName; + + /** + * The SKU tier. This is based on the SKU name. + */ + tier?: SkuTier; +} + +/** + * Msi identity details of the resource + */ +model ResourceIdentity { + /** + * Identity type + */ + type?: MsiIdentityType; + + /** + * Service Principal Id backing the Msi + */ + @visibility(Lifecycle.Read) + principalId?: string; + + /** + * Home Tenant Id + */ + @visibility(Lifecycle.Read) + tenantId?: string; +} + +/** + * The properties of the Data Box Edge/Gateway device. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-duplicate-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model DataBoxEdgeDeviceProperties { + /** + * DataBoxEdge Device Properties + */ + @visibility(Lifecycle.Read) + systemData?: SystemData; + + /** + * The status of the Data Box Edge/Gateway device. + */ + @visibility(Lifecycle.Read) + dataBoxEdgeDeviceStatus?: DataBoxEdgeDeviceStatus; + + /** + * The Serial Number of Data Box Edge/Gateway device. + */ + @visibility(Lifecycle.Read) + serialNumber?: string; + + /** + * The Description of the Data Box Edge/Gateway device. + */ + @visibility(Lifecycle.Read) + description?: string; + + /** + * The description of the Data Box Edge/Gateway device model. + */ + @visibility(Lifecycle.Read) + modelDescription?: string; + + /** + * The type of the Data Box Edge/Gateway device. + */ + @visibility(Lifecycle.Read) + deviceType?: DeviceType; + + /** + * The Data Box Edge/Gateway device name. + */ + @visibility(Lifecycle.Read) + friendlyName?: string; + + /** + * The Data Box Edge/Gateway device culture. + */ + @visibility(Lifecycle.Read) + culture?: string; + + /** + * The Data Box Edge/Gateway device model. + */ + @visibility(Lifecycle.Read) + deviceModel?: string; + + /** + * The Data Box Edge/Gateway device software version. + */ + @visibility(Lifecycle.Read) + deviceSoftwareVersion?: string; + + /** + * The Data Box Edge/Gateway device local capacity in MB. + */ + @visibility(Lifecycle.Read) + deviceLocalCapacity?: int64; + + /** + * The Data Box Edge/Gateway device timezone. + */ + @visibility(Lifecycle.Read) + timeZone?: string; + + /** + * The device software version number of the device (eg: 1.2.18105.6). + */ + @visibility(Lifecycle.Read) + deviceHcsVersion?: string; + + /** + * Type of compute roles configured. + */ + @visibility(Lifecycle.Read) + configuredRoleTypes?: RoleTypes[]; + + /** + * The number of nodes in the cluster. + */ + @visibility(Lifecycle.Read) + nodeCount?: int32; + + /** + * The details of the move operation on this resource. + */ + @visibility(Lifecycle.Read) + resourceMoveDetails?: ResourceMoveDetails; + + /** + * The details of Edge Profile for this resource + */ + @visibility(Lifecycle.Read) + edgeProfile?: EdgeProfile; + + /** + * The details of data-residency related properties for this resource + */ + dataResidency?: DataResidency; + + /** + * Kubernetes Workload Profile + */ + @visibility(Lifecycle.Read) + kubernetesWorkloadProfile?: string; +} + +/** + * Fields for tracking resource move + */ +model ResourceMoveDetails { + /** + * Denotes whether move operation is in progress + */ + operationInProgress?: ResourceMoveStatus; + + /** + * Denotes the timeout of the operation to finish + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + operationInProgressLockTimeoutInUTC?: utcDateTime; +} + +/** + * Details about Edge Profile for the resource + */ +model EdgeProfile { + /** + * Edge Profile Subscription + */ + subscription?: EdgeProfileSubscription; +} + +/** + * Subscription details for the Edge Profile + */ +model EdgeProfileSubscription { + /** + * Edge Subscription Registration ID + */ + registrationId?: string; + + /** + * ARM ID of the subscription + */ + id?: string; + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + state?: SubscriptionState; + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + registrationDate?: string; + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + subscriptionId?: string; + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties?: SubscriptionProperties; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model SubscriptionProperties { + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + tenantId?: string; + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + locationPlacementId?: string; + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + quotaId?: string; + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + serializedDetails?: string; + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @OpenAPI.extension("x-ms-identifiers", #["name"]) + registeredFeatures?: SubscriptionRegisteredFeatures[]; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model SubscriptionRegisteredFeatures { + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + name?: string; + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + state?: string; +} + +/** + * Wraps data-residency related information for edge-resource and this should be used with ARM layer. + */ +model DataResidency { + /** + * DataResidencyType enum + */ + type?: DataResidencyType; +} + +/** + * Represents the base class for all object models. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model ARMBaseModel { + /** + * The path ID that uniquely identifies the object. + */ + @visibility(Lifecycle.Read) + id?: string; + + /** + * The object name. + */ + @visibility(Lifecycle.Read) + name?: string; + + /** + * The hierarchical type of the object. + */ + @visibility(Lifecycle.Read) + type?: string; +} + +/** + * The Data Box Edge/Gateway device patch. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/patch-envelope" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model DataBoxEdgeDevicePatch { + /** + * The tags attached to the Data Box Edge/Gateway resource. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + tags?: Record; + + /** + * Msi identity of the resource + */ + identity?: ResourceIdentity; + + /** + * The properties associated with the Data Box Edge/Gateway resource + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties?: DataBoxEdgeDevicePropertiesPatch; +} + +/** + * The Data Box Edge/Gateway device properties patch. + */ +model DataBoxEdgeDevicePropertiesPatch { + /** + * Edge Profile property of the Data Box Edge/Gateway device + */ + edgeProfile?: EdgeProfilePatch; +} + +/** + * The Data Box Edge/Gateway Edge Profile patch. + */ +model EdgeProfilePatch { + /** + * The Data Box Edge/Gateway Edge Profile Subscription patch + */ + subscription?: EdgeProfileSubscriptionPatch; +} + +/** + * The Data Box Edge/Gateway Edge Profile Subscription patch. + */ +model EdgeProfileSubscriptionPatch { + /** + * The path ID that uniquely identifies the subscription of the edge profile. + */ + id?: string; +} + +/** + * Collection of alerts. + */ +model AlertList is Azure.Core.Page; + +/** + * Properties of alert. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model AlertProperties { + /** + * Alert title. + */ + @visibility(Lifecycle.Read) + title?: string; + + /** + * Alert type. + */ + @visibility(Lifecycle.Read) + alertType?: string; + + /** + * UTC time when the alert appeared. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + appearedAtDateTime?: utcDateTime; + + /** + * Alert recommendation. + */ + @visibility(Lifecycle.Read) + recommendation?: string; + + /** + * Severity of the alert. + */ + @visibility(Lifecycle.Read) + severity?: AlertSeverity; + + /** + * Error details of the alert. + */ + @visibility(Lifecycle.Read) + errorDetails?: AlertErrorDetails; + + /** + * Alert details. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read) + detailedInformation?: Record; +} + +/** + * Error details for the alert. + */ +model AlertErrorDetails { + /** + * Error code. + */ + @visibility(Lifecycle.Read) + errorCode?: string; + + /** + * Error Message. + */ + @visibility(Lifecycle.Read) + errorMessage?: string; + + /** + * Number of occurrences. + */ + @visibility(Lifecycle.Read) + occurrences?: int32; +} + +/** + * The collection of bandwidth schedules. + */ +model BandwidthSchedulesList is Azure.Core.Page; + +/** + * The properties of the bandwidth schedule. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model BandwidthScheduleProperties { + /** + * The start time of the schedule in UTC. + */ + start: string; + + /** + * The stop time of the schedule in UTC. + */ + stop: string; + + /** + * The bandwidth rate in Mbps. + */ + rateInMbps: int32; + + /** + * The days of the week when this schedule is applicable. + */ + days: DayOfWeek[]; +} + +/** + * Object for Capturing DeviceCapacityRequestInfo + */ +model DeviceCapacityRequestInfo { + /** + * The properties of the Device Capacity Request. + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties: DeviceCapacityRequestInfoProperties; +} + +/** + * Properties of Device Capacity Request Info containing VM's to be checked and their corresponding results. + */ +model DeviceCapacityRequestInfoProperties { + /** + * Array containing the sizes of the VMs for checking if its feasible to create them on the appliance. + */ + @OpenAPI.extension("x-ms-identifiers", #[]) + vmPlacementQuery: string[][]; + + /** + * Array of the VMs of the sizes in VmSizes can be provisioned on the appliance. + */ + @OpenAPI.extension("x-ms-identifiers", #[]) + vmPlacementResults?: VmPlacementRequestResult[]; +} + +/** + * List of VM sizes being checked for creation on appliance along with corresponding result. + */ +model VmPlacementRequestResult { + /** + * List of VM sizes being checked. + */ + vmSize?: string[]; + + /** + * Boolean value indicating if the VM(s) in VmSize can be created. + */ + isFeasible?: boolean; + + /** + * MessageCode indicating reason for success or failure. + */ + messageCode?: string; + + /** + * Localized message to be displayed to the user to explain the check result. + */ + message?: string; +} + +/** + * The properties of Device Capacity Info + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model DeviceCapacityInfoProperties { + /** + * Timestamp of request in UTC + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + timeStamp?: utcDateTime; + + /** + * Cluster capacity data for storage resources (CSV). + */ + clusterStorageCapacityInfo?: ClusterStorageViewData; + + /** + * Cluster capacity data for compute resources (Memory and GPU). + */ + clusterComputeCapacityInfo?: ClusterCapacityViewData; + + /** + * The dictionary of individual node names and node capacities in the cluster. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + nodeCapacityInfos?: Record; +} + +/** + * Cluster Storage Data. + */ +model ClusterStorageViewData { + /** + * Total storage on the cluster in MB. + */ + clusterTotalStorageMb?: float64; + + /** + * The available or free storage on the cluster in MB. + */ + clusterFreeStorageMb?: float64; +} + +/** + * Cluster Compute Data. + */ +model ClusterCapacityViewData { + /** + * The FQDN of the cluster. + */ + fqdn?: string; + + /** + * The cluster's GPU capacity. + */ + gpuCapacity?: ClusterGpuCapacity; + + /** + * The cluster's memory capacity. + */ + memoryCapacity?: ClusterMemoryCapacity; + + /** + * The last time at which the ClusterCapacityViewData was set. + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + lastRefreshedTime?: utcDateTime; + + /** + * The total # of vCPUs provisioned by non-HPN VM per appliance. + */ + totalProvisionedNonHpnCores?: int64; +} + +/** + * Cluster GPU Data. + */ +model ClusterGpuCapacity { + /** + * The cluster GPU Type. + */ + gpuType?: string; + + /** + * The used GPU units count in the cluster. + */ + gpuUsedUnitsCount?: int32; + + /** + * The free GPU units count in the cluster. + */ + gpuFreeUnitsCount?: int32; + + /** + * The GPU units count reserved for failover in the cluster. + */ + gpuReservedForFailoverUnitsCount?: int32; + + /** + * The total GPU units count in the cluster. + */ + gpuTotalUnitsCount?: int32; +} + +/** + * NodeCapacityInfo defines the required information to determine the placement of a VM. + */ +model ClusterMemoryCapacity { + /** + * The free memory in the cluster in MB. + */ + clusterFreeMemoryMb?: float64; + + /** + * The used memory in the cluster in MB. + */ + clusterUsedMemoryMb?: float64; + + /** + * The failover memory in the cluster in MB. + */ + clusterFailoverMemoryMb?: float64; + + /** + * The fragmentation memory in the cluster in MB. + */ + clusterFragmentationMemoryMb?: float64; + + /** + * The memory reserved for Hyper-V in the cluster in MB. + */ + clusterHypervReserveMemoryMb?: float64; + + /** + * The memory of the Infra VM in the cluster in MB. + */ + clusterInfraVmMemoryMb?: float64; + + /** + * The total memory in the cluster in MB. + */ + clusterTotalMemoryMb?: float64; + + /** + * The non-failover memory in the cluster in MB. + */ + clusterNonFailoverVmMb?: float64; + + /** + * The memory used by VMs in the cluster in MB. + */ + clusterMemoryUsedByVmsMb?: float64; +} + +/** + * Host Capacity Data. + */ +model HostCapacity { + /** + * The name of the host. + */ + hostName?: string; + + /** + * The available memory on the host accounting for VM placement size and any host VM reservations. + */ + effectiveAvailableMemoryMbOnHost?: int64; + + /** + * The available amount of GPUs on the host to use after accounting for GPUS used by reservations on the host. + */ + availableGpuCount?: int32; + + /** + * The VM used memory per VmId. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + vmUsedMemory?: Record; + + /** + * The GPU type of the VM. + */ + gpuType?: string; + + /** + * The numa nodes information for Hpn VMs. + */ + @OpenAPI.extension("x-ms-identifiers", #[]) + numaNodesData?: NumaNodeData[]; +} + +/** + * VmMemory Data. + */ +model VmMemory { + /** + * The total amount of RAM in the virtual machine, as seen by the guest operating system. For a virtual machine with dynamic memory enabled, this represents the initial memory available at startup. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + startupMemoryMB?: int64; + + /** + * The current memory used by the virtual machine. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + currentMemoryUsageMB?: int64; +} + +/** + * NUMA node data. + */ +model NumaNodeData { + /** + * The NUMA node index. + */ + numaNodeIndex?: int32; + + /** + * The total memory on the NUMA node. + */ + totalMemoryInMb?: int64; + + /** + * The logical cores per core count. + */ + logicalCoreCountPerCore?: int32; + + /** + * The effective available memory on the NUMA node in MB. + */ + effectiveAvailableMemoryInMb?: int64; + + /** + * The free VCPU indices for the Hpn VMs. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + freeVCpuIndexesForHpn?: int32[]; + + /** + * The VCPU indices for Hpn VMs + */ + vCpuIndexesForHpn?: int32[]; + + /** + * The VCPU indices for the root. + */ + vCpuIndexesForRoot?: int32[]; +} + +/** + * The properties of proactive log collection settings. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model ProactiveLogCollectionSettingsProperties { + /** + * Proactive diagnostic collection consent flag + */ + userConsent: ProactiveDiagnosticsConsent; +} + +/** + * The properties of remote support settings. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model DiagnosticRemoteSupportSettingsProperties { + /** + * Remote support settings list according to the RemoteApplicationType + */ + @OpenAPI.extension("x-ms-identifiers", #["remoteApplicationType"]) + remoteSupportSettingsList?: RemoteSupportSettings[]; +} + +/** + * RemoteApplicationType for which remote support settings is being modified + */ +model RemoteSupportSettings { + /** + * Remote application type + */ + remoteApplicationType?: RemoteApplicationType; + + /** + * Access level allowed for this remote application type + */ + accessLevel?: AccessLevel; + + /** + * Expiration time stamp + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + expirationTimeStampInUTC?: utcDateTime; +} + +/** + * Used in activation key generation flow. + */ +model GenerateCertResponse { + /** + * Gets or sets base64 encoded certificate raw data, + * this is the public part needed to be uploaded to cert vault + */ + publicKey?: string; + + /** + * Gets or sets base64 encoded private part of the certificate, + * needed to form the activation key + */ + @secret + privateKey?: string; + + /** + * Gets or sets expiry time in UTC + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + expiryTimeInUTC?: string; +} + +/** + * The extended Info of the Data Box Edge/Gateway device. + */ +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model DataBoxEdgeDeviceExtendedInfo extends ARMBaseModel { + /** + * The extended info properties. + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties?: DataBoxEdgeDeviceExtendedInfoProperties; + + /** + * Metadata pertaining to creation and last modification of DataBoxEdgeDevice + */ + @visibility(Lifecycle.Read) + systemData?: SystemData; +} + +/** + * The properties of the Data Box Edge/Gateway device extended info. + */ +model DataBoxEdgeDeviceExtendedInfoProperties { + /** + * The digital signature of encrypted certificate. + */ + encryptionKeyThumbprint?: string; + + /** + * The public part of the encryption certificate. Client uses this to encrypt any secret. + */ + encryptionKey?: string; + + /** + * The Resource ID of the Resource. + */ + @visibility(Lifecycle.Read) + resourceKey?: string; + + /** + * The Key Vault ARM Id for client secrets + */ + clientSecretStoreId?: string; + + /** + * The url to access the Client Key Vault + */ + clientSecretStoreUrl?: string; + + /** + * The name of Channel Integrity Key stored in the Client Key Vault + */ + channelIntegrityKeyName?: string; + + /** + * The version of Channel Integrity Key stored in the Client Key Vault + */ + channelIntegrityKeyVersion?: string; + + /** + * Key vault sync status + */ + keyVaultSyncStatus?: KeyVaultSyncStatus; + + /** + * Device secrets, will be returned only with ODataFilter $expand=deviceSecrets + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read) + deviceSecrets?: Record; + + /** + * Cluster Witness Type + */ + @visibility(Lifecycle.Read) + clusterWitnessType?: ClusterWitnessType; + + /** + * The witness location of file share. + */ + @visibility(Lifecycle.Read) + fileShareWitnessLocation?: string; + + /** + * The username of file share. + */ + @visibility(Lifecycle.Read) + fileShareWitnessUsername?: string; + + /** + * The Cloud Witness Storage account name. + */ + @visibility(Lifecycle.Read) + cloudWitnessStorageAccountName?: string; + + /** + * The Container for cloud witness in the storage account. + */ + @visibility(Lifecycle.Read) + cloudWitnessContainerName?: string; + + /** + * The Azure service endpoint of the cloud witness storage account. + */ + @visibility(Lifecycle.Read) + cloudWitnessStorageEndpoint?: string; +} + +/** + * Holds device secret either as a KeyVault reference or as an encrypted value. + */ +model Secret { + /** + * Encrypted (using device public key) secret value. + */ + encryptedSecret?: AsymmetricEncryptedSecret; + + /** + * Id of the Key-Vault where secret is stored (ex: secrets/AuthClientSecret/82ef4346187a4033a10d629cde07d740). + */ + keyVaultId?: string; +} + +/** + * Represent the secrets intended for encryption with asymmetric key pair. + */ +model AsymmetricEncryptedSecret { + /** + * The value of the secret. + */ + value: string; + + /** + * Thumbprint certificate used to encrypt \"Value\". If the value is unencrypted, it will be null. + */ + @secret + encryptionCertThumbprint?: string; + + /** + * The algorithm used to encrypt "Value". + */ + encryptionAlgorithm: EncryptionAlgorithm; +} + +/** + * The job error information containing the list of job errors. + */ +model JobErrorDetails { + /** + * The error details. + */ + @visibility(Lifecycle.Read) + @OpenAPI.extension("x-ms-identifiers", #[]) + errorDetails?: JobErrorItem[]; + + /** + * The code intended for programmatic access. + */ + @visibility(Lifecycle.Read) + code?: string; + + /** + * The message that describes the error in detail. + */ + @visibility(Lifecycle.Read) + message?: string; +} + +/** + * The job error items. + */ +model JobErrorItem { + /** + * The recommended actions. + */ + @visibility(Lifecycle.Read) + @OpenAPI.extension("x-ms-identifiers", #[]) + recommendations?: string[]; + + /** + * The code intended for programmatic access. + */ + @visibility(Lifecycle.Read) + code?: string; + + /** + * The message that describes the error in detail. + */ + @visibility(Lifecycle.Read) + message?: string; +} + +/** + * The properties for the job. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model JobProperties { + /** + * The type of the job. + */ + @visibility(Lifecycle.Read) + jobType?: JobType; + + /** + * Current stage of the update operation. + */ + @visibility(Lifecycle.Read) + currentStage?: UpdateOperationStage; + + /** + * The download progress. + */ + @visibility(Lifecycle.Read) + downloadProgress?: UpdateDownloadProgress; + + /** + * The install progress. + */ + @visibility(Lifecycle.Read) + installProgress?: UpdateInstallProgress; + + /** + * Total number of errors encountered during the refresh process. + */ + @visibility(Lifecycle.Read) + totalRefreshErrors?: int32; + + /** + * Local share/remote container relative path to the error manifest file of the refresh. + */ + @visibility(Lifecycle.Read) + errorManifestFile?: string; + + /** + * ARM ID of the entity that was refreshed. + */ + @visibility(Lifecycle.Read) + refreshedEntityId?: string; + + /** + * If only subfolders need to be refreshed, then the subfolder path inside the share or container. (The path is empty if there are no subfolders.) + */ + folder?: string; +} + +/** + * Details about the download progress of update. + */ +model UpdateDownloadProgress { + /** + * The download phase. + */ + @visibility(Lifecycle.Read) + downloadPhase?: DownloadPhase; + + /** + * Percentage of completion. + */ + @visibility(Lifecycle.Read) + percentComplete?: int32; + + /** + * Total bytes to download. + */ + @visibility(Lifecycle.Read) + totalBytesToDownload?: float64; + + /** + * Total bytes downloaded. + */ + @visibility(Lifecycle.Read) + totalBytesDownloaded?: float64; + + /** + * Number of updates to download. + */ + @visibility(Lifecycle.Read) + numberOfUpdatesToDownload?: int32; + + /** + * Number of updates downloaded. + */ + @visibility(Lifecycle.Read) + numberOfUpdatesDownloaded?: int32; +} + +/** + * Progress details during installation of updates. + */ +model UpdateInstallProgress { + /** + * Percentage completed. + */ + @visibility(Lifecycle.Read) + percentComplete?: int32; + + /** + * Number of updates to install. + */ + @visibility(Lifecycle.Read) + numberOfUpdatesToInstall?: int32; + + /** + * Number of updates installed. + */ + @visibility(Lifecycle.Read) + numberOfUpdatesInstalled?: int32; +} + +/** + * The properties of network settings. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model NetworkSettingsProperties { + /** + * The network adapter list on the device. + */ + @visibility(Lifecycle.Read) + @OpenAPI.extension("x-ms-identifiers", #["adapterId"]) + networkAdapters?: NetworkAdapter[]; +} + +/** + * Represents the networkAdapter on a device. + */ +model NetworkAdapter { + /** + * Instance ID of network adapter. + */ + @visibility(Lifecycle.Read) + adapterId?: string; + + /** + * Hardware position of network adapter. + */ + @visibility(Lifecycle.Read) + adapterPosition?: NetworkAdapterPosition; + + /** + * Logical index of the adapter. + */ + @visibility(Lifecycle.Read) + index?: int32; + + /** + * Node ID of the network adapter. + */ + @visibility(Lifecycle.Read) + nodeId?: string; + + /** + * Network adapter name. + */ + @visibility(Lifecycle.Read) + networkAdapterName?: string; + + /** + * Hardware label for the adapter. + */ + @visibility(Lifecycle.Read) + label?: string; + + /** + * MAC address. + */ + @visibility(Lifecycle.Read) + macAddress?: string; + + /** + * Link speed. + */ + @visibility(Lifecycle.Read) + linkSpeed?: int64; + + /** + * Value indicating whether this adapter is valid. + */ + @visibility(Lifecycle.Read) + status?: NetworkAdapterStatus; + + /** + * Value indicating whether this adapter is RDMA capable. + */ + rdmaStatus?: NetworkAdapterRDMAStatus; + + /** + * Value indicating whether this adapter has DHCP enabled. + */ + dhcpStatus?: NetworkAdapterDHCPStatus; + + /** + * The IPv4 configuration of the network adapter. + */ + @visibility(Lifecycle.Read) + ipv4Configuration?: Ipv4Config; + + /** + * The IPv6 configuration of the network adapter. + */ + @visibility(Lifecycle.Read) + ipv6Configuration?: Ipv6Config; + + /** + * The IPv6 local address. + */ + @visibility(Lifecycle.Read) + ipv6LinkLocalAddress?: string; + + /** + * The list of DNS Servers of the device. + */ + @visibility(Lifecycle.Read) + @OpenAPI.extension("x-ms-identifiers", #[]) + dnsServers?: string[]; +} + +/** + * The network adapter position. + */ +model NetworkAdapterPosition { + /** + * The network group. + */ + @visibility(Lifecycle.Read) + networkGroup?: NetworkGroup; + + /** + * The port. + */ + @visibility(Lifecycle.Read) + port?: int32; +} + +/** + * Details related to the IPv4 address configuration. + */ +model Ipv4Config { + /** + * The IPv4 address of the network adapter. + */ + @visibility(Lifecycle.Read) + ipAddress?: string; + + /** + * The IPv4 subnet of the network adapter. + */ + @visibility(Lifecycle.Read) + subnet?: string; + + /** + * The IPv4 gateway of the network adapter. + */ + @visibility(Lifecycle.Read) + gateway?: string; +} + +/** + * Details related to the IPv6 address configuration. + */ +model Ipv6Config { + /** + * The IPv6 address of the network adapter. + */ + @visibility(Lifecycle.Read) + ipAddress?: string; + + /** + * The IPv6 prefix of the network adapter. + */ + @visibility(Lifecycle.Read) + prefixLength?: int32; + + /** + * The IPv6 gateway of the network adapter. + */ + @visibility(Lifecycle.Read) + gateway?: string; +} + +/** + * Collection of Nodes. + */ +model NodeList is Azure.Core.Page; + +/** + * Represents a single node in a Data box Edge/Gateway device + * Gateway devices, standalone Edge devices and a single node cluster Edge device will all have 1 node + * Multi-node Edge devices will have more than 1 nodes + */ +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model Node extends ARMBaseModel { + /** + * The properties of the node + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read) + properties?: NodeProperties; +} + +/** + * This class represents the nodes in a highly available cluster + */ +model NodeProperties { + /** + * The current status of the individual node + */ + @visibility(Lifecycle.Read) + nodeStatus?: NodeStatus; + + /** + * Serial number of the Chassis + */ + @visibility(Lifecycle.Read) + nodeChassisSerialNumber?: string; + + /** + * Serial number of the individual node + */ + @visibility(Lifecycle.Read) + nodeSerialNumber?: string; + + /** + * Display Name of the individual node + */ + @visibility(Lifecycle.Read) + nodeDisplayName?: string; + + /** + * Friendly software version name that is currently installed on the node + */ + @visibility(Lifecycle.Read) + nodeFriendlySoftwareVersion?: string; + + /** + * HCS version that is currently installed on the node + */ + @visibility(Lifecycle.Read) + nodeHcsVersion?: string; + + /** + * Guid instance id of the node + */ + @visibility(Lifecycle.Read) + nodeInstanceId?: string; +} + +/** + * List of order entities. + */ +model OrderList is Azure.Core.Page; + +/** + * Order properties. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model OrderProperties { + /** + * It specify the order resource id. + */ + @visibility(Lifecycle.Read) + orderId?: string; + + /** + * The contact details. + */ + contactInformation: ContactDetails; + + /** + * The shipping address. + */ + shippingAddress?: Address; + + /** + * Current status of the order. + */ + @visibility(Lifecycle.Read) + currentStatus?: OrderStatus; + + /** + * List of status changes in the order. + */ + @visibility(Lifecycle.Read) + @OpenAPI.extension("x-ms-identifiers", #["trackingInformation/serialNumber"]) + orderHistory?: OrderStatus[]; + + /** + * Serial number of the device. + */ + @visibility(Lifecycle.Read) + serialNumber?: string; + + /** + * Tracking information for the package delivered to the customer whether it has an original or a replacement device. + */ + @visibility(Lifecycle.Read) + @OpenAPI.extension("x-ms-identifiers", #["serialNumber"]) + deliveryTrackingInfo?: TrackingInfo[]; + + /** + * Tracking information for the package returned from the customer whether it has an original or a replacement device. + */ + @visibility(Lifecycle.Read) + @OpenAPI.extension("x-ms-identifiers", #["serialNumber"]) + returnTrackingInfo?: TrackingInfo[]; + + /** + * ShipmentType of the order + */ + shipmentType?: ShipmentType; +} + +/** + * Contains all the contact details of the customer. + */ +model ContactDetails { + /** + * The contact person name. + */ + contactPerson: string; + + /** + * The name of the company. + */ + companyName: string; + + /** + * The phone number. + */ + phone: string; + + /** + * The email list. + */ + @OpenAPI.extension("x-ms-identifiers", #[]) + emailList: string[]; +} + +/** + * The shipping address of the customer. + */ +model Address { + /** + * The address line1. + */ + addressLine1?: string; + + /** + * The address line2. + */ + addressLine2?: string; + + /** + * The address line3. + */ + addressLine3?: string; + + /** + * The postal code. + */ + postalCode?: string; + + /** + * The city name. + */ + city?: string; + + /** + * The state name. + */ + state?: string; + + /** + * The country name. + */ + country: string; +} + +/** + * Represents a single status change. + */ +model OrderStatus { + /** + * Status of the order as per the allowed status types. + */ + status: OrderState; + + /** + * Time of status update. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + updateDateTime?: utcDateTime; + + /** + * Comments related to this status change. + */ + comments?: string; + + /** + * Tracking information related to the state in the ordering flow + */ + @visibility(Lifecycle.Read) + trackingInformation?: TrackingInfo; + + /** + * Dictionary to hold generic information which is not stored + * by the already existing properties + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read) + additionalOrderDetails?: Record; +} + +/** + * Tracking courier information. + */ +model TrackingInfo { + /** + * Serial number of the device being tracked. + */ + serialNumber?: string; + + /** + * Name of the carrier used in the delivery. + */ + carrierName?: string; + + /** + * Tracking ID of the shipment. + */ + trackingId?: string; + + /** + * Tracking URL of the shipment. + */ + trackingUrl?: string; +} + +/** + * DC Access code in the case of Self Managed Shipping. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model DCAccessCode { + /** + * DCAccessCode properties. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties?: DCAccessCodeProperties; +} + +/** + * DCAccessCode Properties. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model DCAccessCodeProperties { + /** + * DCAccess Code for the Self Managed shipment. + */ + authCode?: string; +} + +/** + * Collection of all the roles on the Data Box Edge device. + */ +model RoleList is Azure.Core.Page; + +/** + * Collection of all the Role addon on the Azure Stack Edge device. + */ +model AddonList is Azure.Core.Page; + +/** + * Collection of metric configurations. + */ +model MonitoringMetricConfigurationList + is Azure.Core.Page; + +/** + * Metrics properties + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model MonitoringMetricConfigurationProperties { + /** + * The metrics configuration details + */ + @OpenAPI.extension("x-ms-identifiers", #[]) + metricConfigurations: MetricConfiguration[]; +} + +/** + * Metric configuration. + */ +model MetricConfiguration { + /** + * The Resource ID on which the metrics should be pushed. + */ + resourceId: string; + + /** + * The MDM account to which the counters should be pushed. + */ + mdmAccount?: string; + + /** + * The MDM namespace to which the counters should be pushed. This is required if MDMAccount is specified + */ + metricNameSpace?: string; + + /** + * Host name for the IoT hub associated to the device. + */ + @OpenAPI.extension("x-ms-identifiers", #[]) + counterSets: MetricCounterSet[]; +} + +/** + * The metric counter set + */ +model MetricCounterSet { + /** + * The counters that should be collected in this set. + */ + @OpenAPI.extension("x-ms-identifiers", #["name"]) + counters: MetricCounter[]; +} + +/** + * The metric counter + */ +model MetricCounter { + /** + * The counter name. + */ + name: string; + + /** + * The instance from which counter should be collected. + */ + instance?: string; + + /** + * The dimension filter. + */ + @OpenAPI.extension("x-ms-identifiers", #["sourceName"]) + dimensionFilter?: MetricDimension[]; + + /** + * The additional dimensions to be added to metric. + */ + @OpenAPI.extension("x-ms-identifiers", #["sourceName"]) + additionalDimensions?: MetricDimension[]; +} + +/** + * The metric dimension + */ +model MetricDimension { + /** + * The dimension type. + */ + sourceType: string; + + /** + * The dimension value. + */ + sourceName: string; +} + +/** + * The security settings of a device. + */ +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model SecuritySettings extends ARMBaseModel { + /** + * Properties of the security settings. + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties: SecuritySettingsProperties; +} + +/** + * The properties of security settings. + */ +model SecuritySettingsProperties { + /** + * Device administrator password as an encrypted string (encrypted using RSA PKCS #1) is used to sign into the local web UI of the device. The Actual password should have at least 8 characters that are a combination of uppercase, lowercase, numeric, and special characters. + */ + deviceAdminPassword: AsymmetricEncryptedSecret; +} + +/** + * Collection of all the shares on the Data Box Edge/Gateway device. + */ +model ShareList is Azure.Core.Page; + +/** + * The share properties. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model ShareProperties { + /** + * Description for the share. + */ + description?: string; + + /** + * Current status of the share. + */ + shareStatus: ShareStatus; + + /** + * Current monitoring status of the share. + */ + monitoringStatus: MonitoringStatus; + + /** + * Azure container mapping for the share. + */ + azureContainerInfo?: AzureContainerInfo; + + /** + * Access protocol to be used by the share. + */ + accessProtocol: ShareAccessProtocol; + + /** + * Mapping of users and corresponding access rights on the share (required for SMB protocol). + */ + @OpenAPI.extension("x-ms-identifiers", #["userId"]) + userAccessRights?: UserAccessRight[]; + + /** + * List of IP addresses and corresponding access rights on the share(required for NFS protocol). + */ + @OpenAPI.extension("x-ms-identifiers", #["client"]) + clientAccessRights?: ClientAccessRight[]; + + /** + * Details of the refresh job on this share. + */ + refreshDetails?: RefreshDetails; + + /** + * Share mount point to the role. + */ + @visibility(Lifecycle.Read) + @OpenAPI.extension("x-ms-identifiers", #["shareId"]) + shareMappings?: MountPointMap[]; + + /** + * Data policy of the share. + */ + dataPolicy?: DataPolicy; +} + +/** + * Azure container mapping of the endpoint. + */ +model AzureContainerInfo { + /** + * ID of the storage account credential used to access storage. + */ + storageAccountCredentialId: string; + + /** + * Container name (Based on the data format specified, this represents the name of Azure Files/Page blob/Block blob). + */ + containerName: string; + + /** + * Storage format used for the file represented by the share. + */ + dataFormat: AzureContainerDataFormat; +} + +/** + * The mapping between a particular user and the access type on the SMB share. + */ +model UserAccessRight { + /** + * User ID (already existing in the device). + */ + userId: string; + + /** + * Type of access to be allowed for the user. + */ + accessType: ShareAccessType; +} + +/** + * The mapping between a particular client IP and the type of access client has on the NFS share. + */ +model ClientAccessRight { + /** + * IP of the client. + */ + client: string; + + /** + * Type of access to be allowed for the client. + */ + accessPermission: ClientPermissionType; +} + +/** + * Fields for tracking refresh job on the share or container. + */ +model RefreshDetails { + /** + * If a refresh job is currently in progress on this share or container, this field indicates the ARM resource ID of that job. The field is empty if no job is in progress. + */ + inProgressRefreshJobId?: string; + + /** + * Indicates the completed time for the last refresh job on this particular share or container, if any.This could be a failed job or a successful job. + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + lastCompletedRefreshJobTimeInUTC?: utcDateTime; + + /** + * Indicates the relative path of the error xml for the last refresh job on this particular share or container, if any. This could be a failed job or a successful job. + */ + errorManifestFile?: string; + + /** + * Indicates the id of the last refresh job on this particular share or container,if any. This could be a failed job or a successful job. + */ + lastJob?: string; +} + +/** + * The share mount point. + */ +model MountPointMap { + /** + * ID of the share mounted to the role VM. + */ + shareId: string; + + /** + * ID of the role to which share is mounted. + */ + @visibility(Lifecycle.Read) + roleId?: string; + + /** + * Mount point for the share. + */ + @visibility(Lifecycle.Read) + mountPoint?: string; + + /** + * Mounting type. + */ + @visibility(Lifecycle.Read) + mountType?: MountType; + + /** + * Role type. + */ + @visibility(Lifecycle.Read) + roleType?: RoleTypes; +} + +/** + * The collection of storage account credentials. + */ +model StorageAccountCredentialList is Azure.Core.Page; + +/** + * The storage account credential properties. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model StorageAccountCredentialProperties { + /** + * Alias for the storage account. + */ + `alias`: string; + + /** + * Username for the storage account. + */ + userName?: string; + + /** + * Encrypted storage key. + */ + accountKey?: AsymmetricEncryptedSecret; + + /** + * Connection string for the storage account. Use this string if username and account key are not specified. + */ + connectionString?: string; + + /** + * Signifies whether SSL needs to be enabled or not. + */ + sslStatus: SSLStatus; + + /** + * Blob end point for private clouds. + */ + blobDomainName?: string; + + /** + * Type of storage accessed on the storage account. + */ + accountType: AccountType; + + /** + * Id of the storage account. + */ + storageAccountId?: string; +} + +/** + * Collection of all the Storage Accounts on the Data Box Edge/Gateway device. + */ +model StorageAccountList is Azure.Core.Page; + +/** + * The storage account properties. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model StorageAccountProperties { + /** + * Description for the storage Account. + */ + description?: string; + + /** + * Current status of the storage account + */ + storageAccountStatus?: StorageAccountStatus; + + /** + * Data policy of the storage Account. + */ + dataPolicy: DataPolicy; + + /** + * Storage Account Credential Id + */ + storageAccountCredentialId?: string; + + /** + * BlobEndpoint of Storage Account + */ + @visibility(Lifecycle.Read) + blobEndpoint?: string; + + /** + * The Container Count. Present only for Storage Accounts with DataPolicy set to Cloud. + */ + @visibility(Lifecycle.Read) + containerCount?: int32; +} + +/** + * Collection of all the containers on the Data Box Edge/Gateway device. + */ +model ContainerList is Azure.Core.Page; + +/** + * The container properties. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model ContainerProperties { + /** + * Current status of the container. + */ + @visibility(Lifecycle.Read) + containerStatus?: ContainerStatus; + + /** + * DataFormat for Container + */ + dataFormat: AzureContainerDataFormat; + + /** + * Details of the refresh job on this container. + */ + @visibility(Lifecycle.Read) + refreshDetails?: RefreshDetails; + + /** + * The UTC time when container got created. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + createdDateTime?: utcDateTime; +} + +/** + * Collection of all trigger on the data box edge device. + */ +model TriggerList is Azure.Core.Page; + +/** + * The request object for trigger support package. + */ +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model TriggerSupportPackageRequest extends ARMBaseModel { + /** + * The TriggerSupportPackageRequest properties. + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties: SupportPackageRequestProperties; +} + +/** + * The share properties. + */ +model SupportPackageRequestProperties { + /** + * MinimumTimeStamp from where logs need to be collected + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + minimumTimeStamp?: utcDateTime; + + /** + * Start of the timespan of the log collection + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + maximumTimeStamp?: utcDateTime; + + /** + * Type of files, which need to be included in the logs + * This will contain the type of logs (Default/DefaultWithDumps/None/All/DefaultWithArchived) + * or a comma separated list of log types that are required + */ + include?: string; +} + +/** + * The Data Box Edge/Gateway device extended info patch. + */ +model DataBoxEdgeDeviceExtendedInfoPatch { + /** + * The Key Vault ARM Id for client secrets + */ + clientSecretStoreId?: string; + + /** + * The url to access the Client Key Vault + */ + clientSecretStoreUrl?: string; + + /** + * The name for Channel Integrity Key stored in the Client Key Vault + */ + channelIntegrityKeyName?: string; + + /** + * The version of Channel Integrity Key stored in the Client Key Vault + */ + channelIntegrityKeyVersion?: string; + + /** + * For changing or to initiate the resync to key-vault set the status to KeyVaultSyncPending, rest of the status will not be applicable. + */ + syncStatus?: KeyVaultSyncStatus; +} + +/** + * The device update information summary. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model UpdateSummaryProperties { + /** + * The current version of the device in format: 1.2.17312.13.", + */ + deviceVersionNumber?: string; + + /** + * The current version of the device in text format. + */ + friendlyDeviceVersionName?: string; + + /** + * The last time when a scan was done on the device. + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + deviceLastScannedDateTime?: utcDateTime; + + /** + * The time when the last scan job was completed (success/cancelled/failed) on the appliance. + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + lastCompletedScanJobDateTime?: utcDateTime; + + /** + * Time when the last scan job is successfully completed. + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + lastSuccessfulScanJobTime?: utcDateTime; + + /** + * The time when the last Download job was completed (success/cancelled/failed) on the appliance. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + lastCompletedDownloadJobDateTime?: utcDateTime; + + /** + * JobId of the last ran download job.(Can be success/cancelled/failed) + */ + @visibility(Lifecycle.Read) + lastCompletedDownloadJobId?: string; + + /** + * JobStatus of the last ran download job. + */ + @visibility(Lifecycle.Read) + lastDownloadJobStatus?: JobStatus; + + /** + * The time when the Last Install job was completed successfully on the appliance + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + lastSuccessfulInstallJobDateTime?: utcDateTime; + + /** + * The time when the last Install job was completed (success/cancelled/failed) on the appliance. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + lastCompletedInstallJobDateTime?: utcDateTime; + + /** + * JobId of the last ran install job.(Can be success/cancelled/failed) + */ + @visibility(Lifecycle.Read) + lastCompletedInstallJobId?: string; + + /** + * JobStatus of the last ran install job. + */ + @visibility(Lifecycle.Read) + lastInstallJobStatus?: JobStatus; + + /** + * The number of updates available for the current device version as per the last device scan. + */ + @visibility(Lifecycle.Read) + totalNumberOfUpdatesAvailable?: int32; + + /** + * The total number of items pending download. + */ + @visibility(Lifecycle.Read) + totalNumberOfUpdatesPendingDownload?: int32; + + /** + * The total number of items pending install. + */ + @visibility(Lifecycle.Read) + totalNumberOfUpdatesPendingInstall?: int32; + + /** + * Indicates if updates are available and at least one of the updates needs a reboot. + */ + @visibility(Lifecycle.Read) + rebootBehavior?: InstallRebootBehavior; + + /** + * The current update operation. + */ + @visibility(Lifecycle.Read) + ongoingUpdateOperation?: UpdateOperation; + + /** + * The job ID of the download job in progress. + */ + @visibility(Lifecycle.Read) + inProgressDownloadJobId?: string; + + /** + * The job ID of the install job in progress. + */ + @visibility(Lifecycle.Read) + inProgressInstallJobId?: string; + + /** + * The time when the currently running download (if any) started. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + inProgressDownloadJobStartedDateTime?: utcDateTime; + + /** + * The time when the currently running install (if any) started. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + inProgressInstallJobStartedDateTime?: utcDateTime; + + /** + * The list of updates available for install. + */ + @visibility(Lifecycle.Read) + updateTitles?: string[]; + + /** + * The list of updates available for install. + */ + @visibility(Lifecycle.Read) + @OpenAPI.extension("x-ms-identifiers", #["updateTitle"]) + updates?: UpdateDetails[]; + + /** + * The total size of updates available for download in bytes. + */ + @visibility(Lifecycle.Read) + totalUpdateSizeInBytes?: float64; + + /** + * The total time in Minutes + */ + @visibility(Lifecycle.Read) + totalTimeInMinutes?: int32; +} + +/** + * Update Specific attributes + */ +model UpdateDetails { + /** + * Title of the Update + */ + updateTitle?: string; + + /** + * Size of the update(In Bytes) + */ + updateSize?: float64; + + /** + * Type of the Update + */ + updateType?: UpdateType; + + /** + * Target Version number + */ + targetVersion?: string; + + /** + * Friendly Version Number + */ + friendlyVersionNumber?: string; + + /** + * Estimated Install Time for the update + */ + estimatedInstallTimeInMins?: int32; + + /** + * Indicates if updates are available and at least one of the updates needs a reboot. + */ + rebootBehavior?: InstallRebootBehavior; + + /** + * Impact of Installing an updateType + */ + installationImpact?: InstallationImpact; + + /** + * Status of the update. + */ + status?: UpdateStatus; +} + +/** + * The upload certificate request. + */ +model UploadCertificateRequest { + /** + * The Base 64 encoded certificate raw data. + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties: RawCertificateData; +} + +/** + * Raw Certificate Data. + */ +model RawCertificateData { + /** + * The authentication type. + */ + authenticationType?: AuthenticationType; + + /** + * The base64 encoded certificate raw data. + */ + certificate: string; +} + +/** + * The upload registration certificate response. + */ +model UploadCertificateResponse { + /** + * Specifies authentication type. + */ + authType?: AuthenticationType; + + /** + * The resource ID of the Data Box Edge/Gateway device. + */ + @visibility(Lifecycle.Read) + resourceId?: string; + + /** + * Azure Active Directory tenant authority. + */ + @visibility(Lifecycle.Read) + aadAuthority?: string; + + /** + * Azure Active Directory tenant ID. + */ + @visibility(Lifecycle.Read) + aadTenantId?: string; + + /** + * Azure Active Directory service principal client ID. + */ + @visibility(Lifecycle.Read) + servicePrincipalClientId?: string; + + /** + * Azure Active Directory service principal object ID. + */ + @visibility(Lifecycle.Read) + servicePrincipalObjectId?: string; + + /** + * The azure management endpoint audience. + */ + @visibility(Lifecycle.Read) + azureManagementEndpointAudience?: string; + + /** + * Identifier of the target resource that is the recipient of the requested token. + */ + @visibility(Lifecycle.Read) + aadAudience?: string; +} + +/** + * Collection of users. + */ +model UserList is Azure.Core.Page; + +/** + * The user properties. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model UserProperties { + /** + * The password details. + */ + encryptedPassword?: AsymmetricEncryptedSecret; + + /** + * List of shares that the user has rights on. This field should not be specified during user creation. + */ + @visibility(Lifecycle.Read) + @OpenAPI.extension("x-ms-identifiers", #["shareId"]) + shareAccessRights?: ShareAccessRight[]; + + /** + * Type of the user. + */ + userType: UserType; +} + +/** + * Specifies the mapping between this particular user and the type of access he has on shares on this device. + */ +model ShareAccessRight { + /** + * The share ID. + */ + shareId: string; + + /** + * Type of access to be allowed on the share for this user. + */ + accessType: ShareAccessType; +} + +/** + * Arc Addon. + */ +model ArcAddon extends Addon { + /** + * Properties specific to Arc addon. + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties: ArcAddonProperties; + + /** + * Addon type. + */ + kind: AddonType.ArcForKubernetes; +} + +/** + * Arc addon properties. + */ +model ArcAddonProperties { + /** + * Arc resource subscription Id + */ + subscriptionId: string; + + /** + * Arc resource group name + */ + resourceGroupName: string; + + /** + * Arc resource Name + */ + resourceName: string; + + /** + * Arc resource location + */ + resourceLocation: string; + + /** + * Arc resource version + */ + @visibility(Lifecycle.Read) + version?: string; + + /** + * Host OS supported by the Arc addon. + */ + @visibility(Lifecycle.Read) + hostPlatform?: PlatformType; + + /** + * Platform where the runtime is hosted. + */ + @visibility(Lifecycle.Read) + hostPlatformType?: HostPlatformType; + + /** + * Addon Provisioning State + */ + @visibility(Lifecycle.Read) + provisioningState?: AddonState; +} + +/** + * Authentication mechanism for IoT devices. + */ +model Authentication { + /** + * Symmetric key for authentication. + */ + symmetricKey?: SymmetricKey; +} + +/** + * Symmetric key for authentication. + */ +model SymmetricKey { + /** + * Connection string based on the symmetric key. + */ + connectionString?: AsymmetricEncryptedSecret; +} + +/** + * The preview of Virtual Machine Cloud Management from the Azure supports deploying and managing VMs on your Azure Stack Edge device from Azure Portal. + * For more information, refer to: https://docs.microsoft.com/en-us/azure/databox-online/azure-stack-edge-gpu-virtual-machine-overview + * By using this feature, you agree to the preview legal terms. See the https://azure.microsoft.com/en-us/support/legal/preview-supplemental-terms/ for additional details. + */ +model CloudEdgeManagementRole extends Role { + /** + * Properties specific to CloudEdgeManagementRole role. + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties?: CloudEdgeManagementRoleProperties; + + /** + * Role type. + */ + kind: RoleTypes.CloudEdgeManagement; +} + +/** + * CloudEdgeManagement Role properties. + */ +model CloudEdgeManagementRoleProperties { + /** + * Local Edge Management Status + */ + @visibility(Lifecycle.Read) + localManagementStatus?: RoleStatus; + + /** + * Edge Profile of the resource + */ + @visibility(Lifecycle.Read) + edgeProfile?: EdgeProfile; + + /** + * Role status. + */ + roleStatus: RoleStatus; +} + +/** + * Cni configuration + */ +model CniConfig { + /** + * Cni type + */ + @visibility(Lifecycle.Read) + type?: string; + + /** + * Cni version + */ + @visibility(Lifecycle.Read) + version?: string; + + /** + * Pod Subnet + */ + @visibility(Lifecycle.Read) + podSubnet?: string; + + /** + * Service subnet + */ + @visibility(Lifecycle.Read) + serviceSubnet?: string; +} + +/** + * Compute infrastructure Resource + */ +model ComputeResource { + /** + * Processor count + */ + processorCount: int32; + + /** + * Memory in GB + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + memoryInGB: int64; +} + +/** + * Resource Move details + */ +model DataBoxEdgeMoveRequest { + /** + * Target resource group ARMId + */ + targetResourceGroup: string; + + /** + * List of resources to be moved + */ + @OpenAPI.extension("x-ms-identifiers", #[]) + resources: string[]; +} + +/** + * Etcd configuration + */ +model EtcdInfo { + /** + * Etcd type + */ + @visibility(Lifecycle.Read) + type?: string; + + /** + * Etcd version + */ + @visibility(Lifecycle.Read) + version?: string; +} + +/** + * Trigger details. + */ +model FileEventTrigger extends Trigger { + /** + * File trigger properties. + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties: FileTriggerProperties; + + /** + * Trigger Kind. + */ + kind: TriggerEventType.FileEvent; +} + +/** + * File trigger properties. + */ +model FileTriggerProperties { + /** + * File event source details. + */ + sourceInfo: FileSourceInfo; + + /** + * Role sink info. + */ + sinkInfo: RoleSinkInfo; + + /** + * A custom context tag typically used to correlate the trigger against its usage. For example, if a periodic timer trigger is intended for certain specific IoT modules in the device, the tag can be the name or the image URL of the module. + */ + @maxLength(192) + customContextTag?: string; +} + +/** + * File source details. + */ +model FileSourceInfo { + /** + * File share ID. + */ + shareId: string; +} + +/** + * Compute role against which events will be raised. + */ +model RoleSinkInfo { + /** + * Compute role ID. + */ + roleId: string; +} + +/** + * Image repository credential. + */ +model ImageRepositoryCredential { + /** + * Image repository url (e.g.: mcr.microsoft.com). + */ + imageRepositoryUrl: string; + + /** + * Repository user name. + */ + userName: string; + + /** + * Repository user password. + */ + password?: AsymmetricEncryptedSecret; +} + +/** + * IoT Addon. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model IoTAddon extends Addon { + /** + * Properties specific to IOT addon. + */ + properties: IoTAddonProperties; + + /** + * Addon type. + */ + kind: AddonType.IotEdge; +} + +/** + * IoT addon properties. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model IoTAddonProperties { + /** + * IoT device metadata to which appliance needs to be connected. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ioTDeviceDetails: IoTDeviceInfo; + + /** + * IoT edge device to which the IoT Addon needs to be configured. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ioTEdgeDeviceDetails: IoTDeviceInfo; + + /** + * Version of IoT running on the appliance. + */ + @visibility(Lifecycle.Read) + version?: string; + + /** + * Host OS supported by the IoT addon. + */ + @visibility(Lifecycle.Read) + hostPlatform?: PlatformType; + + /** + * Platform where the runtime is hosted. + */ + @visibility(Lifecycle.Read) + hostPlatformType?: HostPlatformType; + + /** + * Addon Provisioning State + */ + @visibility(Lifecycle.Read) + provisioningState?: AddonState; +} + +/** + * Metadata of IoT device/IoT Edge device to be configured. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model IoTDeviceInfo { + /** + * ID of the IoT device/edge device. + */ + deviceId: string; + + /** + * Host name for the IoT hub associated to the device. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ioTHostHub: string; + + /** + * Id for the IoT hub associated to the device. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ioTHostHubId?: string; + + /** + * Encrypted IoT device/IoT edge device connection string. + */ + authentication?: Authentication; +} + +/** + * IoT edge agent details is optional, this will be used for download system Agent module while bootstrapping IoT Role if specified. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model IoTEdgeAgentInfo { + /** + * Name of the IoT edge agent image. + */ + imageName: string; + + /** + * Image Tag. + */ + tag: string; + + /** + * Image repository details. + */ + imageRepository?: ImageRepositoryCredential; +} + +/** + * Compute role. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model IoTRole extends Role { + /** + * Properties specific to IoT role. + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties?: IoTRoleProperties; + + /** + * Role type. + */ + kind: RoleTypes.IOT; +} + +/** + * IoT role properties. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model IoTRoleProperties { + /** + * Host OS supported by the IoT role. + */ + hostPlatform: PlatformType; + + /** + * IoT device metadata to which data box edge device needs to be connected. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ioTDeviceDetails: IoTDeviceInfo; + + /** + * IoT edge device to which the IoT role needs to be configured. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ioTEdgeDeviceDetails: IoTDeviceInfo; + + /** + * Mount points of shares in role(s). + */ + @OpenAPI.extension("x-ms-identifiers", #["shareId"]) + shareMappings?: MountPointMap[]; + + /** + * Iot edge agent details to download the agent and bootstrap iot runtime. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ioTEdgeAgentInfo?: IoTEdgeAgentInfo; + + /** + * Platform where the Iot runtime is hosted. + */ + @visibility(Lifecycle.Read) + hostPlatformType?: HostPlatformType; + + /** + * Resource allocation + */ + computeResource?: ComputeResource; + + /** + * Role status. + */ + roleStatus: RoleStatus; +} + +/** + * Kubernetes cluster configuration + */ +model KubernetesClusterInfo { + /** + * Etcd configuration + */ + @visibility(Lifecycle.Read) + etcdInfo?: EtcdInfo; + + /** + * Kubernetes cluster nodes + */ + @visibility(Lifecycle.Read) + @OpenAPI.extension("x-ms-identifiers", #["name", "type"]) + nodes?: NodeInfo[]; + + /** + * Kubernetes cluster version + */ + version: string; +} + +/** + * Kubernetes node info + */ +model NodeInfo { + /** + * Node name. + */ + @visibility(Lifecycle.Read) + name?: string; + + /** + * Node type - Master/Worker + */ + @visibility(Lifecycle.Read) + type?: KubernetesNodeType; + + /** + * IP Configuration of the Kubernetes node. + */ + @OpenAPI.extension("x-ms-identifiers", #["ipAddress", "port"]) + ipConfiguration?: KubernetesIPConfiguration[]; +} + +/** + * Kubernetes node IP configuration + */ +model KubernetesIPConfiguration { + /** + * Port of the Kubernetes node. + */ + @visibility(Lifecycle.Read) + port?: string; + + /** + * IP address of the Kubernetes node. + */ + ipAddress?: string; +} + +/** + * The limited preview of Kubernetes Cluster Management from the Azure supports: + * 1. Using a simple turn-key option in Azure Portal, deploy a Kubernetes cluster on your Azure Stack Edge device. + * 2. Configure Kubernetes cluster running on your device with Arc enabled Kubernetes with a click of a button in the Azure Portal. + * Azure Arc enables organizations to view, manage, and govern their on-premises Kubernetes clusters using the Azure Portal, command line tools, and APIs. + * 3. Easily configure Persistent Volumes using SMB and NFS shares for storing container data. + * For more information, refer to the document here: https://databoxupdatepackages.blob.core.windows.net/documentation/Microsoft-Azure-Stack-Edge-K8-Cloud-Management-20210323.pdf + * Or Demo: https://databoxupdatepackages.blob.core.windows.net/documentation/Microsoft-Azure-Stack-Edge-K8S-Cloud-Management-20210323.mp4 + * By using this feature, you agree to the preview legal terms. See the https://azure.microsoft.com/en-us/support/legal/preview-supplemental-terms/ + */ +model KubernetesRole extends Role { + /** + * Properties specific to Kubernetes role. + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties?: KubernetesRoleProperties; + + /** + * Role type. + */ + kind: RoleTypes.Kubernetes; +} + +/** + * Kubernetes role properties. + */ +model KubernetesRoleProperties { + /** + * Host OS supported by the Kubernetes role. + */ + hostPlatform: PlatformType; + + /** + * State of Kubernetes deployment + */ + @visibility(Lifecycle.Read) + provisioningState?: KubernetesState; + + /** + * Platform where the runtime is hosted. + */ + @visibility(Lifecycle.Read) + hostPlatformType?: HostPlatformType; + + /** + * Kubernetes cluster configuration + */ + kubernetesClusterInfo: KubernetesClusterInfo; + + /** + * Kubernetes role resources + */ + kubernetesRoleResources: KubernetesRoleResources; + + /** + * Role status. + */ + roleStatus: RoleStatus; +} + +/** + * Kubernetes role resources + */ +model KubernetesRoleResources { + /** + * Kubernetes role storage resource + */ + storage?: KubernetesRoleStorage; + + /** + * Kubernetes role compute resource + */ + compute: KubernetesRoleCompute; + + /** + * Kubernetes role network resource + */ + @visibility(Lifecycle.Read) + network?: KubernetesRoleNetwork; +} + +/** + * Kubernetes role storage resource + */ +model KubernetesRoleStorage { + /** + * Kubernetes storage class info. + */ + @visibility(Lifecycle.Read) + @OpenAPI.extension("x-ms-identifiers", #["name", "type"]) + storageClasses?: KubernetesRoleStorageClassInfo[]; + + /** + * Mount points of shares in role(s). + */ + @OpenAPI.extension("x-ms-identifiers", #["shareId"]) + endpoints?: MountPointMap[]; +} + +/** + * Kubernetes storage class info. + */ +model KubernetesRoleStorageClassInfo { + /** + * Storage class name. + */ + @visibility(Lifecycle.Read) + name?: string; + + /** + * Storage class type. + */ + @visibility(Lifecycle.Read) + type?: string; + + /** + * If provisioned storage is posix compliant. + */ + @visibility(Lifecycle.Read) + posixCompliant?: PosixComplianceStatus; +} + +/** + * Kubernetes role compute resource + */ +model KubernetesRoleCompute { + /** + * VM profile + */ + vmProfile: string; + + /** + * Memory in bytes + */ + @visibility(Lifecycle.Read) + memoryInBytes?: int64; + + /** + * Processor count + */ + @visibility(Lifecycle.Read) + processorCount?: int32; +} + +/** + * Kubernetes role network resource + */ +model KubernetesRoleNetwork { + /** + * Cni configuration + */ + @visibility(Lifecycle.Read) + cniConfig?: CniConfig; + + /** + * Load balancer configuration + */ + @visibility(Lifecycle.Read) + loadBalancerConfig?: LoadBalancerConfig; +} + +/** + * Load balancer configuration + */ +model LoadBalancerConfig { + /** + * Load balancer type + */ + @visibility(Lifecycle.Read) + type?: string; + + /** + * Load balancer version + */ + @visibility(Lifecycle.Read) + version?: string; + + /** + * Load balancer ipconfig + */ + ipRange?: string[]; +} + +/** + * MEC role. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model MECRole extends Role { + /** + * Properties specific to MEC role. + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties?: MECRoleProperties; + + /** + * Role type. + */ + kind: RoleTypes.MEC; +} + +/** + * MEC role properties. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model MECRoleProperties { + /** + * Activation key of the MEC. + */ + connectionString?: AsymmetricEncryptedSecret; + + /** + * Controller Endpoint. + */ + controllerEndpoint?: string; + + /** + * Unique Id of the Resource. + */ + resourceUniqueId?: string; + + /** + * Role status. + */ + roleStatus: RoleStatus; +} + +/** + * Trigger details. + */ +model PeriodicTimerEventTrigger extends Trigger { + /** + * Periodic timer trigger properties. + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties: PeriodicTimerProperties; + + /** + * Trigger Kind. + */ + kind: TriggerEventType.PeriodicTimerEvent; +} + +/** + * Periodic timer trigger properties. + */ +model PeriodicTimerProperties { + /** + * Periodic timer details. + */ + sourceInfo: PeriodicTimerSourceInfo; + + /** + * Role Sink information. + */ + sinkInfo: RoleSinkInfo; + + /** + * A custom context tag typically used to correlate the trigger against its usage. For example, if a periodic timer trigger is intended for certain specific IoT modules in the device, the tag can be the name or the image URL of the module. + */ + @maxLength(192) + customContextTag?: string; +} + +/** + * Periodic timer event source. + */ +model PeriodicTimerSourceInfo { + /** + * The time of the day that results in a valid trigger. Schedule is computed with reference to the time specified upto seconds. If timezone is not specified the time will considered to be in device timezone. The value will always be returned as UTC time. + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + startTime: utcDateTime; + + /** + * Periodic frequency at which timer event needs to be raised. Supports daily, hourly, minutes, and seconds. + */ + schedule: string; + + /** + * Topic where periodic events are published to IoT device. + */ + topic?: string; +} + +/** + * The list of operations supported by Microsoft.DataBoxEdge resource provider. + */ +model OperationsList { + /** + * The list of operations. + */ + @OpenAPI.extension("x-ms-identifiers", #["name"]) + @pageItems + value: Operation[]; + + /** + * The URL to get the next page of operations. + */ + @nextLink + nextLink?: url; +} + +@@visibility(Azure.Core.Page.value, Lifecycle.Read); diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/routes.tsp b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/routes.tsp new file mode 100644 index 000000000000..a8b8c4ee58a2 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/routes.tsp @@ -0,0 +1,31 @@ +// FIXME: Operations in this file are not detected as a resource operation, please confirm the conversion result manually + +import "@azure-tools/typespec-azure-core"; +import "@typespec/rest"; +import "./models.tsp"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; + +using TypeSpec.Rest; +using TypeSpec.Http; +using Azure.ResourceManager; +using TypeSpec.OpenAPI; + +namespace Microsoft.DataBoxEdge; + +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +interface AvailableSkusOperationGroup { + /** + * List all the available Skus and information related to them. + */ + @summary("List all the available Skus and information related to them.") + @autoRoute + @get + @action("availableSkus") + @list + list is ArmProviderActionSync< + Response = DataBoxEdgeSkuList, + Scope = SubscriptionActionScope, + Error = CloudError + >; +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/databoxedge.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/databoxedge.json index 7e3d6d4be18f..b64df483a634 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/databoxedge.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/databoxedge.json @@ -1,108 +1,195 @@ { "swagger": "2.0", "info": { + "title": "DataBoxEdgeManagementClient", "version": "2023-12-01", - "title": "DataBoxEdgeManagementClient" + "x-typespec-generated": [ + { + "emitter": "@azure-tools/typespec-autorest" + } + ] }, - "host": "management.azure.com", "schemes": [ "https" ], - "consumes": [ + "host": "management.azure.com", + "produces": [ "application/json" ], - "produces": [ + "consumes": [ "application/json" ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "description": "Azure Active Directory OAuth2 Flow.", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "tags": [ + { + "name": "Operations" + }, + { + "name": "Devices" + }, + { + "name": "DataBoxEdgeDevices" + }, + { + "name": "UpdateSummaries" + }, + { + "name": "Alerts" + }, + { + "name": "BandwidthSchedules" + }, + { + "name": "DeviceCapacityInfos" + }, + { + "name": "DiagnosticSettings" + }, + { + "name": "DiagnosticRemoteSupportSettingsOperationGroup" + }, + { + "name": "Jobs" + }, + { + "name": "OperationsStatus" + }, + { + "name": "Orders" + }, + { + "name": "Roles" + }, + { + "name": "Addons" + }, + { + "name": "MonitoringMetricConfigurations" + }, + { + "name": "Shares" + }, + { + "name": "StorageAccountCredentials" + }, + { + "name": "StorageAccounts" + }, + { + "name": "Containers" + }, + { + "name": "Triggers" + }, + { + "name": "Users" + } + ], "paths": { "/providers/Microsoft.DataBoxEdge/operations": { "get": { + "operationId": "Operations_List", "tags": [ "Operations" ], "summary": "List all the supported operations.", - "operationId": "Operations_List", + "description": "List the operations for the provider", "parameters": [ { - "$ref": "#/parameters/apiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" } ], "responses": { "200": { - "description": "List of supported operations.", + "description": "The request has succeeded.", "schema": { "$ref": "#/definitions/OperationsList" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { "OperationsGet": { "$ref": "./examples/OperationsGet.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, "/subscriptions/{subscriptionId}/providers/Microsoft.DataBoxEdge/availableSkus": { "get": { - "tags": [ - "AvailableSkus" - ], - "summary": "List all the available Skus and information related to them.", "operationId": "AvailableSkus_List", + "summary": "List all the available Skus and information related to them.", + "description": "List all the available Skus and information related to them.", "parameters": [ { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/apiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { "200": { - "description": "Lists the available Skus and information related to them.", + "description": "The request has succeeded.", "schema": { "$ref": "#/definitions/DataBoxEdgeSkuList" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { "AvailableSkus": { "$ref": "./examples/AvailableSkusList.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, "/subscriptions/{subscriptionId}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices": { "get": { + "operationId": "Devices_ListBySubscription", "tags": [ - "Devices" + "DataBoxEdgeDevices" ], "description": "Gets all the Data Box Edge/Data Box Gateway devices in a subscription.", - "operationId": "Devices_ListBySubscription", "parameters": [ { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/apiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { "name": "$expand", @@ -114,44 +201,44 @@ ], "responses": { "200": { - "description": "The collection of Data Box Edge/Data Box Gateway devices.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/DataBoxEdgeDeviceList" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { "DataBoxEdgeDeviceGetBySubscription": { "$ref": "./examples/DataBoxEdgeDeviceGetBySubscription.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices": { "get": { + "operationId": "Devices_ListByResourceGroup", "tags": [ - "Devices" + "DataBoxEdgeDevices" ], "description": "Gets all the Data Box Edge/Data Box Gateway devices in a resource group.", - "operationId": "Devices_ListByResourceGroup", "parameters": [ { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/resourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/apiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "$expand", @@ -163,62 +250,62 @@ ], "responses": { "200": { - "description": "The collection of Data Box Edge/Data Box Gateway devices.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/DataBoxEdgeDeviceList" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { "DataBoxEdgeDeviceGetByResourceGroup": { "$ref": "./examples/DataBoxEdgeDeviceGetByResourceGroup.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}": { "get": { + "operationId": "Devices_Get", "tags": [ - "Devices" + "DataBoxEdgeDevices" ], "description": "Gets the properties of the Data Box Edge/Data Box Gateway device.", - "operationId": "Devices_Get", "parameters": [ { - "name": "deviceName", - "in": "path", - "description": "The device name.", - "required": true, - "type": "string" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/resourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/apiVersionParameter" + "name": "deviceName", + "in": "path", + "description": "The device name.", + "required": true, + "type": "string" } ], "responses": { "200": { - "description": "The Data Box Edge/Data Box Gateway device.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/DataBoxEdgeDevice" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } @@ -234,12 +321,21 @@ } }, "put": { + "operationId": "Devices_CreateOrUpdate", "tags": [ - "Devices" + "DataBoxEdgeDevices" ], "description": "Creates or updates a Data Box Edge/Data Box Gateway resource.", - "operationId": "Devices_CreateOrUpdate", "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, { "name": "deviceName", "in": "path", @@ -255,26 +351,17 @@ "schema": { "$ref": "#/definitions/DataBoxEdgeDevice" } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" } ], "responses": { "200": { - "description": "Successfully created or updated the resource.", + "description": "Resource 'DataBoxEdgeDevice' update operation succeeded", "schema": { "$ref": "#/definitions/DataBoxEdgeDevice" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } @@ -289,13 +376,22 @@ } } }, - "delete": { + "patch": { + "operationId": "Devices_Update", "tags": [ - "Devices" + "DataBoxEdgeDevices" ], - "description": "Deletes the Data Box Edge/Data Box Gateway device.", - "operationId": "Devices_Delete", + "description": "Modifies a Data Box Edge/Data Box Gateway resource.", "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, { "name": "deviceName", "in": "path", @@ -304,150 +400,165 @@ "type": "string" }, { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" + "name": "parameters", + "in": "body", + "description": "The resource parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/DataBoxEdgeDevicePatch" + } } ], "responses": { "200": { - "description": "Successfully deleted the resource." - }, - "202": { - "description": "Accepted the request to delete the resource." - }, - "204": { - "description": "The resource is already deleted." + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DataBoxEdgeDevice" + } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-long-running-operation": true, "x-ms-examples": { - "DataBoxEdgeDeviceDelete": { - "$ref": "./examples/DataBoxEdgeDeviceDelete.json" + "DataBoxEdgeDevicePatch": { + "$ref": "./examples/DataBoxEdgeDevicePatch.json" } } }, - "patch": { + "delete": { + "operationId": "Devices_Delete", "tags": [ - "Devices" + "DataBoxEdgeDevices" ], - "description": "Modifies a Data Box Edge/Data Box Gateway resource.", - "operationId": "Devices_Update", + "description": "Deletes the Data Box Edge/Data Box Gateway device.", "parameters": [ { - "name": "deviceName", - "in": "path", - "description": "The device name.", - "required": true, - "type": "string" - }, - { - "name": "parameters", - "in": "body", - "description": "The resource parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/DataBoxEdgeDevicePatch" - } + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/resourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/apiVersionParameter" + "name": "deviceName", + "in": "path", + "description": "The device name.", + "required": true, + "type": "string" } ], "responses": { "200": { - "description": "Successfully updated the resource.", - "schema": { - "$ref": "#/definitions/DataBoxEdgeDevice" + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } } }, + "204": { + "description": "Resource does not exist." + }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, "x-ms-examples": { - "DataBoxEdgeDevicePatch": { - "$ref": "./examples/DataBoxEdgeDevicePatch.json" + "DataBoxEdgeDeviceDelete": { + "$ref": "./examples/DataBoxEdgeDeviceDelete.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/alerts": { "get": { + "operationId": "Alerts_ListByDataBoxEdgeDevice", "tags": [ "Alerts" ], "description": "Gets all the alerts for a Data Box Edge/Data Box Gateway device.", - "operationId": "Alerts_ListByDataBoxEdgeDevice", "parameters": [ { - "name": "deviceName", - "in": "path", - "description": "The device name.", - "required": true, - "type": "string" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/resourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/apiVersionParameter" + "name": "deviceName", + "in": "path", + "description": "The device name.", + "required": true, + "type": "string" } ], "responses": { "200": { - "description": "The collection of alerts.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/AlertList" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { "AlertGetAllInDevice": { "$ref": "./examples/AlertGetAllInDevice.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/alerts/{name}": { "get": { + "operationId": "Alerts_Get", "tags": [ "Alerts" ], "summary": "Gets an alert by name.", - "operationId": "Alerts_Get", + "description": "Gets an alert by name.", "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, { "name": "deviceName", "in": "path", @@ -461,26 +572,17 @@ "description": "The alert name.", "required": true, "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" } ], "responses": { "200": { - "description": "The alert details.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/Alert" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } @@ -495,61 +597,70 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/bandwidthSchedules": { "get": { + "operationId": "BandwidthSchedules_ListByDataBoxEdgeDevice", "tags": [ "BandwidthSchedules" ], "description": "Gets all the bandwidth schedules for a Data Box Edge/Data Box Gateway device.", - "operationId": "BandwidthSchedules_ListByDataBoxEdgeDevice", "parameters": [ { - "name": "deviceName", - "in": "path", - "description": "The device name.", - "required": true, - "type": "string" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/resourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/apiVersionParameter" + "name": "deviceName", + "in": "path", + "description": "The device name.", + "required": true, + "type": "string" } ], "responses": { "200": { - "description": "The collection of bandwidth schedules.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/BandwidthSchedulesList" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { "BandwidthScheduleGetAllInDevice": { "$ref": "./examples/BandwidthScheduleGetAllInDevice.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/bandwidthSchedules/{name}": { "get": { + "operationId": "BandwidthSchedules_Get", "tags": [ "BandwidthSchedules" ], "description": "Gets the properties of the specified bandwidth schedule.", - "operationId": "BandwidthSchedules_Get", "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, { "name": "deviceName", "in": "path", @@ -563,26 +674,17 @@ "description": "The bandwidth schedule name.", "required": true, "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" } ], "responses": { "200": { - "description": "The bandwidth schedule.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/BandwidthSchedule" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } @@ -595,12 +697,21 @@ } }, "put": { + "operationId": "BandwidthSchedules_CreateOrUpdate", "tags": [ "BandwidthSchedules" ], "description": "Creates or updates a bandwidth schedule.", - "operationId": "BandwidthSchedules_CreateOrUpdate", "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, { "name": "deviceName", "in": "path", @@ -611,7 +722,7 @@ { "name": "name", "in": "path", - "description": "The bandwidth schedule name which needs to be added/updated.", + "description": "The bandwidth schedule name.", "required": true, "type": "string" }, @@ -623,48 +734,63 @@ "schema": { "$ref": "#/definitions/BandwidthSchedule" } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" } ], "responses": { "200": { - "description": "Successfully created or updated the bandwidth schedule.", + "description": "Resource 'BandwidthSchedule' update operation succeeded", "schema": { "$ref": "#/definitions/BandwidthSchedule" } }, "202": { - "description": "Accepted the request to create or update the bandwidth schedule." + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-long-running-operation": true, "x-ms-examples": { "BandwidthSchedulePut": { "$ref": "./examples/BandwidthSchedulePut.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/BandwidthSchedule" + }, + "x-ms-long-running-operation": true }, "delete": { + "operationId": "BandwidthSchedules_Delete", "tags": [ "BandwidthSchedules" ], "description": "Deletes the specified bandwidth schedule.", - "operationId": "BandwidthSchedules_Delete", "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, { "name": "deviceName", "in": "path", @@ -678,58 +804,63 @@ "description": "The bandwidth schedule name.", "required": true, "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" } ], "responses": { "200": { - "description": "Success" + "description": "Resource deleted successfully." }, "202": { - "description": "Accepted the request to delete the bandwidth schedule." + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } }, "204": { - "description": "Successfully deleted the bandwidth schedule." + "description": "Resource does not exist." }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-long-running-operation": true, "x-ms-examples": { "BandwidthScheduleDelete": { "$ref": "./examples/BandwidthScheduleDelete.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/deviceCapacityCheck": { "post": { + "operationId": "DeviceCapacityCheck_CheckResourceCreationFeasibility", "tags": [ - "DeviceCapacityCheck" + "DataBoxEdgeDevices" ], "description": "Posts the device capacity request info to check feasibility.", - "operationId": "DeviceCapacityCheck_CheckResourceCreationFeasibility", "parameters": [ { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/resourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/apiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "deviceName", @@ -738,6 +869,13 @@ "required": true, "type": "string" }, + { + "name": "capacityName", + "in": "query", + "description": "The capacity name.", + "required": false, + "type": "string" + }, { "name": "deviceCapacityRequestInfo", "in": "body", @@ -746,56 +884,60 @@ "schema": { "$ref": "#/definitions/DeviceCapacityRequestInfo" } - }, - { - "name": "capacityName", - "in": "query", - "description": "The capacity name.", - "required": false, - "type": "string" } ], "responses": { - "202": { - "description": "Accepted the request to check the feasibility of resource creation." - }, "200": { - "description": "Successfully checked the feasibility of resource creation." + "description": "The request has succeeded." + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "DeviceCapacityRequestPost": { "$ref": "./examples/DeviceCapacityRequestPost.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/deviceCapacityInfo/default": { "get": { + "operationId": "DeviceCapacityInfo_GetDeviceCapacityInfo", "tags": [ - "DeviceCapacityInfo" + "DeviceCapacityInfos" ], "description": "Gets the properties of the specified device capacity info.", - "operationId": "DeviceCapacityInfo_GetDeviceCapacityInfo", "parameters": [ { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/resourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/apiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "deviceName", @@ -807,13 +949,13 @@ ], "responses": { "200": { - "description": "The device capacity info result.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/DeviceCapacityInfo" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } @@ -828,38 +970,38 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/diagnosticProactiveLogCollectionSettings/default": { "get": { + "operationId": "DiagnosticSettings_GetDiagnosticProactiveLogCollectionSettings", "tags": [ "DiagnosticSettings" ], "description": "Gets the proactive log collection settings of the specified Data Box Edge/Data Box Gateway device.", - "operationId": "DiagnosticSettings_GetDiagnosticProactiveLogCollectionSettings", "parameters": [ { - "name": "deviceName", - "in": "path", - "description": "The device name.", - "required": true, - "type": "string" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/resourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/apiVersionParameter" + "name": "deviceName", + "in": "path", + "description": "The device name.", + "required": true, + "type": "string" } ], "responses": { "200": { - "description": "The diagnostic proactive log collection settings.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/DiagnosticProactiveLogCollectionSettings" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } @@ -872,12 +1014,21 @@ } }, "put": { + "operationId": "DiagnosticSettings_UpdateDiagnosticProactiveLogCollectionSettings", "tags": [ "DiagnosticSettings" ], "description": "Updates the proactive log collection settings on a Data Box Edge/Data Box Gateway device.", - "operationId": "DiagnosticSettings_UpdateDiagnosticProactiveLogCollectionSettings", "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, { "name": "deviceName", "in": "path", @@ -893,76 +1044,82 @@ "schema": { "$ref": "#/definitions/DiagnosticProactiveLogCollectionSettings" } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" } ], "responses": { "200": { - "description": "Successfully updated the proactive log collection settings.", + "description": "Resource 'DiagnosticProactiveLogCollectionSettings' update operation succeeded", "schema": { "$ref": "#/definitions/DiagnosticProactiveLogCollectionSettings" } }, "202": { - "description": "Accepted the request to update the proactive log collection settings." + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-long-running-operation": true, "x-ms-examples": { "UpdateDiagnosticProactiveLogCollectionSettings": { "$ref": "./examples/UpdateDiagnosticProactiveLogCollectionSettings.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/DiagnosticProactiveLogCollectionSettings" + }, + "x-ms-long-running-operation": true } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/diagnosticRemoteSupportSettings/default": { "get": { + "operationId": "DiagnosticSettings_GetDiagnosticRemoteSupportSettings", "tags": [ - "DiagnosticSettings" + "DiagnosticRemoteSupportSettingsOperationGroup" ], "description": "Gets the diagnostic remote support settings of the specified Data Box Edge/Data Box Gateway device.", - "operationId": "DiagnosticSettings_GetDiagnosticRemoteSupportSettings", "parameters": [ { - "name": "deviceName", - "in": "path", - "description": "The device name.", - "required": true, - "type": "string" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/resourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/apiVersionParameter" + "name": "deviceName", + "in": "path", + "description": "The device name.", + "required": true, + "type": "string" } ], "responses": { "200": { - "description": "The diagnostic remote support settings.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/DiagnosticRemoteSupportSettings" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } @@ -975,12 +1132,21 @@ } }, "put": { + "operationId": "DiagnosticSettings_UpdateDiagnosticRemoteSupportSettings", "tags": [ - "DiagnosticSettings" + "DiagnosticRemoteSupportSettingsOperationGroup" ], "description": "Updates the diagnostic remote support settings on a Data Box Edge/Data Box Gateway device.", - "operationId": "DiagnosticSettings_UpdateDiagnosticRemoteSupportSettings", "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, { "name": "deviceName", "in": "path", @@ -996,123 +1162,144 @@ "schema": { "$ref": "#/definitions/DiagnosticRemoteSupportSettings" } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" } ], "responses": { - "202": { - "description": "Accepted the request to update the diagnostic remote support settings." - }, "200": { - "description": "Successfully updated the diagnostic remote support settings.", + "description": "Resource 'DiagnosticRemoteSupportSettings' update operation succeeded", "schema": { "$ref": "#/definitions/DiagnosticRemoteSupportSettings" } }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-long-running-operation": true, "x-ms-examples": { "UpdateDiagnosticRemoteSupportSettings": { "$ref": "./examples/UpdateDiagnosticRemoteSupportSettings.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/DiagnosticRemoteSupportSettings" + }, + "x-ms-long-running-operation": true } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/downloadUpdates": { "post": { + "operationId": "Devices_DownloadUpdates", "tags": [ - "Devices" + "DataBoxEdgeDevices" ], "summary": "Downloads the updates on a Data Box Edge/Data Box Gateway device.", - "operationId": "Devices_DownloadUpdates", + "description": "Downloads the updates on a Data Box Edge/Data Box Gateway device.", "parameters": [ { - "name": "deviceName", - "in": "path", - "description": "The device name.", - "required": true, - "type": "string" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/resourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/apiVersionParameter" + "name": "deviceName", + "in": "path", + "description": "The device name.", + "required": true, + "type": "string" } ], "responses": { "200": { - "description": "Successfully downloaded the updates on the device." + "description": "The request has succeeded." }, "202": { - "description": "Accepted the request to download the updates on the device." + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-long-running-operation": true, "x-ms-examples": { "DownloadUpdatesPost": { "$ref": "./examples/DownloadUpdatesPost.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/generateCertificate": { "post": { + "operationId": "Devices_GenerateCertificate", "tags": [ - "Devices" + "DataBoxEdgeDevices" ], "description": "Generates certificate for activation key.", - "operationId": "Devices_GenerateCertificate", "parameters": [ { - "name": "deviceName", - "in": "path", - "description": "The device name.", - "required": true, - "type": "string" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/resourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/apiVersionParameter" + "name": "deviceName", + "in": "path", + "description": "The device name.", + "required": true, + "type": "string" } ], "responses": { "200": { - "description": "Successfully generated self signed certificate.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/GenerateCertResponse" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } @@ -1127,38 +1314,38 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/getExtendedInformation": { "post": { + "operationId": "Devices_GetExtendedInformation", "tags": [ - "Devices" + "DataBoxEdgeDevices" ], "description": "Gets additional information for the specified Azure Stack Edge/Data Box Gateway device.", - "operationId": "Devices_GetExtendedInformation", "parameters": [ { - "name": "deviceName", - "in": "path", - "description": "The device name.", - "required": true, - "type": "string" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/resourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/apiVersionParameter" + "name": "deviceName", + "in": "path", + "description": "The device name.", + "required": true, + "type": "string" } ], "responses": { "200": { - "description": "The additional information.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/DataBoxEdgeDeviceExtendedInfo" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } @@ -1173,59 +1360,84 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/installUpdates": { "post": { + "operationId": "Devices_InstallUpdates", "tags": [ - "Devices" + "DataBoxEdgeDevices" ], "summary": "Installs the updates on the Data Box Edge/Data Box Gateway device.", - "operationId": "Devices_InstallUpdates", + "description": "Installs the updates on the Data Box Edge/Data Box Gateway device.", "parameters": [ { - "name": "deviceName", - "in": "path", - "description": "The device name.", - "required": true, - "type": "string" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/resourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/apiVersionParameter" + "name": "deviceName", + "in": "path", + "description": "The device name.", + "required": true, + "type": "string" } ], "responses": { "200": { - "description": "Successfully installed updates on the device." + "description": "The request has succeeded." }, "202": { - "description": "Accepted the request to install updates on the device." + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-long-running-operation": true, "x-ms-examples": { "InstallUpdatesPost": { "$ref": "./examples/InstallUpdatesPost.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/jobs/{name}": { "get": { + "operationId": "Jobs_Get", "tags": [ "Jobs" ], "summary": "Gets the details of a specified job on a Data Box Edge/Data Box Gateway device.", - "operationId": "Jobs_Get", + "description": "Gets the details of a specified job on a Data Box Edge/Data Box Gateway device.", "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, { "name": "deviceName", "in": "path", @@ -1239,26 +1451,17 @@ "description": "The job name.", "required": true, "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" } ], "responses": { "200": { - "description": "The job details.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/Job" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } @@ -1273,38 +1476,38 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/networkSettings/default": { "get": { + "operationId": "Devices_GetNetworkSettings", "tags": [ "Devices" ], "description": "Gets the network settings of the specified Data Box Edge/Data Box Gateway device.", - "operationId": "Devices_GetNetworkSettings", "parameters": [ { - "name": "deviceName", - "in": "path", - "description": "The device name.", - "required": true, - "type": "string" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/resourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/apiVersionParameter" + "name": "deviceName", + "in": "path", + "description": "The device name.", + "required": true, + "type": "string" } ], "responses": { "200": { - "description": "The device network settings.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/NetworkSettings" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } @@ -1319,61 +1522,71 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/nodes": { "get": { + "operationId": "Nodes_ListByDataBoxEdgeDevice", "tags": [ - "Nodes" + "DataBoxEdgeDevices" ], "description": "Gets all the nodes currently configured under this Data Box Edge device", - "operationId": "Nodes_ListByDataBoxEdgeDevice", "parameters": [ { - "name": "deviceName", - "in": "path", - "description": "The device name.", - "required": true, - "type": "string" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/resourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/apiVersionParameter" + "name": "deviceName", + "in": "path", + "description": "The device name.", + "required": true, + "type": "string" } ], "responses": { "200": { - "description": "The collection of all nodes on the device.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/NodeList" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { "NodesGetAllInDevice": { "$ref": "./examples/NodeGetAllInDevice.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/operationsStatus/{name}": { "get": { + "operationId": "OperationsStatus_Get", "tags": [ "OperationsStatus" ], "summary": "Gets the details of a specified job on a Data Box Edge/Data Box Gateway device.", - "operationId": "OperationsStatus_Get", + "description": "Gets the details of a specified job on a Data Box Edge/Data Box Gateway device.", "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, { "name": "deviceName", "in": "path", @@ -1387,26 +1600,17 @@ "description": "The job name.", "required": true, "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" } ], "responses": { "200": { - "description": "The job details.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/Job" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } @@ -1421,87 +1625,89 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/orders": { "get": { + "operationId": "Orders_ListByDataBoxEdgeDevice", "tags": [ "Orders" ], "summary": "Lists all the orders related to a Data Box Edge/Data Box Gateway device.", - "operationId": "Orders_ListByDataBoxEdgeDevice", + "description": "Lists all the orders related to a Data Box Edge/Data Box Gateway device.", "parameters": [ { - "name": "deviceName", - "in": "path", - "description": "The device name.", - "required": true, - "type": "string" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/resourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/apiVersionParameter" + "name": "deviceName", + "in": "path", + "description": "The device name.", + "required": true, + "type": "string" } ], "responses": { "200": { - "description": "Lists all the orders for the Data Box Edge Device", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/OrderList" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { "OrderGetAllInDevice": { "$ref": "./examples/OrderGetAllInDevice.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/orders/default": { "get": { + "operationId": "Orders_Get", "tags": [ "Orders" ], "summary": "Gets a specific order by name.", - "operationId": "Orders_Get", + "description": "Gets a specific order by name.", "parameters": [ { - "name": "deviceName", - "in": "path", - "description": "The device name.", - "required": true, - "type": "string" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/resourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/apiVersionParameter" + "name": "deviceName", + "in": "path", + "description": "The device name.", + "required": true, + "type": "string" } ], "responses": { "200": { - "description": "The order details of a device.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/Order" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } @@ -1514,16 +1720,26 @@ } }, "put": { + "operationId": "Orders_CreateOrUpdate", "tags": [ "Orders" ], "summary": "Creates or updates an order.", - "operationId": "Orders_CreateOrUpdate", + "description": "Creates or updates an order.", "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, { "name": "deviceName", "in": "path", - "description": "The order details of a device.", + "description": "The device name.", "required": true, "type": "string" }, @@ -1535,124 +1751,146 @@ "schema": { "$ref": "#/definitions/Order" } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" } ], "responses": { "200": { - "description": "Successfully created or updated the order.", + "description": "Resource 'Order' update operation succeeded", "schema": { "$ref": "#/definitions/Order" } }, "202": { - "description": "Accepted the request to create or update the order." + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-long-running-operation": true, "x-ms-examples": { "OrderPut": { "$ref": "./examples/OrderPut.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/Order" + }, + "x-ms-long-running-operation": true }, "delete": { + "operationId": "Orders_Delete", "tags": [ "Orders" ], "summary": "Deletes the order related to the device.", - "operationId": "Orders_Delete", + "description": "Deletes the order related to the device.", "parameters": [ { - "name": "deviceName", - "in": "path", - "description": "The device name.", - "required": true, - "type": "string" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/resourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/apiVersionParameter" + "name": "deviceName", + "in": "path", + "description": "The device name.", + "required": true, + "type": "string" } ], "responses": { "200": { - "description": "Successfully deleted the order." + "description": "Resource deleted successfully." }, "202": { - "description": "Accepted the request to delete the order." + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } }, "204": { - "description": "The order is already deleted." + "description": "Resource does not exist." }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-long-running-operation": true, "x-ms-examples": { "OrderDelete": { "$ref": "./examples/OrderDelete.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/orders/default/listDCAccessCode": { "post": { + "operationId": "Orders_ListDCAccessCode", "tags": [ "Orders" ], "summary": "Gets the DCAccess Code", - "operationId": "Orders_ListDCAccessCode", + "description": "Gets the DCAccess Code", "parameters": [ { - "name": "deviceName", - "in": "path", - "description": "The device name", - "required": true, - "type": "string" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/resourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/apiVersionParameter" + "name": "deviceName", + "in": "path", + "description": "The device name.", + "required": true, + "type": "string" } ], "responses": { "200": { - "description": "DC Access code for the device", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/DCAccessCode" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } @@ -1667,61 +1905,70 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles": { "get": { + "operationId": "Roles_ListByDataBoxEdgeDevice", "tags": [ "Roles" ], "description": "Lists all the roles configured in a Data Box Edge/Data Box Gateway device.", - "operationId": "Roles_ListByDataBoxEdgeDevice", "parameters": [ { - "name": "deviceName", - "in": "path", - "description": "The device name.", - "required": true, - "type": "string" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/resourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/apiVersionParameter" + "name": "deviceName", + "in": "path", + "description": "The device name.", + "required": true, + "type": "string" } ], "responses": { "200": { - "description": "List of all the roles configured in the device.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/RoleList" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { "RoleGetAllInDevice": { "$ref": "./examples/RoleGetAllInDevice.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{name}": { "get": { + "operationId": "Roles_Get", "tags": [ "Roles" ], "description": "Gets a specific role by name.", - "operationId": "Roles_Get", "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, { "name": "deviceName", "in": "path", @@ -1735,26 +1982,17 @@ "description": "The role name.", "required": true, "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" } ], "responses": { "200": { - "description": "The role with the specified name in the given device.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/Role" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } @@ -1767,12 +2005,21 @@ } }, "put": { + "operationId": "Roles_CreateOrUpdate", "tags": [ "Roles" ], "description": "Create or update a role.", - "operationId": "Roles_CreateOrUpdate", "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, { "name": "deviceName", "in": "path", @@ -1795,48 +2042,63 @@ "schema": { "$ref": "#/definitions/Role" } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" } ], "responses": { "200": { - "description": "Successfully created or updated the role.", + "description": "Resource 'Role' update operation succeeded", "schema": { "$ref": "#/definitions/Role" } }, "202": { - "description": "Accepted the request to create or update the role." + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-long-running-operation": true, "x-ms-examples": { "RolePut": { "$ref": "./examples/RolePut.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/Role" + }, + "x-ms-long-running-operation": true }, "delete": { + "operationId": "Roles_Delete", "tags": [ "Roles" ], "description": "Deletes the role on the device.", - "operationId": "Roles_Delete", "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, { "name": "deviceName", "in": "path", @@ -1850,146 +2112,151 @@ "description": "The role name.", "required": true, "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" } ], "responses": { "200": { - "description": "Successfully deleted the role." + "description": "Resource deleted successfully." }, "202": { - "description": "Accepted the request to delete the role." + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } }, "204": { - "description": "The role is already deleted." + "description": "Resource does not exist." }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-long-running-operation": true, "x-ms-examples": { "RoleDelete": { "$ref": "./examples/RoleDelete.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/addons": { "get": { + "operationId": "Addons_ListByRole", "tags": [ "Addons" ], "description": "Lists all the addons configured in the role.", - "operationId": "Addons_ListByRole", "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, { "name": "deviceName", "in": "path", - "description": "The device name.", + "description": "The name of the device.", "required": true, "type": "string" }, { "name": "roleName", "in": "path", - "description": "The role name.", + "description": "The name of the role.", "required": true, "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" } ], "responses": { "200": { - "description": "List of all the addons configured in the role.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/AddonList" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { "RoleListAddOns": { "$ref": "./examples/RoleListAddOns.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/addons/{addonName}": { "get": { + "operationId": "Addons_Get", "tags": [ "Addons" ], "description": "Gets a specific addon by name.", - "operationId": "Addons_Get", "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, { "name": "deviceName", "in": "path", - "description": "The device name.", + "description": "The name of the device.", "required": true, "type": "string" }, { "name": "roleName", "in": "path", - "description": "The role name.", + "description": "The name of the role.", "required": true, "type": "string" }, { "name": "addonName", "in": "path", - "description": "The addon name.", + "description": "The name of the addon.", "required": true, "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" } ], "responses": { "200": { - "description": "The addon with the specified name in the role.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/Addon" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } @@ -2002,30 +2269,39 @@ } }, "put": { + "operationId": "Addons_CreateOrUpdate", "tags": [ "Addons" ], "description": "Create or update a addon.", - "operationId": "Addons_CreateOrUpdate", "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, { "name": "deviceName", "in": "path", - "description": "The device name.", + "description": "The name of the device.", "required": true, "type": "string" }, { "name": "roleName", "in": "path", - "description": "The role name.", + "description": "The name of the role.", "required": true, "type": "string" }, { "name": "addonName", "in": "path", - "description": "The addon name.", + "description": "The name of the addon.", "required": true, "type": "string" }, @@ -2037,201 +2313,223 @@ "schema": { "$ref": "#/definitions/Addon" } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" } ], "responses": { "200": { - "description": "Successfully created or updated the addon.", + "description": "Resource 'Addon' update operation succeeded", "schema": { "$ref": "#/definitions/Addon" } }, "202": { - "description": "Accepted the request to create or update the addon." + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-long-running-operation": true, "x-ms-examples": { "PutAddOns": { "$ref": "./examples/PutAddons.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/Addon" + }, + "x-ms-long-running-operation": true }, "delete": { + "operationId": "Addons_Delete", "tags": [ "Addons" ], "description": "Deletes the addon on the device.", - "operationId": "Addons_Delete", "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, { "name": "deviceName", "in": "path", - "description": "The device name.", + "description": "The name of the device.", "required": true, "type": "string" }, { "name": "roleName", "in": "path", - "description": "The role name.", + "description": "The name of the role.", "required": true, "type": "string" }, { "name": "addonName", "in": "path", - "description": "The addon name.", + "description": "The name of the addon.", "required": true, "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" } ], "responses": { "200": { - "description": "Successfully deleted the addon." + "description": "Resource deleted successfully." }, "202": { - "description": "Accepted the request to delete the addon." + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } }, "204": { - "description": "The addon is already deleted." + "description": "Resource does not exist." }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-long-running-operation": true, "x-ms-examples": { "DeleteAddOns": { "$ref": "./examples/DeleteAddons.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/monitoringConfig": { "get": { + "operationId": "MonitoringConfig_List", "tags": [ - "MonitoringConfig" + "MonitoringMetricConfigurations" ], "summary": "Lists metric configurations in a role.", - "operationId": "MonitoringConfig_List", + "description": "Lists metric configurations in a role.", "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, { "name": "deviceName", "in": "path", - "description": "The device name.", + "description": "The name of the device.", "required": true, "type": "string" }, { "name": "roleName", "in": "path", - "description": "The role name.", + "description": "The name of the role.", "required": true, "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" } ], "responses": { "200": { - "description": "The monitoring config details.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/MonitoringMetricConfigurationList" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { "ListMonitoringConfig": { "$ref": "./examples/ListMonitoringConfig.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/monitoringConfig/default": { "get": { + "operationId": "MonitoringConfig_Get", "tags": [ - "MonitoringConfig" + "MonitoringMetricConfigurations" ], "summary": "Gets a metric configuration of a role.", - "operationId": "MonitoringConfig_Get", + "description": "Gets a metric configuration of a role.", "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, { "name": "deviceName", "in": "path", - "description": "The device name.", + "description": "The name of the device.", "required": true, "type": "string" }, { "name": "roleName", "in": "path", - "description": "The role name.", + "description": "The name of the role.", "required": true, "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" } ], "responses": { "200": { - "description": "The monitoring config details.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/MonitoringMetricConfiguration" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } @@ -2244,23 +2542,33 @@ } }, "put": { + "operationId": "MonitoringConfig_CreateOrUpdate", "tags": [ - "MonitoringConfig" + "MonitoringMetricConfigurations" ], "summary": "Creates a new metric configuration or updates an existing one for a role.", - "operationId": "MonitoringConfig_CreateOrUpdate", + "description": "Creates a new metric configuration or updates an existing one for a role.", "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, { "name": "deviceName", "in": "path", - "description": "The device name.", + "description": "The name of the device.", "required": true, "type": "string" }, { "name": "roleName", "in": "path", - "description": "The role name.", + "description": "The name of the role.", "required": true, "type": "string" }, @@ -2272,152 +2580,196 @@ "schema": { "$ref": "#/definitions/MonitoringMetricConfiguration" } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" } ], "responses": { "200": { - "description": "Successfully created or updated the metrics configuration.", + "description": "Resource 'MonitoringMetricConfiguration' update operation succeeded", "schema": { "$ref": "#/definitions/MonitoringMetricConfiguration" } }, "202": { - "description": "Accepted the request to create or update the metrics configuration." + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-long-running-operation": true, "x-ms-examples": { "PutMonitoringConfig": { "$ref": "./examples/PutMonitoringConfig.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/MonitoringMetricConfiguration" + }, + "x-ms-long-running-operation": true }, "delete": { + "operationId": "MonitoringConfig_Delete", "tags": [ - "MonitoringConfig" + "MonitoringMetricConfigurations" ], "summary": "deletes a new metric configuration for a role.", - "operationId": "MonitoringConfig_Delete", + "description": "deletes a new metric configuration for a role.", "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, { "name": "deviceName", "in": "path", - "description": "The device name.", + "description": "The name of the device.", "required": true, "type": "string" }, { "name": "roleName", "in": "path", - "description": "The role name.", + "description": "The name of the role.", "required": true, "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" } ], "responses": { "200": { - "description": "Successfully deleted the metrics configuration." + "description": "Resource deleted successfully." }, "202": { - "description": "Accepted the request to delete the metrics configuration." + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } }, "204": { - "description": "The metrics configuration is already deleted." + "description": "Resource does not exist." }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-long-running-operation": true, "x-ms-examples": { "DeleteMonitoringConfig": { "$ref": "./examples/DeleteMonitoringConfig.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/scanForUpdates": { "post": { + "operationId": "Devices_ScanForUpdates", "tags": [ - "Devices" + "DataBoxEdgeDevices" ], - "summary": "Scans for updates on a Data Box Edge/Data Box Gateway device.", - "operationId": "Devices_ScanForUpdates", + "description": "Scans for updates on a Data Box Edge/Data Box Gateway device.", "parameters": [ { - "name": "deviceName", - "in": "path", - "description": "The device name.", - "required": true, - "type": "string" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/resourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/apiVersionParameter" + "name": "deviceName", + "in": "path", + "description": "The device name.", + "required": true, + "type": "string" } ], "responses": { "200": { - "description": "Successfully scanned the device for updates." + "description": "The request has succeeded." }, "202": { - "description": "Accepted the request to scan for updates on the device." + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-long-running-operation": true, "x-ms-examples": { "ScanForUpdatesPost": { "$ref": "./examples/ScanForUpdatesPost.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/securitySettings/default/update": { "post": { + "operationId": "Devices_CreateOrUpdateSecuritySettings", "tags": [ - "Devices" + "DataBoxEdgeDevices" ], "description": "Updates the security settings on a Data Box Edge/Data Box Gateway device.", - "operationId": "Devices_CreateOrUpdateSecuritySettings", "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, { "name": "deviceName", "in": "path", @@ -2433,96 +2785,112 @@ "schema": { "$ref": "#/definitions/SecuritySettings" } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" } ], "responses": { "202": { - "description": "Accepted the request to update the security settings." + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } }, "204": { - "description": "Updated the security settings." + "description": "There is no content to send for this request, but the headers may be useful." }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-long-running-operation": true, "x-ms-examples": { "CreateOrUpdateSecuritySettings": { "$ref": "./examples/SecuritySettingsUpdatePost.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/shares": { "get": { + "operationId": "Shares_ListByDataBoxEdgeDevice", "tags": [ "Shares" ], "summary": "Lists all the shares in a Data Box Edge/Data Box Gateway device.", - "operationId": "Shares_ListByDataBoxEdgeDevice", + "description": "Lists all the shares in a Data Box Edge/Data Box Gateway device.", "parameters": [ { - "name": "deviceName", - "in": "path", - "description": "The device name.", - "required": true, - "type": "string" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/resourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/apiVersionParameter" + "name": "deviceName", + "in": "path", + "description": "The device name.", + "required": true, + "type": "string" } ], "responses": { "200": { - "description": "The collection of all the shares on the device.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/ShareList" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { "ShareGetAllInDevice": { "$ref": "./examples/ShareGetAllInDevice.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/shares/{name}": { "get": { + "operationId": "Shares_Get", "tags": [ "Shares" ], "summary": "Gets a share by name.", - "operationId": "Shares_Get", + "description": "Gets a share by name.", "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, { "name": "deviceName", "in": "path", @@ -2536,26 +2904,17 @@ "description": "The share name.", "required": true, "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" } ], "responses": { "200": { - "description": "The share details.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/Share" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } @@ -2568,12 +2927,22 @@ } }, "put": { + "operationId": "Shares_CreateOrUpdate", "tags": [ "Shares" ], "summary": "Creates a new share or updates an existing share on the device.", - "operationId": "Shares_CreateOrUpdate", + "description": "Creates a new share or updates an existing share on the device.", "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, { "name": "deviceName", "in": "path", @@ -2596,48 +2965,63 @@ "schema": { "$ref": "#/definitions/Share" } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" } ], "responses": { "200": { - "description": "Successfully created or updated the share.", + "description": "Resource 'Share' update operation succeeded", "schema": { "$ref": "#/definitions/Share" } }, "202": { - "description": "Accepted the request to create or update the share." + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-long-running-operation": true, "x-ms-examples": { "SharePut": { "$ref": "./examples/SharePut.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/Share" + }, + "x-ms-long-running-operation": true }, "delete": { + "operationId": "Shares_Delete", "tags": [ "Shares" ], "description": "Deletes the share on the Data Box Edge/Data Box Gateway device.", - "operationId": "Shares_Delete", "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, { "name": "deviceName", "in": "path", @@ -2651,50 +3035,65 @@ "description": "The share name.", "required": true, "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" } ], "responses": { "200": { - "description": "Successfully deleted the share." + "description": "Resource deleted successfully." }, "202": { - "description": "Accepted the request to delete the share." + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } }, "204": { - "description": "The share is already deleted." + "description": "Resource does not exist." }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-long-running-operation": true, "x-ms-examples": { "ShareDelete": { "$ref": "./examples/ShareDelete.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/shares/{name}/refresh": { "post": { + "operationId": "Shares_Refresh", "tags": [ "Shares" ], "summary": "Refreshes the share metadata with the data from the cloud.", - "operationId": "Shares_Refresh", + "description": "Refreshes the share metadata with the data from the cloud.", "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, { "name": "deviceName", "in": "path", @@ -2708,96 +3107,111 @@ "description": "The share name.", "required": true, "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" } ], "responses": { "200": { - "description": "Successfully refreshed the share on the device." + "description": "The request has succeeded." }, "202": { - "description": "Accepted the request to refresh the share on the device." + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-long-running-operation": true, "x-ms-examples": { "ShareRefreshPost": { "$ref": "./examples/ShareRefreshPost.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccountCredentials": { "get": { + "operationId": "StorageAccountCredentials_ListByDataBoxEdgeDevice", "tags": [ "StorageAccountCredentials" ], "summary": "Gets all the storage account credentials in a Data Box Edge/Data Box Gateway device.", - "operationId": "StorageAccountCredentials_ListByDataBoxEdgeDevice", + "description": "Gets all the storage account credentials in a Data Box Edge/Data Box Gateway device.", "parameters": [ { - "name": "deviceName", - "in": "path", - "description": "The device name.", - "required": true, - "type": "string" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/resourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/apiVersionParameter" + "name": "deviceName", + "in": "path", + "description": "The device name.", + "required": true, + "type": "string" } ], "responses": { "200": { - "description": "The collection of storage account credentials.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/StorageAccountCredentialList" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { "SACGetAllInDevice": { "$ref": "./examples/SACGetAllInDevice.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccountCredentials/{name}": { "get": { + "operationId": "StorageAccountCredentials_Get", "tags": [ "StorageAccountCredentials" ], "description": "Gets the properties of the specified storage account credential.", - "operationId": "StorageAccountCredentials_Get", "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, { "name": "deviceName", "in": "path", @@ -2811,26 +3225,17 @@ "description": "The storage account credential name.", "required": true, "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" } ], "responses": { "200": { - "description": "The storage account credential properties.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/StorageAccountCredential" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } @@ -2843,12 +3248,21 @@ } }, "put": { + "operationId": "StorageAccountCredentials_CreateOrUpdate", "tags": [ "StorageAccountCredentials" ], "description": "Creates or updates the storage account credential.", - "operationId": "StorageAccountCredentials_CreateOrUpdate", "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, { "name": "deviceName", "in": "path", @@ -2871,48 +3285,63 @@ "schema": { "$ref": "#/definitions/StorageAccountCredential" } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" } ], "responses": { "200": { - "description": "Successfully created or updated the storage account credential.", + "description": "Resource 'StorageAccountCredential' update operation succeeded", "schema": { "$ref": "#/definitions/StorageAccountCredential" } }, "202": { - "description": "Accepted the request to create or update the storage account credential." + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-long-running-operation": true, "x-ms-examples": { "SACPut": { "$ref": "./examples/SACPut.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/StorageAccountCredential" + }, + "x-ms-long-running-operation": true }, "delete": { + "operationId": "StorageAccountCredentials_Delete", "tags": [ "StorageAccountCredentials" ], "description": "Deletes the storage account credential.", - "operationId": "StorageAccountCredentials_Delete", "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, { "name": "deviceName", "in": "path", @@ -2926,99 +3355,115 @@ "description": "The storage account credential name.", "required": true, "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" } ], "responses": { "200": { - "description": "Successfully deleted the storage account credential." + "description": "Resource deleted successfully." }, "202": { - "description": "Accepted the request to delete the storage account credential." + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } }, "204": { - "description": "The storage account credential is already deleted." + "description": "Resource does not exist." }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-long-running-operation": true, "x-ms-examples": { "SACDelete": { "$ref": "./examples/SACDelete.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts": { "get": { + "operationId": "StorageAccounts_ListByDataBoxEdgeDevice", "tags": [ "StorageAccounts" ], "summary": "Lists all the StorageAccounts in a Data Box Edge/Data Box Gateway device.", - "operationId": "StorageAccounts_ListByDataBoxEdgeDevice", + "description": "Lists all the StorageAccounts in a Data Box Edge/Data Box Gateway device.", "parameters": [ { - "name": "deviceName", - "in": "path", - "description": "The device name.", - "required": true, - "type": "string" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/resourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/apiVersionParameter" + "name": "deviceName", + "in": "path", + "description": "The device name.", + "required": true, + "type": "string" } ], "responses": { "200": { - "description": "The collection of all the StorageAccounts on the device.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/StorageAccountList" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { "StorageAccountGetAllInDevice": { "$ref": "./examples/StorageAccountGetAllInDevice.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}": { "get": { + "operationId": "StorageAccounts_Get", "tags": [ "StorageAccounts" ], "summary": "Gets a StorageAccount by name.", - "operationId": "StorageAccounts_Get", + "description": "Gets a StorageAccount by name.", "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, { "name": "deviceName", "in": "path", @@ -3032,26 +3477,17 @@ "description": "The storage account name.", "required": true, "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" } ], "responses": { "200": { - "description": "The storage account details.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/StorageAccount" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } @@ -3064,12 +3500,22 @@ } }, "put": { + "operationId": "StorageAccounts_CreateOrUpdate", "tags": [ "StorageAccounts" ], "summary": "Creates a new StorageAccount or updates an existing StorageAccount on the device.", - "operationId": "StorageAccounts_CreateOrUpdate", + "description": "Creates a new StorageAccount or updates an existing StorageAccount on the device.", "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, { "name": "deviceName", "in": "path", @@ -3080,7 +3526,7 @@ { "name": "storageAccountName", "in": "path", - "description": "The StorageAccount name.", + "description": "The storage account name.", "required": true, "type": "string" }, @@ -3092,48 +3538,63 @@ "schema": { "$ref": "#/definitions/StorageAccount" } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" } ], "responses": { "200": { - "description": "Successfully created or updated the StorageAccount.", + "description": "Resource 'StorageAccount' update operation succeeded", "schema": { "$ref": "#/definitions/StorageAccount" } }, "202": { - "description": "Accepted the request to create or update the StorageAccount." + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-long-running-operation": true, "x-ms-examples": { "StorageAccountPut": { "$ref": "./examples/StorageAccountPut.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/StorageAccount" + }, + "x-ms-long-running-operation": true }, "delete": { + "operationId": "StorageAccounts_Delete", "tags": [ "StorageAccounts" ], "description": "Deletes the StorageAccount on the Data Box Edge/Data Box Gateway device.", - "operationId": "StorageAccounts_Delete", "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, { "name": "deviceName", "in": "path", @@ -3144,50 +3605,65 @@ { "name": "storageAccountName", "in": "path", - "description": "The StorageAccount name.", + "description": "The storage account name.", "required": true, "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" } ], "responses": { "202": { - "description": "Accepted the request to delete the StorageAccount." + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } }, "204": { - "description": "The StorageAccount is already deleted." + "description": "Resource does not exist." }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-long-running-operation": true, "x-ms-examples": { "StorageAccountDelete": { "$ref": "./examples/StorageAccountDelete.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}/containers": { "get": { + "operationId": "Containers_ListByStorageAccount", "tags": [ "Containers" ], "summary": "Lists all the containers of a storage Account in a Data Box Edge/Data Box Gateway device.", - "operationId": "Containers_ListByStorageAccount", + "description": "Lists all the containers of a storage Account in a Data Box Edge/Data Box Gateway device.", "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, { "name": "deviceName", "in": "path", @@ -3198,52 +3674,53 @@ { "name": "storageAccountName", "in": "path", - "description": "The storage Account name.", + "description": "The storage account name.", "required": true, "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" } ], "responses": { "200": { - "description": "The collection of all the containers on the device.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/ContainerList" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { "ContainerListAllInDevice": { "$ref": "./examples/ContainerListAllInDevice.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}/containers/{containerName}": { "get": { + "operationId": "Containers_Get", "tags": [ "Containers" ], "summary": "Gets a container by name.", - "operationId": "Containers_Get", + "description": "Gets a container by name.", "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, { "name": "deviceName", "in": "path", @@ -3254,7 +3731,7 @@ { "name": "storageAccountName", "in": "path", - "description": "The Storage Account Name", + "description": "The storage account name.", "required": true, "type": "string" }, @@ -3264,26 +3741,17 @@ "description": "The container Name", "required": true, "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" } ], "responses": { "200": { - "description": "The container details.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/Container" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } @@ -3296,12 +3764,22 @@ } }, "put": { + "operationId": "Containers_CreateOrUpdate", "tags": [ "Containers" ], "summary": "Creates a new container or updates an existing container on the device.", - "operationId": "Containers_CreateOrUpdate", + "description": "Creates a new container or updates an existing container on the device.", "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, { "name": "deviceName", "in": "path", @@ -3312,14 +3790,14 @@ { "name": "storageAccountName", "in": "path", - "description": "The Storage Account Name", + "description": "The storage account name.", "required": true, "type": "string" }, { "name": "containerName", "in": "path", - "description": "The container name.", + "description": "The container Name", "required": true, "type": "string" }, @@ -3331,48 +3809,63 @@ "schema": { "$ref": "#/definitions/Container" } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" } ], "responses": { "200": { - "description": "Successfully created or updated the container.", + "description": "Resource 'Container' update operation succeeded", "schema": { "$ref": "#/definitions/Container" } }, "202": { - "description": "Accepted the request to create or update the container." + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-long-running-operation": true, "x-ms-examples": { "ContainerPut": { "$ref": "./examples/ContainerPut.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/Container" + }, + "x-ms-long-running-operation": true }, "delete": { + "operationId": "Containers_Delete", "tags": [ "Containers" ], "description": "Deletes the container on the Data Box Edge/Data Box Gateway device.", - "operationId": "Containers_Delete", "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, { "name": "deviceName", "in": "path", @@ -3383,57 +3876,72 @@ { "name": "storageAccountName", "in": "path", - "description": "The Storage Account Name", + "description": "The storage account name.", "required": true, "type": "string" }, { "name": "containerName", "in": "path", - "description": "The container name.", + "description": "The container Name", "required": true, "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" } ], "responses": { "202": { - "description": "Accepted the request to delete the container." + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } }, "204": { - "description": "The container is already deleted." + "description": "Resource does not exist." }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-long-running-operation": true, "x-ms-examples": { "ContainerDelete": { "$ref": "./examples/ContainerDelete.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}/containers/{containerName}/refresh": { "post": { + "operationId": "Containers_Refresh", "tags": [ "Containers" ], "summary": "Refreshes the container metadata with the data from the cloud.", - "operationId": "Containers_Refresh", + "description": "Refreshes the container metadata with the data from the cloud.", "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, { "name": "deviceName", "in": "path", @@ -3444,72 +3952,148 @@ { "name": "storageAccountName", "in": "path", - "description": "The Storage Account Name", + "description": "The storage account name.", "required": true, "type": "string" }, { "name": "containerName", "in": "path", - "description": "The container name.", + "description": "The container Name", "required": true, "type": "string" + } + ], + "responses": { + "200": { + "description": "The request has succeeded." + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "ContainerRefresh": { + "$ref": "./examples/ContainerRefresh.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/triggerSupportPackage": { + "post": { + "operationId": "SupportPackages_TriggerSupportPackage", + "tags": [ + "DataBoxEdgeDevices" + ], + "summary": "Triggers support package on the device", + "description": "Triggers support package on the device", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/resourceGroupNameParameter" + "name": "deviceName", + "in": "path", + "description": "The device name.", + "required": true, + "type": "string" }, { - "$ref": "#/parameters/apiVersionParameter" + "name": "triggerSupportPackageRequest", + "in": "body", + "description": "The trigger support package request object", + "required": true, + "schema": { + "$ref": "#/definitions/TriggerSupportPackageRequest" + } } ], "responses": { "200": { - "description": "Successfully refreshed the container on the device." + "description": "The request has succeeded." }, "202": { - "description": "Accepted the request to refresh the container on the device." + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-long-running-operation": true, "x-ms-examples": { - "ContainerRefresh": { - "$ref": "./examples/ContainerRefresh.json" + "TriggerSupportPackage": { + "$ref": "./examples/TriggerSupportPackage.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/triggers": { "get": { + "operationId": "Triggers_ListByDataBoxEdgeDevice", "tags": [ "Triggers" ], "description": "Lists all the triggers configured in the device.", - "operationId": "Triggers_ListByDataBoxEdgeDevice", "parameters": [ { - "name": "deviceName", - "in": "path", - "description": "The device name.", - "required": true, - "type": "string" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/resourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/apiVersionParameter" + "name": "deviceName", + "in": "path", + "description": "The device name.", + "required": true, + "type": "string" }, { "name": "$filter", @@ -3521,36 +4105,45 @@ ], "responses": { "200": { - "description": "List all the triggers configured in the device", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/TriggerList" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { "TriggerGetAllInDevice": { "$ref": "./examples/TriggerGetAllInDevice.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/triggers/{name}": { "get": { + "operationId": "Triggers_Get", "tags": [ "Triggers" ], "description": "Get a specific trigger by name.", - "operationId": "Triggers_Get", "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, { "name": "deviceName", "in": "path", @@ -3564,26 +4157,17 @@ "description": "The trigger name.", "required": true, "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" } ], "responses": { "200": { - "description": "The trigger.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/Trigger" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } @@ -3596,16 +4180,25 @@ } }, "put": { + "operationId": "Triggers_CreateOrUpdate", "tags": [ "Triggers" ], "description": "Creates or updates a trigger.", - "operationId": "Triggers_CreateOrUpdate", "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, { "name": "deviceName", "in": "path", - "description": "Creates or updates a trigger", + "description": "The device name.", "required": true, "type": "string" }, @@ -3624,48 +4217,63 @@ "schema": { "$ref": "#/definitions/Trigger" } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" } ], "responses": { "200": { - "description": "Successfully created or updated the trigger.", + "description": "Resource 'Trigger' update operation succeeded", "schema": { "$ref": "#/definitions/Trigger" } }, "202": { - "description": "Accepted the request to create or update the trigger." + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-long-running-operation": true, "x-ms-examples": { "TriggerPut": { "$ref": "./examples/TriggerPut.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/Trigger" + }, + "x-ms-long-running-operation": true }, "delete": { + "operationId": "Triggers_Delete", "tags": [ "Triggers" ], "description": "Deletes the trigger on the gateway device.", - "operationId": "Triggers_Delete", "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, { "name": "deviceName", "in": "path", @@ -3679,106 +4287,64 @@ "description": "The trigger name.", "required": true, "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" } ], "responses": { "200": { - "description": "Successfully deleted the trigger." + "description": "Resource deleted successfully." }, "202": { - "description": "Accepted the request to delete the trigger." + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } }, "204": { - "description": "The trigger is already deleted." + "description": "Resource does not exist." }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-long-running-operation": true, "x-ms-examples": { "TriggerDelete": { "$ref": "./examples/TriggerDelete.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/triggerSupportPackage": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/updateExtendedInformation": { "post": { + "operationId": "Devices_UpdateExtendedInformation", "tags": [ - "SupportPackages" + "DataBoxEdgeDevices" ], - "summary": "Triggers support package on the device", - "operationId": "SupportPackages_TriggerSupportPackage", + "description": "Gets additional information for the specified Data Box Edge/Data Box Gateway device.", "parameters": [ { - "name": "deviceName", - "in": "path", - "description": "The device name.", - "required": true, - "type": "string" - }, - { - "name": "triggerSupportPackageRequest", - "in": "body", - "description": "The trigger support package request object", - "required": true, - "schema": { - "$ref": "#/definitions/TriggerSupportPackageRequest" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/resourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully triggered support package on the device." - }, - "202": { - "description": "Accepted the request to trigger support package on the device." + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "TriggerSupportPackage": { - "$ref": "./examples/TriggerSupportPackage.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/updateExtendedInformation": { - "post": { - "tags": [ - "Devices" - ], - "description": "Gets additional information for the specified Data Box Edge/Data Box Gateway device.", - "operationId": "Devices_UpdateExtendedInformation", - "parameters": [ { "name": "deviceName", "in": "path", @@ -3794,26 +4360,17 @@ "schema": { "$ref": "#/definitions/DataBoxEdgeDeviceExtendedInfoPatch" } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" } ], "responses": { "200": { - "description": "Modify additional information.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/DataBoxEdgeDeviceExtendedInfo" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } @@ -3828,38 +4385,39 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/updateSummary/default": { "get": { + "operationId": "Devices_GetUpdateSummary", "tags": [ - "Devices" + "UpdateSummaries" ], "summary": "Gets information about the availability of updates based on the last scan of the device. It also gets information about any ongoing download or install jobs on the device.", - "operationId": "Devices_GetUpdateSummary", + "description": "Gets information about the availability of updates based on the last scan of the device. It also gets information about any ongoing download or install jobs on the device.", "parameters": [ { - "name": "deviceName", - "in": "path", - "description": "The device name.", - "required": true, - "type": "string" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/resourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/apiVersionParameter" + "name": "deviceName", + "in": "path", + "description": "The device name.", + "required": true, + "type": "string" } ], "responses": { "200": { - "description": "The update summary.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/UpdateSummary" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } @@ -3874,12 +4432,21 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/uploadCertificate": { "post": { + "operationId": "Devices_UploadCertificate", "tags": [ - "Devices" + "DataBoxEdgeDevices" ], "description": "Uploads registration certificate for the device.", - "operationId": "Devices_UploadCertificate", "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, { "name": "deviceName", "in": "path", @@ -3895,26 +4462,17 @@ "schema": { "$ref": "#/definitions/UploadCertificateRequest" } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" } ], "responses": { "200": { - "description": "Successfully uploaded the registration certificate.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/UploadCertificateResponse" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } @@ -3929,27 +4487,27 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/users": { "get": { + "operationId": "Users_ListByDataBoxEdgeDevice", "tags": [ "Users" ], "description": "Gets all the users registered on a Data Box Edge/Data Box Gateway device.", - "operationId": "Users_ListByDataBoxEdgeDevice", "parameters": [ { - "name": "deviceName", - "in": "path", - "description": "The device name.", - "required": true, - "type": "string" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/resourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/apiVersionParameter" + "name": "deviceName", + "in": "path", + "description": "The device name.", + "required": true, + "type": "string" }, { "name": "$filter", @@ -3961,36 +4519,45 @@ ], "responses": { "200": { - "description": "The collection of all users on the device.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/UserList" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { "UserGetAllInDevice": { "$ref": "./examples/UserGetAllInDevice.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/users/{name}": { "get": { + "operationId": "Users_Get", "tags": [ "Users" ], "description": "Gets the properties of the specified user.", - "operationId": "Users_Get", "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, { "name": "deviceName", "in": "path", @@ -4004,26 +4571,17 @@ "description": "The user name.", "required": true, "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" } ], "responses": { "200": { - "description": "The user details.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/User" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } @@ -4036,12 +4594,21 @@ } }, "put": { + "operationId": "Users_CreateOrUpdate", "tags": [ "Users" ], "description": "Creates a new user or updates an existing user's information on a Data Box Edge/Data Box Gateway device.", - "operationId": "Users_CreateOrUpdate", "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, { "name": "deviceName", "in": "path", @@ -4064,48 +4631,63 @@ "schema": { "$ref": "#/definitions/User" } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" } ], "responses": { "200": { - "description": "Successfully created or updated the user.", + "description": "Resource 'User' update operation succeeded", "schema": { "$ref": "#/definitions/User" } }, "202": { - "description": "Accepted the request to create or update the user." + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-long-running-operation": true, "x-ms-examples": { "UserPut": { "$ref": "./examples/UserPut.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/User" + }, + "x-ms-long-running-operation": true }, "delete": { + "operationId": "Users_Delete", "tags": [ "Users" ], "description": "Deletes the user on a databox edge/gateway device.", - "operationId": "Users_Delete", "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, { "name": "deviceName", "in": "path", @@ -4119,237 +4701,365 @@ "description": "The user name.", "required": true, "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" } ], "responses": { "200": { - "description": "Successfully deleted the user." + "description": "Resource deleted successfully." }, "202": { - "description": "Accepted the request to delete the user." + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } }, "204": { - "description": "The user is already deleted." + "description": "Resource does not exist." }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-long-running-operation": true, "x-ms-examples": { "UserDelete": { "$ref": "./examples/UserDelete.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true } } }, "definitions": { - "Addon": { - "description": "Role Addon", - "required": [ - "kind" - ], + "ARMBaseModel": { "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ARMBaseModel" - } - ], + "description": "Represents the base class for all object models.", "properties": { - "kind": { - "description": "Addon type.", - "enum": [ - "IotEdge", - "ArcForKubernetes" - ], + "id": { "type": "string", - "x-ms-enum": { - "name": "AddonType", - "modelAsString": true - } + "description": "The path ID that uniquely identifies the object.", + "readOnly": true }, - "systemData": { - "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "description": "Metadata pertaining to creation and last modification of Addon", + "name": { + "type": "string", + "description": "The object name.", "readOnly": true - } - }, - "discriminator": "kind" - }, - "AddonList": { - "description": "Collection of all the Role addon on the Azure Stack Edge device.", - "type": "object", - "properties": { - "value": { - "description": "The Value.", - "uniqueItems": false, - "type": "array", - "items": { - "$ref": "#/definitions/Addon" - }, - "readOnly": true, - "x-ms-identifiers": [] }, - "nextLink": { - "description": "Link to the next set of results.", + "type": { "type": "string", + "description": "The hierarchical type of the object.", "readOnly": true } } }, - "Address": { - "description": "The shipping address of the customer.", - "required": [ - "country" + "AccessLevel": { + "type": "string", + "description": "Access level allowed for this remote application type", + "enum": [ + "None", + "ReadOnly", + "ReadWrite", + "FullAccess" ], - "type": "object", - "properties": { - "addressLine1": { - "description": "The address line1.", - "type": "string" - }, - "addressLine2": { - "description": "The address line2.", - "type": "string" - }, - "addressLine3": { - "description": "The address line3.", - "type": "string" - }, - "postalCode": { - "description": "The postal code.", - "type": "string" - }, - "city": { - "description": "The city name.", - "type": "string" - }, - "state": { - "description": "The state name.", - "type": "string" - }, - "country": { - "description": "The country name.", - "type": "string" - } + "x-ms-enum": { + "name": "AccessLevel", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None" + }, + { + "name": "ReadOnly", + "value": "ReadOnly" + }, + { + "name": "ReadWrite", + "value": "ReadWrite" + }, + { + "name": "FullAccess", + "value": "FullAccess" + } + ] } }, - "Alert": { - "description": "Alert on the data box edge/gateway device.", + "AccountType": { + "type": "string", + "description": "Type of storage accessed on the storage account.", + "enum": [ + "GeneralPurposeStorage", + "BlobStorage" + ], + "x-ms-enum": { + "name": "AccountType", + "modelAsString": true, + "values": [ + { + "name": "GeneralPurposeStorage", + "value": "GeneralPurposeStorage" + }, + { + "name": "BlobStorage", + "value": "BlobStorage" + } + ] + } + }, + "Addon": { "type": "object", + "description": "Role Addon", + "properties": { + "kind": { + "$ref": "#/definitions/AddonType", + "description": "Addon type.", + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "discriminator": "kind", + "required": [ + "kind" + ], "allOf": [ { - "$ref": "#/definitions/ARMBaseModel" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" } + ] + }, + "AddonList": { + "type": "object", + "description": "Collection of all the Role addon on the Azure Stack Edge device.", + "properties": { + "value": { + "type": "array", + "description": "The Addon items on this page", + "items": { + "$ref": "#/definitions/Addon" + }, + "readOnly": true + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "AddonState": { + "type": "string", + "description": "Addon Provisioning State", + "enum": [ + "Invalid", + "Creating", + "Created", + "Updating", + "Reconfiguring", + "Failed", + "Deleting" ], + "x-ms-enum": { + "name": "AddonState", + "modelAsString": true, + "values": [ + { + "name": "Invalid", + "value": "Invalid" + }, + { + "name": "Creating", + "value": "Creating" + }, + { + "name": "Created", + "value": "Created" + }, + { + "name": "Updating", + "value": "Updating" + }, + { + "name": "Reconfiguring", + "value": "Reconfiguring" + }, + { + "name": "Failed", + "value": "Failed" + }, + { + "name": "Deleting", + "value": "Deleting" + } + ] + } + }, + "AddonType": { + "type": "string", + "description": "Addon type.", + "enum": [ + "IotEdge", + "ArcForKubernetes" + ], + "x-ms-enum": { + "name": "AddonType", + "modelAsString": true, + "values": [ + { + "name": "IotEdge", + "value": "IotEdge" + }, + { + "name": "ArcForKubernetes", + "value": "ArcForKubernetes" + } + ] + } + }, + "Address": { + "type": "object", + "description": "The shipping address of the customer.", + "properties": { + "addressLine1": { + "type": "string", + "description": "The address line1." + }, + "addressLine2": { + "type": "string", + "description": "The address line2." + }, + "addressLine3": { + "type": "string", + "description": "The address line3." + }, + "postalCode": { + "type": "string", + "description": "The postal code." + }, + "city": { + "type": "string", + "description": "The city name." + }, + "state": { + "type": "string", + "description": "The state name." + }, + "country": { + "type": "string", + "description": "The country name." + } + }, + "required": [ + "country" + ] + }, + "Alert": { + "type": "object", + "description": "Alert on the data box edge/gateway device.", "properties": { "properties": { "$ref": "#/definitions/AlertProperties", "description": "Properties of alert.", "readOnly": true, "x-ms-client-flatten": true - }, - "systemData": { - "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "description": "Metadata pertaining to creation and last modification of Alert", - "readOnly": true } - } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] }, "AlertErrorDetails": { - "description": "Error details for the alert.", "type": "object", + "description": "Error details for the alert.", "properties": { "errorCode": { - "description": "Error code.", "type": "string", + "description": "Error code.", "readOnly": true }, "errorMessage": { - "description": "Error Message.", "type": "string", + "description": "Error Message.", "readOnly": true }, "occurrences": { + "type": "integer", "format": "int32", "description": "Number of occurrences.", - "type": "integer", "readOnly": true } } }, "AlertList": { - "description": "Collection of alerts.", "type": "object", + "description": "Collection of alerts.", "properties": { "value": { - "description": "The value.", - "uniqueItems": false, "type": "array", + "description": "The Alert items on this page", "items": { "$ref": "#/definitions/Alert" }, - "readOnly": true, - "x-ms-identifiers": [] + "readOnly": true }, "nextLink": { - "description": "Link to the next set of results.", "type": "string", - "readOnly": true + "format": "uri", + "description": "The link to the next page of items" } - } + }, + "required": [ + "value" + ] }, "AlertProperties": { - "description": "Properties of alert.", "type": "object", + "description": "Properties of alert.", "properties": { "title": { - "description": "Alert title.", "type": "string", + "description": "Alert title.", "readOnly": true }, "alertType": { - "description": "Alert type.", "type": "string", + "description": "Alert type.", "readOnly": true }, "appearedAtDateTime": { + "type": "string", "format": "date-time", "description": "UTC time when the alert appeared.", - "type": "string", "readOnly": true }, "recommendation": { - "description": "Alert recommendation.", "type": "string", + "description": "Alert recommendation.", "readOnly": true }, "severity": { + "$ref": "#/definitions/AlertSeverity", "description": "Severity of the alert.", - "enum": [ - "Informational", - "Warning", - "Critical" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "AlertSeverity", - "modelAsString": true - } + "readOnly": true }, "errorDetails": { "$ref": "#/definitions/AlertErrorDetails", @@ -4357,8 +5067,8 @@ "readOnly": true }, "detailedInformation": { - "description": "Alert details.", "type": "object", + "description": "Alert details.", "additionalProperties": { "type": "string" }, @@ -4366,388 +5076,350 @@ } } }, - "ArcAddon": { - "description": "Arc Addon.", - "required": [ - "properties", - "kind" + "AlertSeverity": { + "type": "string", + "description": "Severity of the alert.", + "enum": [ + "Informational", + "Warning", + "Critical" ], + "x-ms-enum": { + "name": "AlertSeverity", + "modelAsString": true, + "values": [ + { + "name": "Informational", + "value": "Informational" + }, + { + "name": "Warning", + "value": "Warning" + }, + { + "name": "Critical", + "value": "Critical" + } + ] + } + }, + "ArcAddon": { "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Addon" - } - ], + "description": "Arc Addon.", "properties": { "properties": { "$ref": "#/definitions/ArcAddonProperties", "description": "Properties specific to Arc addon.", "x-ms-client-flatten": true - }, - "id": { - "description": "The path ID that uniquely identifies the object.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "The object name.", - "type": "string", - "readOnly": true - }, - "type": { - "description": "The hierarchical type of the object.", - "type": "string", - "readOnly": true } }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "#/definitions/Addon" + } + ], "x-ms-discriminator-value": "ArcForKubernetes" }, "ArcAddonProperties": { - "description": "Arc addon properties.", - "required": [ - "subscriptionId", - "resourceGroupName", - "resourceName", - "resourceLocation" - ], "type": "object", + "description": "Arc addon properties.", "properties": { "subscriptionId": { - "description": "Arc resource subscription Id", - "type": "string" + "type": "string", + "description": "Arc resource subscription Id" }, "resourceGroupName": { - "description": "Arc resource group name", - "type": "string" + "type": "string", + "description": "Arc resource group name" }, "resourceName": { - "description": "Arc resource Name", - "type": "string" + "type": "string", + "description": "Arc resource Name" }, "resourceLocation": { - "description": "Arc resource location", - "type": "string" + "type": "string", + "description": "Arc resource location" }, "version": { - "description": "Arc resource version", "type": "string", + "description": "Arc resource version", "readOnly": true }, "hostPlatform": { + "$ref": "#/definitions/PlatformType", "description": "Host OS supported by the Arc addon.", - "enum": [ - "Windows", - "Linux" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "PlatformType", - "modelAsString": true - } + "readOnly": true }, "hostPlatformType": { + "$ref": "#/definitions/HostPlatformType", "description": "Platform where the runtime is hosted.", - "enum": [ - "KubernetesCluster", - "LinuxVM" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "HostPlatformType", - "modelAsString": true - } + "readOnly": true }, "provisioningState": { + "$ref": "#/definitions/AddonState", "description": "Addon Provisioning State", - "enum": [ - "Invalid", - "Creating", - "Created", - "Updating", - "Reconfiguring", - "Failed", - "Deleting" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "AddonState", - "modelAsString": true - } + "readOnly": true } - } + }, + "required": [ + "subscriptionId", + "resourceGroupName", + "resourceName", + "resourceLocation" + ] }, - "ARMBaseModel": { - "description": "Represents the base class for all object models.", + "AsymmetricEncryptedSecret": { "type": "object", + "description": "Represent the secrets intended for encryption with asymmetric key pair.", "properties": { - "id": { - "description": "The path ID that uniquely identifies the object.", + "value": { "type": "string", - "readOnly": true + "description": "The value of the secret." }, - "name": { - "description": "The object name.", + "encryptionCertThumbprint": { "type": "string", - "readOnly": true + "format": "password", + "description": "Thumbprint certificate used to encrypt \\\"Value\\\". If the value is unencrypted, it will be null.", + "x-ms-secret": true }, - "type": { - "description": "The hierarchical type of the object.", - "type": "string", - "readOnly": true + "encryptionAlgorithm": { + "$ref": "#/definitions/EncryptionAlgorithm", + "description": "The algorithm used to encrypt \"Value\"." } }, - "x-ms-azure-resource": true - }, - "AsymmetricEncryptedSecret": { - "description": "Represent the secrets intended for encryption with asymmetric key pair.", "required": [ "value", "encryptionAlgorithm" - ], + ] + }, + "Authentication": { "type": "object", + "description": "Authentication mechanism for IoT devices.", "properties": { - "value": { - "description": "The value of the secret.", - "type": "string" - }, - "encryptionCertThumbprint": { - "description": "Thumbprint certificate used to encrypt \\\"Value\\\". If the value is unencrypted, it will be null.", - "x-ms-secret": true, - "type": "string" - }, - "encryptionAlgorithm": { - "description": "The algorithm used to encrypt \"Value\".", - "enum": [ - "None", - "AES256", - "RSAES_PKCS1_v_1_5" - ], - "type": "string", - "x-ms-enum": { - "name": "EncryptionAlgorithm", - "modelAsString": true + "symmetricKey": { + "$ref": "#/definitions/SymmetricKey", + "description": "Symmetric key for authentication." + } + } + }, + "AuthenticationType": { + "type": "string", + "description": "The authentication type.", + "enum": [ + "Invalid", + "AzureActiveDirectory" + ], + "x-ms-enum": { + "name": "AuthenticationType", + "modelAsString": true, + "values": [ + { + "name": "Invalid", + "value": "Invalid" + }, + { + "name": "AzureActiveDirectory", + "value": "AzureActiveDirectory" + } + ] + } + }, + "AzureContainerDataFormat": { + "type": "string", + "description": "Storage format used for the file represented by the share.", + "enum": [ + "BlockBlob", + "PageBlob", + "AzureFile" + ], + "x-ms-enum": { + "name": "AzureContainerDataFormat", + "modelAsString": true, + "values": [ + { + "name": "BlockBlob", + "value": "BlockBlob" + }, + { + "name": "PageBlob", + "value": "PageBlob" + }, + { + "name": "AzureFile", + "value": "AzureFile" } - } - } - }, - "Authentication": { - "description": "Authentication mechanism for IoT devices.", - "type": "object", - "properties": { - "symmetricKey": { - "$ref": "#/definitions/SymmetricKey", - "description": "Symmetric key for authentication." - } + ] } }, "AzureContainerInfo": { - "description": "Azure container mapping of the endpoint.", - "required": [ - "storageAccountCredentialId", - "containerName", - "dataFormat" - ], "type": "object", + "description": "Azure container mapping of the endpoint.", "properties": { "storageAccountCredentialId": { - "description": "ID of the storage account credential used to access storage.", - "type": "string" + "type": "string", + "description": "ID of the storage account credential used to access storage." }, "containerName": { - "description": "Container name (Based on the data format specified, this represents the name of Azure Files/Page blob/Block blob).", - "type": "string" + "type": "string", + "description": "Container name (Based on the data format specified, this represents the name of Azure Files/Page blob/Block blob)." }, "dataFormat": { - "description": "Storage format used for the file represented by the share.", - "enum": [ - "BlockBlob", - "PageBlob", - "AzureFile" - ], - "type": "string", - "x-ms-enum": { - "name": "AzureContainerDataFormat", - "modelAsString": true - } + "$ref": "#/definitions/AzureContainerDataFormat", + "description": "Storage format used for the file represented by the share." } - } + }, + "required": [ + "storageAccountCredentialId", + "containerName", + "dataFormat" + ] }, "BandwidthSchedule": { - "description": "The bandwidth schedule details.", - "required": [ - "properties" - ], "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ARMBaseModel" - } - ], + "description": "The bandwidth schedule details.", "properties": { "properties": { "$ref": "#/definitions/BandwidthScheduleProperties", "description": "The properties of the bandwidth schedule.", "x-ms-client-flatten": true - }, - "systemData": { - "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "description": "Metadata pertaining to creation and last modification of BandwidthSchedule", - "readOnly": true } - } - }, - "BandwidthScheduleProperties": { - "description": "The properties of the bandwidth schedule.", + }, "required": [ - "start", - "stop", - "rateInMbps", - "days" + "properties" ], + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] + }, + "BandwidthScheduleProperties": { "type": "object", + "description": "The properties of the bandwidth schedule.", "properties": { "start": { - "description": "The start time of the schedule in UTC.", - "type": "string" + "type": "string", + "description": "The start time of the schedule in UTC." }, "stop": { - "description": "The stop time of the schedule in UTC.", - "type": "string" + "type": "string", + "description": "The stop time of the schedule in UTC." }, "rateInMbps": { + "type": "integer", "format": "int32", - "description": "The bandwidth rate in Mbps.", - "type": "integer" + "description": "The bandwidth rate in Mbps." }, "days": { - "description": "The days of the week when this schedule is applicable.", - "uniqueItems": false, "type": "array", + "description": "The days of the week when this schedule is applicable.", "items": { - "enum": [ - "Sunday", - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday" - ], - "type": "string", - "x-ms-enum": { - "name": "DayOfWeek", - "modelAsString": true - }, - "x-ms-identifiers": [] + "$ref": "#/definitions/DayOfWeek" } } - } + }, + "required": [ + "start", + "stop", + "rateInMbps", + "days" + ] }, "BandwidthSchedulesList": { - "description": "The collection of bandwidth schedules.", "type": "object", + "description": "The collection of bandwidth schedules.", "properties": { "value": { - "description": "The list of bandwidth schedules.", - "uniqueItems": false, "type": "array", + "description": "The BandwidthSchedule items on this page", "items": { "$ref": "#/definitions/BandwidthSchedule" }, - "x-ms-identifiers": [], "readOnly": true }, "nextLink": { - "description": "Link to the next set of results.", "type": "string", - "readOnly": true + "format": "uri", + "description": "The link to the next page of items" } - } + }, + "required": [ + "value" + ] }, "ClientAccessRight": { - "description": "The mapping between a particular client IP and the type of access client has on the NFS share.", - "required": [ - "client", - "accessPermission" - ], "type": "object", + "description": "The mapping between a particular client IP and the type of access client has on the NFS share.", "properties": { "client": { - "description": "IP of the client.", - "type": "string" + "type": "string", + "description": "IP of the client." }, "accessPermission": { - "description": "Type of access to be allowed for the client.", - "enum": [ - "NoAccess", - "ReadOnly", - "ReadWrite" - ], - "type": "string", - "x-ms-enum": { - "name": "ClientPermissionType", - "modelAsString": true - } + "$ref": "#/definitions/ClientPermissionType", + "description": "Type of access to be allowed for the client." } + }, + "required": [ + "client", + "accessPermission" + ] + }, + "ClientPermissionType": { + "type": "string", + "description": "Type of access to be allowed for the client.", + "enum": [ + "NoAccess", + "ReadOnly", + "ReadWrite" + ], + "x-ms-enum": { + "name": "ClientPermissionType", + "modelAsString": true, + "values": [ + { + "name": "NoAccess", + "value": "NoAccess" + }, + { + "name": "ReadOnly", + "value": "ReadOnly" + }, + { + "name": "ReadWrite", + "value": "ReadWrite" + } + ] } }, "CloudEdgeManagementRole": { - "description": "The preview of Virtual Machine Cloud Management from the Azure supports deploying and managing VMs on your Azure Stack Edge device from Azure Portal. \r\nFor more information, refer to: https://docs.microsoft.com/en-us/azure/databox-online/azure-stack-edge-gpu-virtual-machine-overview\r\nBy using this feature, you agree to the preview legal terms. See the https://azure.microsoft.com/en-us/support/legal/preview-supplemental-terms/ for additional details.", - "required": [ - "kind" - ], "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Role" - } - ], + "description": "The preview of Virtual Machine Cloud Management from the Azure supports deploying and managing VMs on your Azure Stack Edge device from Azure Portal.\nFor more information, refer to: https://docs.microsoft.com/en-us/azure/databox-online/azure-stack-edge-gpu-virtual-machine-overview\nBy using this feature, you agree to the preview legal terms. See the https://azure.microsoft.com/en-us/support/legal/preview-supplemental-terms/ for additional details.", "properties": { "properties": { "$ref": "#/definitions/CloudEdgeManagementRoleProperties", "description": "Properties specific to CloudEdgeManagementRole role.", "x-ms-client-flatten": true - }, - "id": { - "description": "The path ID that uniquely identifies the object.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "The object name.", - "type": "string", - "readOnly": true - }, - "type": { - "description": "The hierarchical type of the object.", - "type": "string", - "readOnly": true } }, + "allOf": [ + { + "$ref": "#/definitions/Role" + } + ], "x-ms-discriminator-value": "CloudEdgeManagement" }, "CloudEdgeManagementRoleProperties": { - "description": "CloudEdgeManagement Role properties.", - "required": [ - "roleStatus" - ], "type": "object", + "description": "CloudEdgeManagement Role properties.", "properties": { "localManagementStatus": { + "$ref": "#/definitions/RoleStatus", "description": "Local Edge Management Status", - "enum": [ - "Enabled", - "Disabled" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "RoleStatus", - "modelAsString": true - } + "readOnly": true }, "edgeProfile": { "$ref": "#/definitions/EdgeProfile", @@ -4755,22 +5427,17 @@ "readOnly": true }, "roleStatus": { - "description": "Role status.", - "enum": [ - "Enabled", - "Disabled" - ], - "type": "string", - "x-ms-enum": { - "name": "RoleStatus", - "modelAsString": true - } + "$ref": "#/definitions/RoleStatus", + "description": "Role status." } - } + }, + "required": [ + "roleStatus" + ] }, "CloudError": { - "description": "An error response from the service.", "type": "object", + "description": "An error response from the service.", "properties": { "error": { "$ref": "#/definitions/CloudErrorBody", @@ -4780,20 +5447,20 @@ "x-ms-external": true }, "CloudErrorBody": { - "description": "An error response from the service.", "type": "object", + "description": "An error response from the service.", "properties": { "code": { - "description": "An identifier for the error. Codes are invariant and are intended to be consumed programmatically.", - "type": "string" + "type": "string", + "description": "An identifier for the error. Codes are invariant and are intended to be consumed programmatically." }, "message": { - "description": "A message describing the error, intended to be suitable for display in a user interface.", - "type": "string" + "type": "string", + "description": "A message describing the error, intended to be suitable for display in a user interface." }, "details": { - "description": "A list of additional details about the error.", "type": "array", + "description": "A list of additional details about the error.", "items": { "$ref": "#/definitions/CloudErrorBody" }, @@ -4803,12 +5470,12 @@ "x-ms-external": true }, "ClusterCapacityViewData": { - "description": "Cluster Compute Data.", "type": "object", + "description": "Cluster Compute Data.", "properties": { "fqdn": { - "description": "The FQDN of the cluster.", - "type": "string" + "type": "string", + "description": "The FQDN of the cluster." }, "gpuCapacity": { "$ref": "#/definitions/ClusterGpuCapacity", @@ -4819,273 +5486,272 @@ "description": "The cluster's memory capacity." }, "lastRefreshedTime": { + "type": "string", "format": "date-time", - "description": "The last time at which the ClusterCapacityViewData was set.", - "type": "string" + "description": "The last time at which the ClusterCapacityViewData was set." }, "totalProvisionedNonHpnCores": { + "type": "integer", "format": "int64", - "description": "The total # of vCPUs provisioned by non-HPN VM per appliance.", - "type": "integer" + "description": "The total # of vCPUs provisioned by non-HPN VM per appliance." } } }, "ClusterGpuCapacity": { - "description": "Cluster GPU Data.", "type": "object", + "description": "Cluster GPU Data.", "properties": { "gpuType": { - "description": "The cluster GPU Type.", - "type": "string" + "type": "string", + "description": "The cluster GPU Type." }, "gpuUsedUnitsCount": { + "type": "integer", "format": "int32", - "description": "The used GPU units count in the cluster.", - "type": "integer" + "description": "The used GPU units count in the cluster." }, "gpuFreeUnitsCount": { + "type": "integer", "format": "int32", - "description": "The free GPU units count in the cluster.", - "type": "integer" + "description": "The free GPU units count in the cluster." }, "gpuReservedForFailoverUnitsCount": { + "type": "integer", "format": "int32", - "description": "The GPU units count reserved for failover in the cluster.", - "type": "integer" + "description": "The GPU units count reserved for failover in the cluster." }, "gpuTotalUnitsCount": { + "type": "integer", "format": "int32", - "description": "The total GPU units count in the cluster.", - "type": "integer" + "description": "The total GPU units count in the cluster." } } }, "ClusterMemoryCapacity": { - "description": "NodeCapacityInfo defines the required information to determine the placement of a VM.", "type": "object", + "description": "NodeCapacityInfo defines the required information to determine the placement of a VM.", "properties": { "clusterFreeMemoryMb": { + "type": "number", "format": "double", - "description": "The free memory in the cluster in MB.", - "type": "number" + "description": "The free memory in the cluster in MB." }, "clusterUsedMemoryMb": { + "type": "number", "format": "double", - "description": "The used memory in the cluster in MB.", - "type": "number" + "description": "The used memory in the cluster in MB." }, "clusterFailoverMemoryMb": { + "type": "number", "format": "double", - "description": "The failover memory in the cluster in MB.", - "type": "number" + "description": "The failover memory in the cluster in MB." }, "clusterFragmentationMemoryMb": { + "type": "number", "format": "double", - "description": "The fragmentation memory in the cluster in MB.", - "type": "number" + "description": "The fragmentation memory in the cluster in MB." }, "clusterHypervReserveMemoryMb": { + "type": "number", "format": "double", - "description": "The memory reserved for Hyper-V in the cluster in MB.", - "type": "number" + "description": "The memory reserved for Hyper-V in the cluster in MB." }, "clusterInfraVmMemoryMb": { + "type": "number", "format": "double", - "description": "The memory of the Infra VM in the cluster in MB.", - "type": "number" + "description": "The memory of the Infra VM in the cluster in MB." }, "clusterTotalMemoryMb": { + "type": "number", "format": "double", - "description": "The total memory in the cluster in MB.", - "type": "number" + "description": "The total memory in the cluster in MB." }, "clusterNonFailoverVmMb": { + "type": "number", "format": "double", - "description": "The non-failover memory in the cluster in MB.", - "type": "number" + "description": "The non-failover memory in the cluster in MB." }, "clusterMemoryUsedByVmsMb": { + "type": "number", "format": "double", - "description": "The memory used by VMs in the cluster in MB.", - "type": "number" + "description": "The memory used by VMs in the cluster in MB." } } }, "ClusterStorageViewData": { - "description": "Cluster Storage Data.", "type": "object", + "description": "Cluster Storage Data.", "properties": { "clusterTotalStorageMb": { + "type": "number", "format": "double", - "description": "Total storage on the cluster in MB.", - "type": "number" + "description": "Total storage on the cluster in MB." }, "clusterFreeStorageMb": { + "type": "number", "format": "double", - "description": "The available or free storage on the cluster in MB.", - "type": "number" + "description": "The available or free storage on the cluster in MB." } } }, + "ClusterWitnessType": { + "type": "string", + "description": "Cluster Witness Type", + "enum": [ + "None", + "Cloud", + "FileShare" + ], + "x-ms-enum": { + "name": "ClusterWitnessType", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None" + }, + { + "name": "Cloud", + "value": "Cloud" + }, + { + "name": "FileShare", + "value": "FileShare" + } + ] + } + }, "CniConfig": { - "description": "Cni configuration", "type": "object", + "description": "Cni configuration", "properties": { "type": { - "description": "Cni type", "type": "string", + "description": "Cni type", "readOnly": true }, "version": { - "description": "Cni version", "type": "string", + "description": "Cni version", "readOnly": true }, "podSubnet": { - "description": "Pod Subnet", "type": "string", + "description": "Pod Subnet", "readOnly": true }, "serviceSubnet": { - "description": "Service subnet", "type": "string", + "description": "Service subnet", "readOnly": true } } }, "ComputeResource": { - "description": "Compute infrastructure Resource", - "required": [ - "processorCount", - "memoryInGB" - ], "type": "object", + "description": "Compute infrastructure Resource", "properties": { "processorCount": { + "type": "integer", "format": "int32", - "description": "Processor count", - "type": "integer" + "description": "Processor count" }, "memoryInGB": { + "type": "integer", "format": "int64", - "description": "Memory in GB", - "type": "integer" + "description": "Memory in GB" } - } + }, + "required": [ + "processorCount", + "memoryInGB" + ] }, "ContactDetails": { - "description": "Contains all the contact details of the customer.", - "required": [ - "contactPerson", - "companyName", - "phone", - "emailList" - ], "type": "object", + "description": "Contains all the contact details of the customer.", "properties": { "contactPerson": { - "description": "The contact person name.", - "type": "string" + "type": "string", + "description": "The contact person name." }, "companyName": { - "description": "The name of the company.", - "type": "string" + "type": "string", + "description": "The name of the company." }, "phone": { - "description": "The phone number.", - "type": "string" + "type": "string", + "description": "The phone number." }, "emailList": { - "description": "The email list.", - "uniqueItems": false, "type": "array", + "description": "The email list.", "items": { "type": "string" }, "x-ms-identifiers": [] } - } - }, - "Container": { - "description": "Represents a container on the Data Box Edge/Gateway device.", + }, "required": [ - "properties" - ], + "contactPerson", + "companyName", + "phone", + "emailList" + ] + }, + "Container": { "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ARMBaseModel" - } - ], + "description": "Represents a container on the Data Box Edge/Gateway device.", "properties": { "properties": { "$ref": "#/definitions/ContainerProperties", "description": "The container properties.", "x-ms-client-flatten": true - }, - "systemData": { - "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "description": "Metadata pertaining to creation and last modification of Container", - "readOnly": true } - } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] }, "ContainerList": { - "description": "Collection of all the containers on the Data Box Edge/Gateway device.", "type": "object", + "description": "Collection of all the containers on the Data Box Edge/Gateway device.", "properties": { "value": { - "description": "The list of containers.", - "uniqueItems": false, "type": "array", + "description": "The Container items on this page", "items": { "$ref": "#/definitions/Container" }, - "x-ms-identifiers": [], "readOnly": true }, "nextLink": { - "description": "Link to the next set of results.", "type": "string", - "readOnly": true + "format": "uri", + "description": "The link to the next page of items" } - } + }, + "required": [ + "value" + ] }, "ContainerProperties": { - "description": "The container properties.", - "required": [ - "dataFormat" - ], "type": "object", + "description": "The container properties.", "properties": { "containerStatus": { + "$ref": "#/definitions/ContainerStatus", "description": "Current status of the container.", - "enum": [ - "OK", - "Offline", - "Unknown", - "Updating", - "NeedsAttention" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ContainerStatus", - "modelAsString": true - } + "readOnly": true }, "dataFormat": { - "description": "DataFormat for Container", - "enum": [ - "BlockBlob", - "PageBlob", - "AzureFile" - ], - "type": "string", - "x-ms-enum": { - "name": "AzureContainerDataFormat", - "modelAsString": true - } + "$ref": "#/definitions/AzureContainerDataFormat", + "description": "DataFormat for Container" }, "refreshDetails": { "$ref": "#/definitions/RefreshDetails", @@ -5093,87 +5759,110 @@ "readOnly": true }, "createdDateTime": { + "type": "string", "format": "date-time", "description": "The UTC time when container got created.", - "type": "string", "readOnly": true } - } - }, - "DataBoxEdgeDevice": { - "description": "The Data Box Edge/Gateway device.", + }, "required": [ - "location" + "dataFormat" + ] + }, + "ContainerStatus": { + "type": "string", + "description": "Current status of the container.", + "enum": [ + "OK", + "Offline", + "Unknown", + "Updating", + "NeedsAttention" ], + "x-ms-enum": { + "name": "ContainerStatus", + "modelAsString": true, + "values": [ + { + "name": "OK", + "value": "OK" + }, + { + "name": "Offline", + "value": "Offline" + }, + { + "name": "Unknown", + "value": "Unknown" + }, + { + "name": "Updating", + "value": "Updating" + }, + { + "name": "NeedsAttention", + "value": "NeedsAttention" + } + ] + } + }, + "DCAccessCode": { "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ARMBaseModel" + "description": "DC Access code in the case of Self Managed Shipping.", + "properties": { + "properties": { + "$ref": "#/definitions/DCAccessCodeProperties", + "description": "DCAccessCode properties.", + "x-ms-client-flatten": true } - ], + } + }, + "DCAccessCodeProperties": { + "type": "object", + "description": "DCAccessCode Properties.", "properties": { - "location": { - "description": "The location of the device. This is a supported and registered Azure geographical region (for example, West US, East US, or Southeast Asia). The geographical region of a device cannot be changed once it is created, but if an identical geographical region is specified on update, the request will succeed.", + "authCode": { "type": "string", - "x-ms-mutability": [ - "read", - "create" - ] - }, - "tags": { - "description": "The list of tags that describe the device. These tags can be used to view and group this device (across resource groups).", - "type": "object", - "additionalProperties": { - "type": "string" - } + "description": "DCAccess Code for the Self Managed shipment." + } + } + }, + "DataBoxEdgeDevice": { + "type": "object", + "description": "The Data Box Edge/Gateway device.", + "properties": { + "properties": { + "$ref": "#/definitions/DataBoxEdgeDeviceProperties", + "description": "The properties of the Data Box Edge/Gateway device.", + "x-ms-client-flatten": true }, "sku": { "$ref": "#/definitions/Sku", "description": "The SKU type." }, "etag": { - "description": "The etag for the devices.", - "type": "string" + "type": "string", + "description": "The etag for the devices." }, "identity": { "$ref": "#/definitions/ResourceIdentity", "description": "Msi identity of the resource" }, "kind": { + "$ref": "#/definitions/DataBoxEdgeDeviceKind", "description": "The kind of the device.", - "enum": [ - "AzureDataBoxGateway", - "AzureStackEdge", - "AzureStackHub", - "AzureModularDataCentre" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "DataBoxEdgeDeviceKind", - "modelAsString": true - } - }, - "systemData": { - "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "description": "DataBoxEdge Resource", "readOnly": true - }, - "properties": { - "$ref": "#/definitions/DataBoxEdgeDeviceProperties", - "description": "The properties of the Data Box Edge/Gateway device.", - "x-ms-client-flatten": true } - } - }, - "DataBoxEdgeDeviceExtendedInfo": { - "description": "The extended Info of the Data Box Edge/Gateway device.", - "type": "object", + }, "allOf": [ { - "$ref": "#/definitions/ARMBaseModel" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" } - ], + ] + }, + "DataBoxEdgeDeviceExtendedInfo": { + "type": "object", + "description": "The extended Info of the Data Box Edge/Gateway device.", "properties": { "properties": { "$ref": "#/definitions/DataBoxEdgeDeviceExtendedInfoProperties", @@ -5181,176 +5870,181 @@ "x-ms-client-flatten": true }, "systemData": { - "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/systemData", "description": "Metadata pertaining to creation and last modification of DataBoxEdgeDevice", "readOnly": true } - } + }, + "allOf": [ + { + "$ref": "#/definitions/ARMBaseModel" + } + ] }, "DataBoxEdgeDeviceExtendedInfoPatch": { - "description": "The Data Box Edge/Gateway device extended info patch.", "type": "object", + "description": "The Data Box Edge/Gateway device extended info patch.", "properties": { "clientSecretStoreId": { - "description": "The Key Vault ARM Id for client secrets", - "type": "string" + "type": "string", + "description": "The Key Vault ARM Id for client secrets" }, "clientSecretStoreUrl": { - "description": "The url to access the Client Key Vault", - "type": "string" + "type": "string", + "description": "The url to access the Client Key Vault" }, "channelIntegrityKeyName": { - "description": "The name for Channel Integrity Key stored in the Client Key Vault", - "type": "string" + "type": "string", + "description": "The name for Channel Integrity Key stored in the Client Key Vault" }, "channelIntegrityKeyVersion": { - "description": "The version of Channel Integrity Key stored in the Client Key Vault", - "type": "string" + "type": "string", + "description": "The version of Channel Integrity Key stored in the Client Key Vault" }, "syncStatus": { - "description": "For changing or to initiate the resync to key-vault set the status to KeyVaultSyncPending, rest of the status will not be applicable.", - "enum": [ - "KeyVaultSynced", - "KeyVaultSyncFailed", - "KeyVaultNotConfigured", - "KeyVaultSyncPending", - "KeyVaultSyncing", - "KeyVaultNotSynced" - ], - "type": "string", - "x-ms-enum": { - "name": "KeyVaultSyncStatus", - "modelAsString": true - } + "$ref": "#/definitions/KeyVaultSyncStatus", + "description": "For changing or to initiate the resync to key-vault set the status to KeyVaultSyncPending, rest of the status will not be applicable." } } }, "DataBoxEdgeDeviceExtendedInfoProperties": { - "description": "The properties of the Data Box Edge/Gateway device extended info.", "type": "object", + "description": "The properties of the Data Box Edge/Gateway device extended info.", "properties": { "encryptionKeyThumbprint": { - "description": "The digital signature of encrypted certificate.", - "type": "string" + "type": "string", + "description": "The digital signature of encrypted certificate." }, "encryptionKey": { - "description": "The public part of the encryption certificate. Client uses this to encrypt any secret.", - "type": "string" + "type": "string", + "description": "The public part of the encryption certificate. Client uses this to encrypt any secret." }, "resourceKey": { - "description": "The Resource ID of the Resource.", "type": "string", + "description": "The Resource ID of the Resource.", "readOnly": true }, "clientSecretStoreId": { - "description": "The Key Vault ARM Id for client secrets", - "type": "string" + "type": "string", + "description": "The Key Vault ARM Id for client secrets" }, "clientSecretStoreUrl": { - "description": "The url to access the Client Key Vault", - "type": "string" + "type": "string", + "description": "The url to access the Client Key Vault" }, "channelIntegrityKeyName": { - "description": "The name of Channel Integrity Key stored in the Client Key Vault", - "type": "string" + "type": "string", + "description": "The name of Channel Integrity Key stored in the Client Key Vault" }, "channelIntegrityKeyVersion": { - "description": "The version of Channel Integrity Key stored in the Client Key Vault", - "type": "string" + "type": "string", + "description": "The version of Channel Integrity Key stored in the Client Key Vault" }, "keyVaultSyncStatus": { - "description": "Key vault sync status", - "enum": [ - "KeyVaultSynced", - "KeyVaultSyncFailed", - "KeyVaultNotConfigured", - "KeyVaultSyncPending", - "KeyVaultSyncing", - "KeyVaultNotSynced" - ], - "type": "string", - "x-ms-enum": { - "name": "KeyVaultSyncStatus", - "modelAsString": true - } + "$ref": "#/definitions/KeyVaultSyncStatus", + "description": "Key vault sync status" }, "deviceSecrets": { - "description": "Device secrets, will be returned only with ODataFilter $expand=deviceSecrets", "type": "object", + "description": "Device secrets, will be returned only with ODataFilter $expand=deviceSecrets", "additionalProperties": { "$ref": "#/definitions/Secret" }, "readOnly": true }, "clusterWitnessType": { + "$ref": "#/definitions/ClusterWitnessType", "description": "Cluster Witness Type", - "enum": [ - "None", - "Cloud", - "FileShare" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ClusterWitnessType", - "modelAsString": true - } + "readOnly": true }, "fileShareWitnessLocation": { - "description": "The witness location of file share.", "type": "string", + "description": "The witness location of file share.", "readOnly": true }, "fileShareWitnessUsername": { - "description": "The username of file share.", "type": "string", + "description": "The username of file share.", "readOnly": true }, "cloudWitnessStorageAccountName": { - "description": "The Cloud Witness Storage account name.", "type": "string", + "description": "The Cloud Witness Storage account name.", "readOnly": true }, "cloudWitnessContainerName": { - "description": "The Container for cloud witness in the storage account.", "type": "string", + "description": "The Container for cloud witness in the storage account.", "readOnly": true }, "cloudWitnessStorageEndpoint": { - "description": "The Azure service endpoint of the cloud witness storage account.", "type": "string", + "description": "The Azure service endpoint of the cloud witness storage account.", "readOnly": true } } }, + "DataBoxEdgeDeviceKind": { + "type": "string", + "description": "The kind of the device.", + "enum": [ + "AzureDataBoxGateway", + "AzureStackEdge", + "AzureStackHub", + "AzureModularDataCentre" + ], + "x-ms-enum": { + "name": "DataBoxEdgeDeviceKind", + "modelAsString": true, + "values": [ + { + "name": "AzureDataBoxGateway", + "value": "AzureDataBoxGateway" + }, + { + "name": "AzureStackEdge", + "value": "AzureStackEdge" + }, + { + "name": "AzureStackHub", + "value": "AzureStackHub" + }, + { + "name": "AzureModularDataCentre", + "value": "AzureModularDataCentre" + } + ] + } + }, "DataBoxEdgeDeviceList": { - "description": "The collection of Data Box Edge/Gateway devices.", "type": "object", + "description": "The collection of Data Box Edge/Gateway devices.", "properties": { "value": { - "description": "The list of Data Box Edge/Gateway devices.", - "uniqueItems": false, "type": "array", + "description": "The DataBoxEdgeDevice items on this page", "items": { "$ref": "#/definitions/DataBoxEdgeDevice" }, - "x-ms-identifiers": [], "readOnly": true }, "nextLink": { - "description": "Link to the next set of results.", "type": "string", - "readOnly": true + "format": "uri", + "description": "The link to the next page of items" } - } + }, + "required": [ + "value" + ] }, "DataBoxEdgeDevicePatch": { - "description": "The Data Box Edge/Gateway device patch.", "type": "object", + "description": "The Data Box Edge/Gateway device patch.", "properties": { "tags": { - "description": "The tags attached to the Data Box Edge/Gateway resource.", "type": "object", + "description": "The tags attached to the Data Box Edge/Gateway resource.", "additionalProperties": { "type": "string" } @@ -5367,122 +6061,87 @@ } }, "DataBoxEdgeDeviceProperties": { - "description": "The properties of the Data Box Edge/Gateway device.", "type": "object", + "description": "The properties of the Data Box Edge/Gateway device.", "properties": { "systemData": { - "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/systemData", "description": "DataBoxEdge Device Properties", "readOnly": true }, "dataBoxEdgeDeviceStatus": { + "$ref": "#/definitions/DataBoxEdgeDeviceStatus", "description": "The status of the Data Box Edge/Gateway device.", - "enum": [ - "ReadyToSetup", - "Online", - "Offline", - "NeedsAttention", - "Disconnected", - "PartiallyDisconnected", - "Maintenance" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "DataBoxEdgeDeviceStatus", - "modelAsString": true - } + "readOnly": true }, "serialNumber": { - "description": "The Serial Number of Data Box Edge/Gateway device.", "type": "string", + "description": "The Serial Number of Data Box Edge/Gateway device.", "readOnly": true }, "description": { - "description": "The Description of the Data Box Edge/Gateway device.", "type": "string", + "description": "The Description of the Data Box Edge/Gateway device.", "readOnly": true }, "modelDescription": { - "description": "The description of the Data Box Edge/Gateway device model.", "type": "string", + "description": "The description of the Data Box Edge/Gateway device model.", "readOnly": true }, "deviceType": { + "$ref": "#/definitions/DeviceType", "description": "The type of the Data Box Edge/Gateway device.", - "enum": [ - "DataBoxEdgeDevice" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "DeviceType", - "modelAsString": true - } + "readOnly": true }, "friendlyName": { - "description": "The Data Box Edge/Gateway device name.", "type": "string", + "description": "The Data Box Edge/Gateway device name.", "readOnly": true }, "culture": { - "description": "The Data Box Edge/Gateway device culture.", "type": "string", + "description": "The Data Box Edge/Gateway device culture.", "readOnly": true }, "deviceModel": { - "description": "The Data Box Edge/Gateway device model.", "type": "string", + "description": "The Data Box Edge/Gateway device model.", "readOnly": true }, "deviceSoftwareVersion": { - "description": "The Data Box Edge/Gateway device software version.", "type": "string", + "description": "The Data Box Edge/Gateway device software version.", "readOnly": true }, "deviceLocalCapacity": { + "type": "integer", "format": "int64", "description": "The Data Box Edge/Gateway device local capacity in MB.", - "type": "integer", "readOnly": true }, "timeZone": { - "description": "The Data Box Edge/Gateway device timezone.", "type": "string", + "description": "The Data Box Edge/Gateway device timezone.", "readOnly": true }, "deviceHcsVersion": { - "description": "The device software version number of the device (eg: 1.2.18105.6).", "type": "string", + "description": "The device software version number of the device (eg: 1.2.18105.6).", "readOnly": true }, "configuredRoleTypes": { - "description": "Type of compute roles configured.", - "uniqueItems": false, "type": "array", + "description": "Type of compute roles configured.", "items": { - "enum": [ - "IOT", - "ASA", - "Functions", - "Cognitive", - "MEC", - "CloudEdgeManagement", - "Kubernetes" - ], - "type": "string", - "x-ms-enum": { - "name": "RoleTypes", - "modelAsString": true - }, - "x-ms-identifiers": [] + "$ref": "#/definitions/RoleTypes" }, "readOnly": true }, "nodeCount": { + "type": "integer", "format": "int32", "description": "The number of nodes in the cluster.", - "type": "integer", "readOnly": true }, "resourceMoveDetails": { @@ -5500,125 +6159,106 @@ "description": "The details of data-residency related properties for this resource" }, "kubernetesWorkloadProfile": { - "description": "Kubernetes Workload Profile", "type": "string", + "description": "Kubernetes Workload Profile", "readOnly": true } } }, "DataBoxEdgeDevicePropertiesPatch": { - "description": "The Data Box Edge/Gateway device properties patch.", "type": "object", + "description": "The Data Box Edge/Gateway device properties patch.", "properties": { "edgeProfile": { "$ref": "#/definitions/EdgeProfilePatch", - "description": "Edge Profile property of the Data Box Edge/Gateway device" - } - } - }, - "DataBoxEdgeMoveRequest": { - "description": "Resource Move details", - "required": [ - "targetResourceGroup", - "resources" - ], - "type": "object", - "properties": { - "targetResourceGroup": { - "description": "Target resource group ARMId", - "type": "string" - }, - "resources": { - "description": "List of resources to be moved", - "uniqueItems": false, - "type": "array", - "items": { - "type": "string" - }, - "x-ms-identifiers": [] + "description": "Edge Profile property of the Data Box Edge/Gateway device" } } }, + "DataBoxEdgeDeviceStatus": { + "type": "string", + "description": "The status of the Data Box Edge/Gateway device.", + "enum": [ + "ReadyToSetup", + "Online", + "Offline", + "NeedsAttention", + "Disconnected", + "PartiallyDisconnected", + "Maintenance" + ], + "x-ms-enum": { + "name": "DataBoxEdgeDeviceStatus", + "modelAsString": true, + "values": [ + { + "name": "ReadyToSetup", + "value": "ReadyToSetup" + }, + { + "name": "Online", + "value": "Online" + }, + { + "name": "Offline", + "value": "Offline" + }, + { + "name": "NeedsAttention", + "value": "NeedsAttention" + }, + { + "name": "Disconnected", + "value": "Disconnected" + }, + { + "name": "PartiallyDisconnected", + "value": "PartiallyDisconnected" + }, + { + "name": "Maintenance", + "value": "Maintenance" + } + ] + } + }, "DataBoxEdgeSku": { - "description": "The Sku information.", "type": "object", + "description": "The Sku information.", "properties": { "resourceType": { - "description": "The type of the resource.", "type": "string", + "description": "The type of the resource.", "readOnly": true }, "name": { + "$ref": "#/definitions/SkuName", "description": "The Sku name.", - "enum": [ - "Gateway", - "Edge", - "TEA_1Node", - "TEA_1Node_UPS", - "TEA_1Node_Heater", - "TEA_1Node_UPS_Heater", - "TEA_4Node_Heater", - "TEA_4Node_UPS_Heater", - "TMA", - "TDC", - "TCA_Small", - "GPU", - "TCA_Large", - "EdgeP_Base", - "EdgeP_High", - "EdgePR_Base", - "EdgePR_Base_UPS", - "EP2_64_1VPU_W", - "EP2_128_1T4_Mx1_W", - "EP2_256_2T4_W", - "EdgeMR_Mini", - "RCA_Small", - "RCA_Large", - "RDC", - "Management", - "EP2_64_Mx1_W", - "EP2_128_GPU1_Mx1_W", - "EP2_256_GPU2_Mx1", - "EdgeMR_TCP" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "SkuName", - "modelAsString": true - } + "readOnly": true }, "kind": { - "description": "The Sku kind.", "type": "string", + "description": "The Sku kind.", "readOnly": true }, "tier": { + "$ref": "#/definitions/SkuTier", "description": "The Sku tier.", - "enum": [ - "Standard" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "SkuTier", - "modelAsString": true - } + "readOnly": true }, "size": { - "description": "The Sku kind.", "type": "string", + "description": "The Sku kind.", "readOnly": true }, "family": { - "description": "The Sku family.", "type": "string", + "description": "The Sku family.", "readOnly": true }, "locations": { - "description": "Availability of the Sku for the region.", - "uniqueItems": false, "type": "array", + "description": "Availability of the Sku for the region.", "items": { "type": "string" }, @@ -5626,9 +6266,8 @@ "x-ms-identifiers": [] }, "apiVersions": { - "description": "The API versions in which Sku is available.", - "uniqueItems": false, "type": "array", + "description": "The API versions in which Sku is available.", "items": { "type": "string" }, @@ -5636,193 +6275,215 @@ "x-ms-identifiers": [] }, "locationInfo": { - "description": "Availability of the Sku for the location/zone/site.", - "uniqueItems": false, "type": "array", + "description": "Availability of the Sku for the location/zone/site.", "items": { "$ref": "#/definitions/SkuLocationInfo" }, + "readOnly": true, "x-ms-identifiers": [ "location" - ], - "readOnly": true + ] }, "costs": { - "description": "The pricing info of the Sku.", - "uniqueItems": false, "type": "array", + "description": "The pricing info of the Sku.", "items": { "$ref": "#/definitions/SkuCost" }, + "readOnly": true, "x-ms-identifiers": [ "meterId" - ], - "readOnly": true + ] }, "signupOption": { + "$ref": "#/definitions/SkuSignupOption", "description": "Sku can be signed up by customer or not.", - "enum": [ - "None", - "Available" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "SkuSignupOption", - "modelAsString": true - } + "readOnly": true }, "version": { + "$ref": "#/definitions/SkuVersion", "description": "Availability of the Sku as preview/stable.", - "enum": [ - "Stable", - "Preview" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "SkuVersion", - "modelAsString": true - } + "readOnly": true }, "availability": { + "$ref": "#/definitions/SkuAvailability", "description": "Links to the next set of results", - "enum": [ - "Available", - "Unavailable" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "SkuAvailability", - "modelAsString": true - } + "readOnly": true }, "shipmentTypes": { - "description": "List of Shipment Types supported by this SKU", - "uniqueItems": false, "type": "array", + "description": "List of Shipment Types supported by this SKU", "items": { - "enum": [ - "NotApplicable", - "ShippedToCustomer", - "SelfPickup" - ], - "type": "string", - "x-ms-enum": { - "name": "ShipmentType", - "modelAsString": true - } + "$ref": "#/definitions/ShipmentType" }, "readOnly": true, "x-ms-identifiers": [] }, "capabilities": { - "description": "The capability info of the SKU.", - "uniqueItems": false, "type": "array", + "description": "The capability info of the SKU.", "items": { "$ref": "#/definitions/SkuCapability" }, + "readOnly": true, "x-ms-identifiers": [ "name" - ], - "readOnly": true + ] } } }, "DataBoxEdgeSkuList": { - "description": "List of SKU Information objects.", "type": "object", + "description": "List of SKU Information objects.", "properties": { "value": { - "description": "List of ResourceType Sku", - "uniqueItems": false, "type": "array", + "description": "The DataBoxEdgeSku items on this page", "items": { "$ref": "#/definitions/DataBoxEdgeSku" }, + "readOnly": true, "x-ms-identifiers": [ "name", "resourceType" - ], - "readOnly": true + ] }, "nextLink": { - "description": "Links to the next set of results", "type": "string", - "readOnly": true + "format": "uri", + "description": "The link to the next page of items" } + }, + "required": [ + "value" + ] + }, + "DataPolicy": { + "type": "string", + "description": "Data policy of the share.", + "enum": [ + "Cloud", + "Local" + ], + "x-ms-enum": { + "name": "DataPolicy", + "modelAsString": true, + "values": [ + { + "name": "Cloud", + "value": "Cloud" + }, + { + "name": "Local", + "value": "Local" + } + ] } }, "DataResidency": { - "description": "Wraps data-residency related information for edge-resource and this should be used with ARM layer.", "type": "object", + "description": "Wraps data-residency related information for edge-resource and this should be used with ARM layer.", "properties": { "type": { - "description": "DataResidencyType enum", - "enum": [ - "GeoZoneReplication", - "ZoneReplication" - ], - "type": "string", - "x-ms-enum": { - "name": "DataResidencyType", - "modelAsString": true - } + "$ref": "#/definitions/DataResidencyType", + "description": "DataResidencyType enum" } } }, - "DCAccessCode": { - "description": "DC Access code in the case of Self Managed Shipping.", - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/DCAccessCodeProperties", - "description": "DCAccessCode properties.", - "x-ms-client-flatten": true - } + "DataResidencyType": { + "type": "string", + "description": "DataResidencyType enum", + "enum": [ + "GeoZoneReplication", + "ZoneReplication" + ], + "x-ms-enum": { + "name": "DataResidencyType", + "modelAsString": true, + "values": [ + { + "name": "GeoZoneReplication", + "value": "GeoZoneReplication" + }, + { + "name": "ZoneReplication", + "value": "ZoneReplication" + } + ] } }, - "DCAccessCodeProperties": { - "description": "DCAccessCode Properties.", - "type": "object", - "properties": { - "authCode": { - "description": "DCAccess Code for the Self Managed shipment.", - "type": "string" - } - } + "DayOfWeek": { + "type": "string", + "enum": [ + "Sunday", + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday", + "Saturday" + ], + "x-ms-enum": { + "name": "DayOfWeek", + "modelAsString": true, + "values": [ + { + "name": "Sunday", + "value": "Sunday" + }, + { + "name": "Monday", + "value": "Monday" + }, + { + "name": "Tuesday", + "value": "Tuesday" + }, + { + "name": "Wednesday", + "value": "Wednesday" + }, + { + "name": "Thursday", + "value": "Thursday" + }, + { + "name": "Friday", + "value": "Friday" + }, + { + "name": "Saturday", + "value": "Saturday" + } + ] + }, + "x-ms-identifiers": [] }, "DeviceCapacityInfo": { - "description": "Object for Capturing DeviceCapacityInfo", "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ARMBaseModel" - } - ], + "description": "Object for Capturing DeviceCapacityInfo", "properties": { "properties": { "$ref": "#/definitions/DeviceCapacityInfoProperties", "description": "The device capacity properties.", "x-ms-client-flatten": true - }, - "systemData": { - "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "description": "Metadata pertaining to device capacity info.", - "readOnly": true } - } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] }, "DeviceCapacityInfoProperties": { - "description": "The properties of Device Capacity Info", "type": "object", + "description": "The properties of Device Capacity Info", "properties": { "timeStamp": { + "type": "string", "format": "date-time", - "description": "Timestamp of request in UTC", - "type": "string" + "description": "Timestamp of request in UTC" }, "clusterStorageCapacityInfo": { "$ref": "#/definitions/ClusterStorageViewData", @@ -5833,8 +6494,8 @@ "description": "Cluster capacity data for compute resources (Memory and GPU)." }, "nodeCapacityInfos": { - "description": "The dictionary of individual node names and node capacities in the cluster.", "type": "object", + "description": "The dictionary of individual node names and node capacities in the cluster.", "additionalProperties": { "$ref": "#/definitions/HostCapacity" } @@ -5842,32 +6503,27 @@ } }, "DeviceCapacityRequestInfo": { - "description": "Object for Capturing DeviceCapacityRequestInfo", - "required": [ - "properties" - ], "type": "object", + "description": "Object for Capturing DeviceCapacityRequestInfo", "properties": { "properties": { "$ref": "#/definitions/DeviceCapacityRequestInfoProperties", "description": "The properties of the Device Capacity Request.", "x-ms-client-flatten": true } - } + }, + "required": [ + "properties" + ] }, "DeviceCapacityRequestInfoProperties": { - "description": "Properties of Device Capacity Request Info containing VM's to be checked and their corresponding results.", - "required": [ - "vmPlacementQuery" - ], "type": "object", + "description": "Properties of Device Capacity Request Info containing VM's to be checked and their corresponding results.", "properties": { "vmPlacementQuery": { - "description": "Array containing the sizes of the VMs for checking if its feasible to create them on the appliance.", - "uniqueItems": false, "type": "array", + "description": "Array containing the sizes of the VMs for checking if its feasible to create them on the appliance.", "items": { - "uniqueItems": false, "type": "array", "items": { "type": "string" @@ -5876,72 +6532,80 @@ "x-ms-identifiers": [] }, "vmPlacementResults": { - "description": "Array of the VMs of the sizes in VmSizes can be provisioned on the appliance.", - "uniqueItems": false, "type": "array", + "description": "Array of the VMs of the sizes in VmSizes can be provisioned on the appliance.", "items": { "$ref": "#/definitions/VmPlacementRequestResult" }, "x-ms-identifiers": [] } + }, + "required": [ + "vmPlacementQuery" + ] + }, + "DeviceType": { + "type": "string", + "description": "The type of the Data Box Edge/Gateway device.", + "enum": [ + "DataBoxEdgeDevice" + ], + "x-ms-enum": { + "name": "DeviceType", + "modelAsString": true, + "values": [ + { + "name": "DataBoxEdgeDevice", + "value": "DataBoxEdgeDevice" + } + ] } }, "DiagnosticProactiveLogCollectionSettings": { - "description": "The diagnostic proactive log collection settings of a device.", - "required": [ - "properties" - ], "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ARMBaseModel" - } - ], + "description": "The diagnostic proactive log collection settings of a device.", "properties": { "properties": { "$ref": "#/definitions/ProactiveLogCollectionSettingsProperties", "description": "Properties of the diagnostic proactive log collection settings.", "x-ms-client-flatten": true - }, - "systemData": { - "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "description": "Metadata pertaining to creation and last modification of DiagnosticProactiveLogCollectionSettings", - "readOnly": true } - } - }, - "DiagnosticRemoteSupportSettings": { - "description": "The remote support settings of a device.", + }, "required": [ "properties" ], - "type": "object", "allOf": [ { - "$ref": "#/definitions/ARMBaseModel" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" } - ], + ] + }, + "DiagnosticRemoteSupportSettings": { + "type": "object", + "description": "The remote support settings of a device.", "properties": { "properties": { "$ref": "#/definitions/DiagnosticRemoteSupportSettingsProperties", "description": "Properties of the remote support settings.", "x-ms-client-flatten": true - }, - "systemData": { - "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "description": "Represents resource creation and updation time", - "readOnly": true } - } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] }, "DiagnosticRemoteSupportSettingsProperties": { - "description": "The properties of remote support settings.", "type": "object", + "description": "The properties of remote support settings.", "properties": { "remoteSupportSettingsList": { - "description": "Remote support settings list according to the RemoteApplicationType", - "uniqueItems": false, "type": "array", + "description": "Remote support settings list according to the RemoteApplicationType", "items": { "$ref": "#/definitions/RemoteSupportSettings" }, @@ -5951,9 +6615,41 @@ } } }, + "DownloadPhase": { + "type": "string", + "description": "The download phase.", + "enum": [ + "Unknown", + "Initializing", + "Downloading", + "Verifying" + ], + "x-ms-enum": { + "name": "DownloadPhase", + "modelAsString": true, + "values": [ + { + "name": "Unknown", + "value": "Unknown" + }, + { + "name": "Initializing", + "value": "Initializing" + }, + { + "name": "Downloading", + "value": "Downloading" + }, + { + "name": "Verifying", + "value": "Verifying" + } + ] + } + }, "EdgeProfile": { - "description": "Details about Edge Profile for the resource", "type": "object", + "description": "Details about Edge Profile for the resource", "properties": { "subscription": { "$ref": "#/definitions/EdgeProfileSubscription", @@ -5962,8 +6658,8 @@ } }, "EdgeProfilePatch": { - "description": "The Data Box Edge/Gateway Edge Profile patch.", "type": "object", + "description": "The Data Box Edge/Gateway Edge Profile patch.", "properties": { "subscription": { "$ref": "#/definitions/EdgeProfileSubscriptionPatch", @@ -5972,30 +6668,19 @@ } }, "EdgeProfileSubscription": { - "description": "Subscription details for the Edge Profile", "type": "object", + "description": "Subscription details for the Edge Profile", "properties": { "registrationId": { - "description": "Edge Subscription Registration ID", - "type": "string" + "type": "string", + "description": "Edge Subscription Registration ID" }, "id": { - "description": "ARM ID of the subscription", - "type": "string" + "type": "string", + "description": "ARM ID of the subscription" }, "state": { - "enum": [ - "Registered", - "Warned", - "Suspended", - "Deleted", - "Unregistered" - ], - "type": "string", - "x-ms-enum": { - "name": "SubscriptionState", - "modelAsString": true - } + "$ref": "#/definitions/SubscriptionState" }, "registrationDate": { "type": "string" @@ -6010,87 +6695,94 @@ } }, "EdgeProfileSubscriptionPatch": { - "description": "The Data Box Edge/Gateway Edge Profile Subscription patch.", "type": "object", + "description": "The Data Box Edge/Gateway Edge Profile Subscription patch.", "properties": { "id": { - "description": "The path ID that uniquely identifies the subscription of the edge profile.", - "type": "string" + "type": "string", + "description": "The path ID that uniquely identifies the subscription of the edge profile." } } }, + "EncryptionAlgorithm": { + "type": "string", + "description": "The algorithm used to encrypt \"Value\".", + "enum": [ + "None", + "AES256", + "RSAES_PKCS1_v_1_5" + ], + "x-ms-enum": { + "name": "EncryptionAlgorithm", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None" + }, + { + "name": "AES256", + "value": "AES256" + }, + { + "name": "RSAES_PKCS1_v_1_5", + "value": "RSAES_PKCS1_v_1_5" + } + ] + } + }, "EtcdInfo": { - "description": "Etcd configuration", "type": "object", + "description": "Etcd configuration", "properties": { "type": { - "description": "Etcd type", "type": "string", + "description": "Etcd type", "readOnly": true }, "version": { - "description": "Etcd version", "type": "string", + "description": "Etcd version", "readOnly": true } } }, "FileEventTrigger": { - "description": "Trigger details.", - "required": [ - "properties", - "kind" - ], "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Trigger" - } - ], + "description": "Trigger details.", "properties": { "properties": { "$ref": "#/definitions/FileTriggerProperties", "description": "File trigger properties.", "x-ms-client-flatten": true - }, - "id": { - "description": "The path ID that uniquely identifies the object.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "The object name.", - "type": "string", - "readOnly": true - }, - "type": { - "description": "The hierarchical type of the object.", - "type": "string", - "readOnly": true } }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "#/definitions/Trigger" + } + ], "x-ms-discriminator-value": "FileEvent" }, "FileSourceInfo": { - "description": "File source details.", - "required": [ - "shareId" - ], "type": "object", + "description": "File source details.", "properties": { "shareId": { - "description": "File share ID.", - "type": "string" + "type": "string", + "description": "File share ID." } - } + }, + "required": [ + "shareId" + ] }, "FileTriggerProperties": { - "description": "File trigger properties.", - "required": [ - "sourceInfo", - "sinkInfo" - ], "type": "object", + "description": "File trigger properties.", "properties": { "sourceInfo": { "$ref": "#/definitions/FileSourceInfo", @@ -6101,64 +6793,68 @@ "description": "Role sink info." }, "customContextTag": { + "type": "string", "description": "A custom context tag typically used to correlate the trigger against its usage. For example, if a periodic timer trigger is intended for certain specific IoT modules in the device, the tag can be the name or the image URL of the module.", - "maxLength": 192, - "type": "string" + "maxLength": 192 } - } + }, + "required": [ + "sourceInfo", + "sinkInfo" + ] }, "GenerateCertResponse": { - "description": "Used in activation key generation flow.", "type": "object", + "description": "Used in activation key generation flow.", "properties": { "publicKey": { - "description": "Gets or sets base64 encoded certificate raw data,\r\nthis is the public part needed to be uploaded to cert vault", - "type": "string" + "type": "string", + "description": "Gets or sets base64 encoded certificate raw data,\nthis is the public part needed to be uploaded to cert vault" }, "privateKey": { - "description": "Gets or sets base64 encoded private part of the certificate,\r\nneeded to form the activation key", "type": "string", + "format": "password", + "description": "Gets or sets base64 encoded private part of the certificate,\nneeded to form the activation key", "x-ms-secret": true }, "expiryTimeInUTC": { - "description": "Gets or sets expiry time in UTC", - "type": "string" + "type": "string", + "description": "Gets or sets expiry time in UTC" } } }, "HostCapacity": { - "description": "Host Capacity Data.", "type": "object", + "description": "Host Capacity Data.", "properties": { "hostName": { - "description": "The name of the host.", - "type": "string" + "type": "string", + "description": "The name of the host." }, "effectiveAvailableMemoryMbOnHost": { + "type": "integer", "format": "int64", - "description": "The available memory on the host accounting for VM placement size and any host VM reservations.", - "type": "integer" + "description": "The available memory on the host accounting for VM placement size and any host VM reservations." }, "availableGpuCount": { + "type": "integer", "format": "int32", - "description": "The available amount of GPUs on the host to use after accounting for GPUS used by reservations on the host.", - "type": "integer" + "description": "The available amount of GPUs on the host to use after accounting for GPUS used by reservations on the host." }, "vmUsedMemory": { - "description": "The VM used memory per VmId.", "type": "object", + "description": "The VM used memory per VmId.", "additionalProperties": { "$ref": "#/definitions/VmMemory" } }, "gpuType": { - "description": "The GPU type of the VM.", - "type": "string" + "type": "string", + "description": "The GPU type of the VM." }, "numaNodesData": { - "description": "The numa nodes information for Hpn VMs.", - "uniqueItems": false, "type": "array", + "description": "The numa nodes information for Hpn VMs.", "items": { "$ref": "#/definitions/NumaNodeData" }, @@ -6166,71 +6862,127 @@ } } }, - "ImageRepositoryCredential": { - "description": "Image repository credential.", - "required": [ - "imageRepositoryUrl", - "userName" + "HostPlatformType": { + "type": "string", + "description": "Platform where the runtime is hosted.", + "enum": [ + "KubernetesCluster", + "LinuxVM" ], + "x-ms-enum": { + "name": "HostPlatformType", + "modelAsString": true, + "values": [ + { + "name": "KubernetesCluster", + "value": "KubernetesCluster" + }, + { + "name": "LinuxVM", + "value": "LinuxVM" + } + ] + } + }, + "ImageRepositoryCredential": { "type": "object", + "description": "Image repository credential.", "properties": { "imageRepositoryUrl": { - "description": "Image repository url (e.g.: mcr.microsoft.com).", - "type": "string" + "type": "string", + "description": "Image repository url (e.g.: mcr.microsoft.com)." }, "userName": { - "description": "Repository user name.", - "type": "string" + "type": "string", + "description": "Repository user name." }, "password": { "$ref": "#/definitions/AsymmetricEncryptedSecret", "description": "Repository user password." } + }, + "required": [ + "imageRepositoryUrl", + "userName" + ] + }, + "InstallRebootBehavior": { + "type": "string", + "description": "Indicates if updates are available and at least one of the updates needs a reboot.", + "enum": [ + "NeverReboots", + "RequiresReboot", + "RequestReboot" + ], + "x-ms-enum": { + "name": "InstallRebootBehavior", + "modelAsString": true, + "values": [ + { + "name": "NeverReboots", + "value": "NeverReboots" + }, + { + "name": "RequiresReboot", + "value": "RequiresReboot" + }, + { + "name": "RequestReboot", + "value": "RequestReboot" + } + ] } }, - "IoTAddon": { - "description": "IoT Addon.", - "required": [ - "properties", - "kind" + "InstallationImpact": { + "type": "string", + "description": "Impact of Installing an updateType", + "enum": [ + "None", + "DeviceRebooted", + "KubernetesWorkloadsDown" ], + "x-ms-enum": { + "name": "InstallationImpact", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None" + }, + { + "name": "DeviceRebooted", + "value": "DeviceRebooted" + }, + { + "name": "KubernetesWorkloadsDown", + "value": "KubernetesWorkloadsDown" + } + ] + } + }, + "IoTAddon": { "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Addon" - } - ], + "description": "IoT Addon.", "properties": { "properties": { "$ref": "#/definitions/IoTAddonProperties", "description": "Properties specific to IOT addon.", "x-ms-client-flatten": true - }, - "id": { - "description": "The path ID that uniquely identifies the object.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "The object name.", - "type": "string", - "readOnly": true - }, - "type": { - "description": "The hierarchical type of the object.", - "type": "string", - "readOnly": true } }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "#/definitions/Addon" + } + ], "x-ms-discriminator-value": "IotEdge" }, "IoTAddonProperties": { - "description": "IoT addon properties.", - "required": [ - "ioTDeviceDetails", - "ioTEdgeDeviceDetails" - ], "type": "object", + "description": "IoT addon properties.", "properties": { "ioTDeviceDetails": { "$ref": "#/definitions/IoTDeviceInfo", @@ -6241,160 +6993,103 @@ "description": "IoT edge device to which the IoT Addon needs to be configured." }, "version": { - "description": "Version of IoT running on the appliance.", "type": "string", + "description": "Version of IoT running on the appliance.", "readOnly": true }, "hostPlatform": { + "$ref": "#/definitions/PlatformType", "description": "Host OS supported by the IoT addon.", - "enum": [ - "Windows", - "Linux" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "PlatformType", - "modelAsString": true - } + "readOnly": true }, "hostPlatformType": { + "$ref": "#/definitions/HostPlatformType", "description": "Platform where the runtime is hosted.", - "enum": [ - "KubernetesCluster", - "LinuxVM" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "HostPlatformType", - "modelAsString": true - } + "readOnly": true }, "provisioningState": { + "$ref": "#/definitions/AddonState", "description": "Addon Provisioning State", - "enum": [ - "Invalid", - "Creating", - "Created", - "Updating", - "Reconfiguring", - "Failed", - "Deleting" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "AddonState", - "modelAsString": true - } + "readOnly": true } - } + }, + "required": [ + "ioTDeviceDetails", + "ioTEdgeDeviceDetails" + ] }, "IoTDeviceInfo": { - "description": "Metadata of IoT device/IoT Edge device to be configured.", - "required": [ - "deviceId", - "ioTHostHub" - ], "type": "object", + "description": "Metadata of IoT device/IoT Edge device to be configured.", "properties": { "deviceId": { - "description": "ID of the IoT device/edge device.", - "type": "string" + "type": "string", + "description": "ID of the IoT device/edge device." }, "ioTHostHub": { - "description": "Host name for the IoT hub associated to the device.", - "type": "string" + "type": "string", + "description": "Host name for the IoT hub associated to the device." }, "ioTHostHubId": { - "description": "Id for the IoT hub associated to the device.", - "type": "string" + "type": "string", + "description": "Id for the IoT hub associated to the device." }, "authentication": { "$ref": "#/definitions/Authentication", "description": "Encrypted IoT device/IoT edge device connection string." } - } + }, + "required": [ + "deviceId", + "ioTHostHub" + ] }, "IoTEdgeAgentInfo": { - "description": "IoT edge agent details is optional, this will be used for download system Agent module while bootstrapping IoT Role if specified.", - "required": [ - "imageName", - "tag" - ], "type": "object", + "description": "IoT edge agent details is optional, this will be used for download system Agent module while bootstrapping IoT Role if specified.", "properties": { "imageName": { - "description": "Name of the IoT edge agent image.", - "type": "string" + "type": "string", + "description": "Name of the IoT edge agent image." }, "tag": { - "description": "Image Tag.", - "type": "string" + "type": "string", + "description": "Image Tag." }, "imageRepository": { "$ref": "#/definitions/ImageRepositoryCredential", "description": "Image repository details." } - } - }, - "IoTRole": { - "description": "Compute role.", + }, "required": [ - "kind" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Role" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/IoTRoleProperties", - "description": "Properties specific to IoT role.", - "x-ms-client-flatten": true - }, - "id": { - "description": "The path ID that uniquely identifies the object.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "The object name.", - "type": "string", - "readOnly": true - }, - "type": { - "description": "The hierarchical type of the object.", - "type": "string", - "readOnly": true + "imageName", + "tag" + ] + }, + "IoTRole": { + "type": "object", + "description": "Compute role.", + "properties": { + "properties": { + "$ref": "#/definitions/IoTRoleProperties", + "description": "Properties specific to IoT role.", + "x-ms-client-flatten": true } }, + "allOf": [ + { + "$ref": "#/definitions/Role" + } + ], "x-ms-discriminator-value": "IOT" }, "IoTRoleProperties": { - "description": "IoT role properties.", - "required": [ - "hostPlatform", - "ioTDeviceDetails", - "ioTEdgeDeviceDetails", - "roleStatus" - ], "type": "object", + "description": "IoT role properties.", "properties": { "hostPlatform": { - "description": "Host OS supported by the IoT role.", - "enum": [ - "Windows", - "Linux" - ], - "type": "string", - "x-ms-enum": { - "name": "PlatformType", - "modelAsString": true - } + "$ref": "#/definitions/PlatformType", + "description": "Host OS supported by the IoT role." }, "ioTDeviceDetails": { "$ref": "#/definitions/IoTDeviceInfo", @@ -6405,9 +7100,8 @@ "description": "IoT edge device to which the IoT role needs to be configured." }, "shareMappings": { - "description": "Mount points of shares in role(s).", - "uniqueItems": false, "type": "array", + "description": "Mount points of shares in role(s).", "items": { "$ref": "#/definitions/MountPointMap" }, @@ -6420,181 +7114,145 @@ "description": "Iot edge agent details to download the agent and bootstrap iot runtime." }, "hostPlatformType": { + "$ref": "#/definitions/HostPlatformType", "description": "Platform where the Iot runtime is hosted.", - "enum": [ - "KubernetesCluster", - "LinuxVM" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "HostPlatformType", - "modelAsString": true - } + "readOnly": true }, "computeResource": { "$ref": "#/definitions/ComputeResource", "description": "Resource allocation" }, "roleStatus": { - "description": "Role status.", - "enum": [ - "Enabled", - "Disabled" - ], - "type": "string", - "x-ms-enum": { - "name": "RoleStatus", - "modelAsString": true - } + "$ref": "#/definitions/RoleStatus", + "description": "Role status." } - } + }, + "required": [ + "hostPlatform", + "ioTDeviceDetails", + "ioTEdgeDeviceDetails", + "roleStatus" + ] }, "Ipv4Config": { - "description": "Details related to the IPv4 address configuration.", "type": "object", + "description": "Details related to the IPv4 address configuration.", "properties": { "ipAddress": { - "description": "The IPv4 address of the network adapter.", "type": "string", + "description": "The IPv4 address of the network adapter.", "readOnly": true }, "subnet": { - "description": "The IPv4 subnet of the network adapter.", "type": "string", + "description": "The IPv4 subnet of the network adapter.", "readOnly": true }, "gateway": { - "description": "The IPv4 gateway of the network adapter.", "type": "string", + "description": "The IPv4 gateway of the network adapter.", "readOnly": true } } }, "Ipv6Config": { - "description": "Details related to the IPv6 address configuration.", "type": "object", + "description": "Details related to the IPv6 address configuration.", "properties": { "ipAddress": { - "description": "The IPv6 address of the network adapter.", "type": "string", + "description": "The IPv6 address of the network adapter.", "readOnly": true }, "prefixLength": { + "type": "integer", "format": "int32", "description": "The IPv6 prefix of the network adapter.", - "type": "integer", "readOnly": true }, "gateway": { - "description": "The IPv6 gateway of the network adapter.", "type": "string", + "description": "The IPv6 gateway of the network adapter.", "readOnly": true } } }, "Job": { - "description": "A device job.", "type": "object", + "description": "A device job.", "properties": { - "id": { - "description": "The path ID that uniquely identifies the object.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "The name of the object.", - "type": "string", - "readOnly": true - }, - "type": { - "description": "The hierarchical type of the object.", - "type": "string", - "readOnly": true + "properties": { + "$ref": "#/definitions/JobProperties", + "description": "The properties of the job.", + "x-ms-client-flatten": true }, "status": { + "$ref": "#/definitions/JobStatus", "description": "The current status of the job.", - "enum": [ - "Invalid", - "Running", - "Succeeded", - "Failed", - "Canceled", - "Paused", - "Scheduled" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "JobStatus", - "modelAsString": true - } + "readOnly": true }, "startTime": { + "type": "string", "format": "date-time", "description": "The UTC date and time at which the job started.", - "type": "string", "readOnly": true }, "endTime": { + "type": "string", "format": "date-time", "description": "The UTC date and time at which the job completed.", - "type": "string", "readOnly": true }, "percentComplete": { + "type": "integer", "format": "int32", "description": "The percentage of the job that is complete.", - "type": "integer", "readOnly": true }, "error": { "$ref": "#/definitions/JobErrorDetails", "description": "The error details.", "readOnly": true - }, - "properties": { - "$ref": "#/definitions/JobProperties", - "description": "The properties of the job.", - "readOnly": true, - "x-ms-client-flatten": true } - } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] }, "JobErrorDetails": { - "description": "The job error information containing the list of job errors.", "type": "object", + "description": "The job error information containing the list of job errors.", "properties": { "errorDetails": { - "description": "The error details.", - "uniqueItems": false, "type": "array", + "description": "The error details.", "items": { "$ref": "#/definitions/JobErrorItem" }, - "x-ms-identifiers": [], - "readOnly": true + "readOnly": true, + "x-ms-identifiers": [] }, "code": { - "description": "The code intended for programmatic access.", "type": "string", + "description": "The code intended for programmatic access.", "readOnly": true }, "message": { - "description": "The message that describes the error in detail.", "type": "string", + "description": "The message that describes the error in detail.", "readOnly": true } } }, "JobErrorItem": { - "description": "The job error items.", "type": "object", + "description": "The job error items.", "properties": { "recommendations": { - "description": "The recommended actions.", - "uniqueItems": false, "type": "array", + "description": "The recommended actions.", "items": { "type": "string" }, @@ -6602,68 +7260,30 @@ "x-ms-identifiers": [] }, "code": { - "description": "The code intended for programmatic access.", "type": "string", + "description": "The code intended for programmatic access.", "readOnly": true }, "message": { - "description": "The message that describes the error in detail.", "type": "string", + "description": "The message that describes the error in detail.", "readOnly": true } } }, "JobProperties": { - "description": "The properties for the job.", "type": "object", + "description": "The properties for the job.", "properties": { "jobType": { + "$ref": "#/definitions/JobType", "description": "The type of the job.", - "enum": [ - "Invalid", - "ScanForUpdates", - "DownloadUpdates", - "InstallUpdates", - "RefreshShare", - "RefreshContainer", - "Backup", - "Restore", - "TriggerSupportPackage" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "JobType", - "modelAsString": true - } + "readOnly": true }, "currentStage": { + "$ref": "#/definitions/UpdateOperationStage", "description": "Current stage of the update operation.", - "enum": [ - "Unknown", - "Initial", - "ScanStarted", - "ScanComplete", - "ScanFailed", - "DownloadStarted", - "DownloadComplete", - "DownloadFailed", - "InstallStarted", - "InstallComplete", - "InstallFailed", - "RebootInitiated", - "Success", - "Failure", - "RescanStarted", - "RescanComplete", - "RescanFailed" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "UpdateOperationStage", - "modelAsString": true - } + "readOnly": true }, "downloadProgress": { "$ref": "#/definitions/UpdateDownloadProgress", @@ -6676,33 +7296,176 @@ "readOnly": true }, "totalRefreshErrors": { + "type": "integer", "format": "int32", "description": "Total number of errors encountered during the refresh process.", - "type": "integer", "readOnly": true }, "errorManifestFile": { - "description": "Local share/remote container relative path to the error manifest file of the refresh.", "type": "string", + "description": "Local share/remote container relative path to the error manifest file of the refresh.", "readOnly": true }, "refreshedEntityId": { - "description": "ARM ID of the entity that was refreshed.", "type": "string", + "description": "ARM ID of the entity that was refreshed.", "readOnly": true }, "folder": { - "description": "If only subfolders need to be refreshed, then the subfolder path inside the share or container. (The path is empty if there are no subfolders.)", - "type": "string" + "type": "string", + "description": "If only subfolders need to be refreshed, then the subfolder path inside the share or container. (The path is empty if there are no subfolders.)" } } }, - "KubernetesClusterInfo": { - "description": "Kubernetes cluster configuration", - "required": [ - "version" + "JobStatus": { + "type": "string", + "description": "The current status of the job.", + "enum": [ + "Invalid", + "Running", + "Succeeded", + "Failed", + "Canceled", + "Paused", + "Scheduled" + ], + "x-ms-enum": { + "name": "JobStatus", + "modelAsString": true, + "values": [ + { + "name": "Invalid", + "value": "Invalid" + }, + { + "name": "Running", + "value": "Running" + }, + { + "name": "Succeeded", + "value": "Succeeded" + }, + { + "name": "Failed", + "value": "Failed" + }, + { + "name": "Canceled", + "value": "Canceled" + }, + { + "name": "Paused", + "value": "Paused" + }, + { + "name": "Scheduled", + "value": "Scheduled" + } + ] + } + }, + "JobType": { + "type": "string", + "description": "The type of the job.", + "enum": [ + "Invalid", + "ScanForUpdates", + "DownloadUpdates", + "InstallUpdates", + "RefreshShare", + "RefreshContainer", + "Backup", + "Restore", + "TriggerSupportPackage" + ], + "x-ms-enum": { + "name": "JobType", + "modelAsString": true, + "values": [ + { + "name": "Invalid", + "value": "Invalid" + }, + { + "name": "ScanForUpdates", + "value": "ScanForUpdates" + }, + { + "name": "DownloadUpdates", + "value": "DownloadUpdates" + }, + { + "name": "InstallUpdates", + "value": "InstallUpdates" + }, + { + "name": "RefreshShare", + "value": "RefreshShare" + }, + { + "name": "RefreshContainer", + "value": "RefreshContainer" + }, + { + "name": "Backup", + "value": "Backup" + }, + { + "name": "Restore", + "value": "Restore" + }, + { + "name": "TriggerSupportPackage", + "value": "TriggerSupportPackage" + } + ] + } + }, + "KeyVaultSyncStatus": { + "type": "string", + "description": "For changing or to initiate the resync to key-vault set the status to KeyVaultSyncPending, rest of the status will not be applicable.", + "enum": [ + "KeyVaultSynced", + "KeyVaultSyncFailed", + "KeyVaultNotConfigured", + "KeyVaultSyncPending", + "KeyVaultSyncing", + "KeyVaultNotSynced" ], + "x-ms-enum": { + "name": "KeyVaultSyncStatus", + "modelAsString": true, + "values": [ + { + "name": "KeyVaultSynced", + "value": "KeyVaultSynced" + }, + { + "name": "KeyVaultSyncFailed", + "value": "KeyVaultSyncFailed" + }, + { + "name": "KeyVaultNotConfigured", + "value": "KeyVaultNotConfigured" + }, + { + "name": "KeyVaultSyncPending", + "value": "KeyVaultSyncPending" + }, + { + "name": "KeyVaultSyncing", + "value": "KeyVaultSyncing" + }, + { + "name": "KeyVaultNotSynced", + "value": "KeyVaultNotSynced" + } + ] + } + }, + "KubernetesClusterInfo": { "type": "object", + "description": "Kubernetes cluster configuration", "properties": { "etcdInfo": { "$ref": "#/definitions/EtcdInfo", @@ -6710,102 +7473,113 @@ "readOnly": true }, "nodes": { - "description": "Kubernetes cluster nodes", - "uniqueItems": false, "type": "array", + "description": "Kubernetes cluster nodes", "items": { "$ref": "#/definitions/NodeInfo" }, + "readOnly": true, "x-ms-identifiers": [ "name", "type" - ], - "readOnly": true + ] }, "version": { - "description": "Kubernetes cluster version", - "type": "string" + "type": "string", + "description": "Kubernetes cluster version" } - } + }, + "required": [ + "version" + ] }, "KubernetesIPConfiguration": { - "description": "Kubernetes node IP configuration", "type": "object", + "description": "Kubernetes node IP configuration", "properties": { "port": { - "description": "Port of the Kubernetes node.", "type": "string", + "description": "Port of the Kubernetes node.", "readOnly": true }, "ipAddress": { - "description": "IP address of the Kubernetes node.", - "type": "string" + "type": "string", + "description": "IP address of the Kubernetes node." } } }, - "KubernetesRole": { - "description": "The limited preview of Kubernetes Cluster Management from the Azure supports:\r\n1. Using a simple turn-key option in Azure Portal, deploy a Kubernetes cluster on your Azure Stack Edge device. \r\n2. Configure Kubernetes cluster running on your device with Arc enabled Kubernetes with a click of a button in the Azure Portal. \r\n Azure Arc enables organizations to view, manage, and govern their on-premises Kubernetes clusters using the Azure Portal, command line tools, and APIs.\r\n3. Easily configure Persistent Volumes using SMB and NFS shares for storing container data. \r\n For more information, refer to the document here: https://databoxupdatepackages.blob.core.windows.net/documentation/Microsoft-Azure-Stack-Edge-K8-Cloud-Management-20210323.pdf \r\n Or Demo: https://databoxupdatepackages.blob.core.windows.net/documentation/Microsoft-Azure-Stack-Edge-K8S-Cloud-Management-20210323.mp4\r\n By using this feature, you agree to the preview legal terms. See the https://azure.microsoft.com/en-us/support/legal/preview-supplemental-terms/", - "required": [ - "kind" + "KubernetesNodeType": { + "type": "string", + "description": "Node type - Master/Worker", + "enum": [ + "Invalid", + "Master", + "Worker" ], + "x-ms-enum": { + "name": "KubernetesNodeType", + "modelAsString": true, + "values": [ + { + "name": "Invalid", + "value": "Invalid" + }, + { + "name": "Master", + "value": "Master" + }, + { + "name": "Worker", + "value": "Worker" + } + ] + } + }, + "KubernetesRole": { "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Role" - } - ], + "description": "The limited preview of Kubernetes Cluster Management from the Azure supports:\n1. Using a simple turn-key option in Azure Portal, deploy a Kubernetes cluster on your Azure Stack Edge device.\n2. Configure Kubernetes cluster running on your device with Arc enabled Kubernetes with a click of a button in the Azure Portal.\nAzure Arc enables organizations to view, manage, and govern their on-premises Kubernetes clusters using the Azure Portal, command line tools, and APIs.\n3. Easily configure Persistent Volumes using SMB and NFS shares for storing container data.\nFor more information, refer to the document here: https://databoxupdatepackages.blob.core.windows.net/documentation/Microsoft-Azure-Stack-Edge-K8-Cloud-Management-20210323.pdf\nOr Demo: https://databoxupdatepackages.blob.core.windows.net/documentation/Microsoft-Azure-Stack-Edge-K8S-Cloud-Management-20210323.mp4\nBy using this feature, you agree to the preview legal terms. See the https://azure.microsoft.com/en-us/support/legal/preview-supplemental-terms/", "properties": { "properties": { "$ref": "#/definitions/KubernetesRoleProperties", "description": "Properties specific to Kubernetes role.", "x-ms-client-flatten": true - }, - "id": { - "description": "The path ID that uniquely identifies the object.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "The object name.", - "type": "string", - "readOnly": true - }, - "type": { - "description": "The hierarchical type of the object.", - "type": "string", - "readOnly": true } }, - "x-ms-discriminator-value": "Kubernetes" - }, - "KubernetesRoleCompute": { - "description": "Kubernetes role compute resource", - "required": [ - "vmProfile" + "allOf": [ + { + "$ref": "#/definitions/Role" + } ], + "x-ms-discriminator-value": "Kubernetes" + }, + "KubernetesRoleCompute": { "type": "object", + "description": "Kubernetes role compute resource", "properties": { "vmProfile": { - "description": "VM profile", - "type": "string" + "type": "string", + "description": "VM profile" }, "memoryInBytes": { + "type": "integer", "format": "int64", "description": "Memory in bytes", - "type": "integer", "readOnly": true }, "processorCount": { + "type": "integer", "format": "int32", "description": "Processor count", - "type": "integer", "readOnly": true } - } + }, + "required": [ + "vmProfile" + ] }, "KubernetesRoleNetwork": { - "description": "Kubernetes role network resource", "type": "object", + "description": "Kubernetes role network resource", "properties": { "cniConfig": { "$ref": "#/definitions/CniConfig", @@ -6820,57 +7594,22 @@ } }, "KubernetesRoleProperties": { - "description": "Kubernetes role properties.", - "required": [ - "hostPlatform", - "kubernetesClusterInfo", - "kubernetesRoleResources", - "roleStatus" - ], "type": "object", + "description": "Kubernetes role properties.", "properties": { "hostPlatform": { - "description": "Host OS supported by the Kubernetes role.", - "enum": [ - "Windows", - "Linux" - ], - "type": "string", - "x-ms-enum": { - "name": "PlatformType", - "modelAsString": true - } + "$ref": "#/definitions/PlatformType", + "description": "Host OS supported by the Kubernetes role." }, "provisioningState": { + "$ref": "#/definitions/KubernetesState", "description": "State of Kubernetes deployment", - "enum": [ - "Invalid", - "Creating", - "Created", - "Updating", - "Reconfiguring", - "Failed", - "Deleting" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "KubernetesState", - "modelAsString": true - } + "readOnly": true }, "hostPlatformType": { + "$ref": "#/definitions/HostPlatformType", "description": "Platform where the runtime is hosted.", - "enum": [ - "KubernetesCluster", - "LinuxVM" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "HostPlatformType", - "modelAsString": true - } + "readOnly": true }, "kubernetesClusterInfo": { "$ref": "#/definitions/KubernetesClusterInfo", @@ -6881,25 +7620,20 @@ "description": "Kubernetes role resources" }, "roleStatus": { - "description": "Role status.", - "enum": [ - "Enabled", - "Disabled" - ], - "type": "string", - "x-ms-enum": { - "name": "RoleStatus", - "modelAsString": true - } + "$ref": "#/definitions/RoleStatus", + "description": "Role status." } - } + }, + "required": [ + "hostPlatform", + "kubernetesClusterInfo", + "kubernetesRoleResources", + "roleStatus" + ] }, "KubernetesRoleResources": { - "description": "Kubernetes role resources", - "required": [ - "compute" - ], "type": "object", + "description": "Kubernetes role resources", "properties": { "storage": { "$ref": "#/definitions/KubernetesRoleStorage", @@ -6914,29 +7648,30 @@ "description": "Kubernetes role network resource", "readOnly": true } - } + }, + "required": [ + "compute" + ] }, "KubernetesRoleStorage": { - "description": "Kubernetes role storage resource", "type": "object", + "description": "Kubernetes role storage resource", "properties": { "storageClasses": { - "description": "Kubernetes storage class info.", - "uniqueItems": false, "type": "array", + "description": "Kubernetes storage class info.", "items": { "$ref": "#/definitions/KubernetesRoleStorageClassInfo" }, + "readOnly": true, "x-ms-identifiers": [ "name", "type" - ], - "readOnly": true + ] }, "endpoints": { - "description": "Mount points of shares in role(s).", - "uniqueItems": false, "type": "array", + "description": "Mount points of shares in role(s).", "items": { "$ref": "#/definitions/MountPointMap" }, @@ -6947,176 +7682,252 @@ } }, "KubernetesRoleStorageClassInfo": { - "description": "Kubernetes storage class info.", "type": "object", + "description": "Kubernetes storage class info.", "properties": { "name": { - "description": "Storage class name.", "type": "string", + "description": "Storage class name.", "readOnly": true }, "type": { - "description": "Storage class type.", "type": "string", + "description": "Storage class type.", "readOnly": true }, "posixCompliant": { + "$ref": "#/definitions/PosixComplianceStatus", "description": "If provisioned storage is posix compliant.", - "enum": [ - "Invalid", - "Enabled", - "Disabled" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "PosixComplianceStatus", - "modelAsString": true - } + "readOnly": true } } }, + "KubernetesState": { + "type": "string", + "description": "State of Kubernetes deployment", + "enum": [ + "Invalid", + "Creating", + "Created", + "Updating", + "Reconfiguring", + "Failed", + "Deleting" + ], + "x-ms-enum": { + "name": "KubernetesState", + "modelAsString": true, + "values": [ + { + "name": "Invalid", + "value": "Invalid" + }, + { + "name": "Creating", + "value": "Creating" + }, + { + "name": "Created", + "value": "Created" + }, + { + "name": "Updating", + "value": "Updating" + }, + { + "name": "Reconfiguring", + "value": "Reconfiguring" + }, + { + "name": "Failed", + "value": "Failed" + }, + { + "name": "Deleting", + "value": "Deleting" + } + ] + } + }, "LoadBalancerConfig": { - "description": "Load balancer configuration", "type": "object", + "description": "Load balancer configuration", "properties": { "type": { - "description": "Load balancer type", "type": "string", + "description": "Load balancer type", "readOnly": true }, "version": { - "description": "Load balancer version", "type": "string", + "description": "Load balancer version", "readOnly": true }, "ipRange": { "type": "array", + "description": "Load balancer ipconfig", "items": { "type": "string" - }, - "description": "Load balancer ipconfig" + } } } }, "MECRole": { - "description": "MEC role.", - "required": [ - "kind" - ], "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Role" - } - ], + "description": "MEC role.", "properties": { "properties": { "$ref": "#/definitions/MECRoleProperties", "description": "Properties specific to MEC role.", "x-ms-client-flatten": true - }, - "id": { - "description": "The path ID that uniquely identifies the object.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "The object name.", - "type": "string", - "readOnly": true - }, - "type": { - "description": "The hierarchical type of the object.", - "type": "string", - "readOnly": true } }, + "allOf": [ + { + "$ref": "#/definitions/Role" + } + ], "x-ms-discriminator-value": "MEC" }, "MECRoleProperties": { - "description": "MEC role properties.", - "required": [ - "roleStatus" - ], "type": "object", + "description": "MEC role properties.", "properties": { "connectionString": { "$ref": "#/definitions/AsymmetricEncryptedSecret", "description": "Activation key of the MEC." }, "controllerEndpoint": { - "description": "Controller Endpoint.", - "type": "string" + "type": "string", + "description": "Controller Endpoint." }, "resourceUniqueId": { - "description": "Unique Id of the Resource.", - "type": "string" + "type": "string", + "description": "Unique Id of the Resource." }, "roleStatus": { - "description": "Role status.", - "enum": [ - "Enabled", - "Disabled" - ], - "type": "string", - "x-ms-enum": { - "name": "RoleStatus", - "modelAsString": true - } + "$ref": "#/definitions/RoleStatus", + "description": "Role status." } + }, + "required": [ + "roleStatus" + ] + }, + "MetricAggregationType": { + "type": "string", + "description": "Metric aggregation type.", + "enum": [ + "NotSpecified", + "None", + "Average", + "Minimum", + "Maximum", + "Total", + "Count" + ], + "x-ms-enum": { + "name": "MetricAggregationType", + "modelAsString": true, + "values": [ + { + "name": "NotSpecified", + "value": "NotSpecified" + }, + { + "name": "None", + "value": "None" + }, + { + "name": "Average", + "value": "Average" + }, + { + "name": "Minimum", + "value": "Minimum" + }, + { + "name": "Maximum", + "value": "Maximum" + }, + { + "name": "Total", + "value": "Total" + }, + { + "name": "Count", + "value": "Count" + } + ] } }, - "MetricConfiguration": { - "description": "Metric configuration.", - "required": [ - "resourceId", - "counterSets" + "MetricCategory": { + "type": "string", + "description": "Metric category.", + "enum": [ + "Capacity", + "Transaction" ], + "x-ms-enum": { + "name": "MetricCategory", + "modelAsString": true, + "values": [ + { + "name": "Capacity", + "value": "Capacity" + }, + { + "name": "Transaction", + "value": "Transaction" + } + ] + } + }, + "MetricConfiguration": { "type": "object", + "description": "Metric configuration.", "properties": { "resourceId": { - "description": "The Resource ID on which the metrics should be pushed.", - "type": "string" + "type": "string", + "description": "The Resource ID on which the metrics should be pushed." }, "mdmAccount": { - "description": "The MDM account to which the counters should be pushed.", - "type": "string" + "type": "string", + "description": "The MDM account to which the counters should be pushed." }, "metricNameSpace": { - "description": "The MDM namespace to which the counters should be pushed. This is required if MDMAccount is specified", - "type": "string" + "type": "string", + "description": "The MDM namespace to which the counters should be pushed. This is required if MDMAccount is specified" }, "counterSets": { - "description": "Host name for the IoT hub associated to the device.", - "uniqueItems": false, "type": "array", + "description": "Host name for the IoT hub associated to the device.", "items": { "$ref": "#/definitions/MetricCounterSet" }, "x-ms-identifiers": [] } - } + }, + "required": [ + "resourceId", + "counterSets" + ] }, "MetricCounter": { - "description": "The metric counter", - "required": [ - "name" - ], "type": "object", + "description": "The metric counter", "properties": { "name": { - "description": "The counter name.", - "type": "string" + "type": "string", + "description": "The counter name." }, "instance": { - "description": "The instance from which counter should be collected.", - "type": "string" + "type": "string", + "description": "The instance from which counter should be collected." }, "dimensionFilter": { - "description": "The dimension filter.", - "uniqueItems": false, "type": "array", + "description": "The dimension filter.", "items": { "$ref": "#/definitions/MetricDimension" }, @@ -7125,9 +7936,8 @@ ] }, "additionalDimensions": { - "description": "The additional dimensions to be added to metric.", - "uniqueItems": false, "type": "array", + "description": "The additional dimensions to be added to metric.", "items": { "$ref": "#/definitions/MetricDimension" }, @@ -7135,19 +7945,18 @@ "sourceName" ] } - } + }, + "required": [ + "name" + ] }, "MetricCounterSet": { - "description": "The metric counter set", - "required": [ - "counters" - ], "type": "object", + "description": "The metric counter set", "properties": { "counters": { - "description": "The counters that should be collected in this set.", - "uniqueItems": false, "type": "array", + "description": "The counters that should be collected in this set.", "items": { "$ref": "#/definitions/MetricCounter" }, @@ -7155,99 +7964,74 @@ "name" ] } - } + }, + "required": [ + "counters" + ] }, "MetricDimension": { - "description": "The metric dimension", - "required": [ - "sourceType", - "sourceName" - ], "type": "object", + "description": "The metric dimension", "properties": { "sourceType": { - "description": "The dimension type.", - "type": "string" + "type": "string", + "description": "The dimension type." }, "sourceName": { - "description": "The dimension value.", - "type": "string" + "type": "string", + "description": "The dimension value." } - } + }, + "required": [ + "sourceType", + "sourceName" + ] }, "MetricDimension_V1": { - "description": "Metric Dimension v1.", "type": "object", + "description": "Metric Dimension v1.", "properties": { "name": { - "description": "Name of the metrics dimension.", - "type": "string" + "type": "string", + "description": "Name of the metrics dimension." }, "displayName": { - "description": "Display name of the metrics dimension.", - "type": "string" + "type": "string", + "description": "Display name of the metrics dimension." }, "toBeExportedForShoebox": { - "description": "To be exported to shoe box.", - "type": "boolean" + "type": "boolean", + "description": "To be exported to shoe box." } } }, "MetricSpecification_V1": { - "description": "Metric specification version 1.", "type": "object", + "description": "Metric specification version 1.", "properties": { "name": { - "description": "Name of the metric.", - "type": "string" + "type": "string", + "description": "Name of the metric." }, "displayName": { - "description": "Display name of the metric.", - "type": "string" + "type": "string", + "description": "Display name of the metric." }, "displayDescription": { - "description": "Description of the metric to be displayed.", - "type": "string" + "type": "string", + "description": "Description of the metric to be displayed." }, "unit": { - "description": "Metric units.", - "enum": [ - "NotSpecified", - "Percent", - "Count", - "Seconds", - "Milliseconds", - "Bytes", - "BytesPerSecond", - "CountPerSecond" - ], - "type": "string", - "x-ms-enum": { - "name": "MetricUnit", - "modelAsString": true - } + "$ref": "#/definitions/MetricUnit", + "description": "Metric units." }, "aggregationType": { - "description": "Metric aggregation type.", - "enum": [ - "NotSpecified", - "None", - "Average", - "Minimum", - "Maximum", - "Total", - "Count" - ], - "type": "string", - "x-ms-enum": { - "name": "MetricAggregationType", - "modelAsString": true - } + "$ref": "#/definitions/MetricAggregationType", + "description": "Metric aggregation type." }, "dimensions": { - "description": "Metric dimensions, other than default dimension which is resource.", - "uniqueItems": false, "type": "array", + "description": "Metric dimensions, other than default dimension which is resource.", "items": { "$ref": "#/definitions/MetricDimension_V1" }, @@ -7256,194 +8040,253 @@ ] }, "fillGapWithZero": { - "description": "Set true to fill the gaps with zero.", - "type": "boolean" + "type": "boolean", + "description": "Set true to fill the gaps with zero." }, "category": { - "description": "Metric category.", - "enum": [ - "Capacity", - "Transaction" - ], - "type": "string", - "x-ms-enum": { - "name": "MetricCategory", - "modelAsString": true - } + "$ref": "#/definitions/MetricCategory", + "description": "Metric category." }, "resourceIdDimensionNameOverride": { - "description": "Resource name override.", - "type": "string" + "type": "string", + "description": "Resource name override." }, "supportedTimeGrainTypes": { - "description": "Support granularity of metrics.", - "uniqueItems": false, "type": "array", + "description": "Support granularity of metrics.", "items": { - "enum": [ - "PT1M", - "PT5M", - "PT15M", - "PT30M", - "PT1H", - "PT6H", - "PT12H", - "PT1D" - ], - "type": "string", - "x-ms-enum": { - "name": "TimeGrain", - "modelAsString": true - } + "$ref": "#/definitions/TimeGrain" } }, "supportedAggregationTypes": { - "description": "Support metric aggregation type.", - "uniqueItems": false, "type": "array", "items": { - "enum": [ - "NotSpecified", - "None", - "Average", - "Minimum", - "Maximum", - "Total", - "Count" - ], - "type": "string", - "x-ms-enum": { - "name": "MetricAggregationType", - "modelAsString": true - } + "$ref": "#/definitions/MetricAggregationType" } } } }, - "MonitoringMetricConfiguration": { - "description": "The metric setting details for the role", - "required": [ - "properties" + "MetricUnit": { + "type": "string", + "description": "Metric units.", + "enum": [ + "NotSpecified", + "Percent", + "Count", + "Seconds", + "Milliseconds", + "Bytes", + "BytesPerSecond", + "CountPerSecond" ], + "x-ms-enum": { + "name": "MetricUnit", + "modelAsString": true, + "values": [ + { + "name": "NotSpecified", + "value": "NotSpecified" + }, + { + "name": "Percent", + "value": "Percent" + }, + { + "name": "Count", + "value": "Count" + }, + { + "name": "Seconds", + "value": "Seconds" + }, + { + "name": "Milliseconds", + "value": "Milliseconds" + }, + { + "name": "Bytes", + "value": "Bytes" + }, + { + "name": "BytesPerSecond", + "value": "BytesPerSecond" + }, + { + "name": "CountPerSecond", + "value": "CountPerSecond" + } + ] + } + }, + "MonitoringMetricConfiguration": { "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ARMBaseModel" - } - ], + "description": "The metric setting details for the role", "properties": { "properties": { "$ref": "#/definitions/MonitoringMetricConfigurationProperties", "description": "The metric setting properties.", "x-ms-client-flatten": true - }, - "systemData": { - "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "description": "Metadata pertaining to creation and last modification of MonitoringConfiguration", - "readOnly": true } - } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] }, "MonitoringMetricConfigurationList": { - "description": "Collection of metric configurations.", "type": "object", + "description": "Collection of metric configurations.", "properties": { "value": { - "description": "The list of metric configurations.", - "uniqueItems": false, "type": "array", + "description": "The MonitoringMetricConfiguration items on this page", "items": { "$ref": "#/definitions/MonitoringMetricConfiguration" }, - "readOnly": true, - "x-ms-identifiers": [] + "readOnly": true }, "nextLink": { - "description": "Link to the next set of results.", "type": "string", - "readOnly": true + "format": "uri", + "description": "The link to the next page of items" } - } + }, + "required": [ + "value" + ] }, "MonitoringMetricConfigurationProperties": { - "description": "Metrics properties", - "required": [ - "metricConfigurations" - ], "type": "object", + "description": "Metrics properties", "properties": { "metricConfigurations": { - "description": "The metrics configuration details", - "uniqueItems": false, "type": "array", + "description": "The metrics configuration details", "items": { "$ref": "#/definitions/MetricConfiguration" }, "x-ms-identifiers": [] } + }, + "required": [ + "metricConfigurations" + ] + }, + "MonitoringStatus": { + "type": "string", + "description": "Current monitoring status of the share.", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "MonitoringStatus", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled" + }, + { + "name": "Disabled", + "value": "Disabled" + } + ] } }, "MountPointMap": { - "description": "The share mount point.", - "required": [ - "shareId" - ], "type": "object", + "description": "The share mount point.", "properties": { "shareId": { - "description": "ID of the share mounted to the role VM.", - "type": "string" + "type": "string", + "description": "ID of the share mounted to the role VM." }, "roleId": { - "description": "ID of the role to which share is mounted.", "type": "string", + "description": "ID of the role to which share is mounted.", "readOnly": true }, "mountPoint": { - "description": "Mount point for the share.", "type": "string", + "description": "Mount point for the share.", "readOnly": true }, "mountType": { + "$ref": "#/definitions/MountType", "description": "Mounting type.", - "enum": [ - "Volume", - "HostPath" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "MountType", - "modelAsString": true - } + "readOnly": true }, "roleType": { + "$ref": "#/definitions/RoleTypes", "description": "Role type.", - "enum": [ - "IOT", - "ASA", - "Functions", - "Cognitive", - "MEC", - "CloudEdgeManagement", - "Kubernetes" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "RoleTypes", - "modelAsString": true - } + "readOnly": true } + }, + "required": [ + "shareId" + ] + }, + "MountType": { + "type": "string", + "description": "Mounting type.", + "enum": [ + "Volume", + "HostPath" + ], + "x-ms-enum": { + "name": "MountType", + "modelAsString": true, + "values": [ + { + "name": "Volume", + "value": "Volume" + }, + { + "name": "HostPath", + "value": "HostPath" + } + ] + } + }, + "MsiIdentityType": { + "type": "string", + "description": "Identity type", + "enum": [ + "None", + "SystemAssigned", + "UserAssigned" + ], + "x-ms-enum": { + "name": "MsiIdentityType", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None" + }, + { + "name": "SystemAssigned", + "value": "SystemAssigned" + }, + { + "name": "UserAssigned", + "value": "UserAssigned" + } + ] } }, "NetworkAdapter": { - "description": "Represents the networkAdapter on a device.", "type": "object", + "description": "Represents the networkAdapter on a device.", "properties": { "adapterId": { - "description": "Instance ID of network adapter.", "type": "string", + "description": "Instance ID of network adapter.", "readOnly": true }, "adapterPosition": { @@ -7452,73 +8295,49 @@ "readOnly": true }, "index": { + "type": "integer", "format": "int32", "description": "Logical index of the adapter.", - "type": "integer", "readOnly": true }, "nodeId": { - "description": "Node ID of the network adapter.", "type": "string", + "description": "Node ID of the network adapter.", "readOnly": true }, "networkAdapterName": { - "description": "Network adapter name.", "type": "string", + "description": "Network adapter name.", "readOnly": true }, "label": { - "description": "Hardware label for the adapter.", "type": "string", + "description": "Hardware label for the adapter.", "readOnly": true }, "macAddress": { - "description": "MAC address.", "type": "string", + "description": "MAC address.", "readOnly": true }, "linkSpeed": { + "type": "integer", "format": "int64", "description": "Link speed.", - "type": "integer", "readOnly": true }, "status": { + "$ref": "#/definitions/NetworkAdapterStatus", "description": "Value indicating whether this adapter is valid.", - "enum": [ - "Inactive", - "Active" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "NetworkAdapterStatus", - "modelAsString": true - } + "readOnly": true }, "rdmaStatus": { - "description": "Value indicating whether this adapter is RDMA capable.", - "enum": [ - "Incapable", - "Capable" - ], - "type": "string", - "x-ms-enum": { - "name": "NetworkAdapterRDMAStatus", - "modelAsString": true - } + "$ref": "#/definitions/NetworkAdapterRDMAStatus", + "description": "Value indicating whether this adapter is RDMA capable." }, "dhcpStatus": { - "description": "Value indicating whether this adapter has DHCP enabled.", - "enum": [ - "Disabled", - "Enabled" - ], - "type": "string", - "x-ms-enum": { - "name": "NetworkAdapterDHCPStatus", - "modelAsString": true - } + "$ref": "#/definitions/NetworkAdapterDHCPStatus", + "description": "Value indicating whether this adapter has DHCP enabled." }, "ipv4Configuration": { "$ref": "#/definitions/Ipv4Config", @@ -7531,14 +8350,13 @@ "readOnly": true }, "ipv6LinkLocalAddress": { - "description": "The IPv6 local address.", "type": "string", + "description": "The IPv6 local address.", "readOnly": true }, "dnsServers": { - "description": "The list of DNS Servers of the device.", - "uniqueItems": false, "type": "array", + "description": "The list of DNS Servers of the device.", "items": { "type": "string" }, @@ -7547,80 +8365,153 @@ } } }, + "NetworkAdapterDHCPStatus": { + "type": "string", + "description": "Value indicating whether this adapter has DHCP enabled.", + "enum": [ + "Disabled", + "Enabled" + ], + "x-ms-enum": { + "name": "NetworkAdapterDHCPStatus", + "modelAsString": true, + "values": [ + { + "name": "Disabled", + "value": "Disabled" + }, + { + "name": "Enabled", + "value": "Enabled" + } + ] + } + }, "NetworkAdapterPosition": { - "description": "The network adapter position.", "type": "object", + "description": "The network adapter position.", "properties": { "networkGroup": { + "$ref": "#/definitions/NetworkGroup", "description": "The network group.", - "enum": [ - "None", - "NonRDMA", - "RDMA" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "NetworkGroup", - "modelAsString": true - } + "readOnly": true }, "port": { + "type": "integer", "format": "int32", "description": "The port.", - "type": "integer", "readOnly": true } } }, + "NetworkAdapterRDMAStatus": { + "type": "string", + "description": "Value indicating whether this adapter is RDMA capable.", + "enum": [ + "Incapable", + "Capable" + ], + "x-ms-enum": { + "name": "NetworkAdapterRDMAStatus", + "modelAsString": true, + "values": [ + { + "name": "Incapable", + "value": "Incapable" + }, + { + "name": "Capable", + "value": "Capable" + } + ] + } + }, + "NetworkAdapterStatus": { + "type": "string", + "description": "Value indicating whether this adapter is valid.", + "enum": [ + "Inactive", + "Active" + ], + "x-ms-enum": { + "name": "NetworkAdapterStatus", + "modelAsString": true, + "values": [ + { + "name": "Inactive", + "value": "Inactive" + }, + { + "name": "Active", + "value": "Active" + } + ] + } + }, + "NetworkGroup": { + "type": "string", + "description": "The network group.", + "enum": [ + "None", + "NonRDMA", + "RDMA" + ], + "x-ms-enum": { + "name": "NetworkGroup", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None" + }, + { + "name": "NonRDMA", + "value": "NonRDMA" + }, + { + "name": "RDMA", + "value": "RDMA" + } + ] + } + }, "NetworkSettings": { - "description": "The network settings of a device.", "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ARMBaseModel" - } - ], + "description": "The network settings of a device.", "properties": { "properties": { "$ref": "#/definitions/NetworkSettingsProperties", "description": "The properties of network settings of a device.", "readOnly": true, "x-ms-client-flatten": true - }, - "systemData": { - "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "description": "Metadata pertaining to creation and last modification of NetworkSettings", - "readOnly": true } - } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] }, "NetworkSettingsProperties": { - "description": "The properties of network settings.", "type": "object", + "description": "The properties of network settings.", "properties": { "networkAdapters": { - "description": "The network adapter list on the device.", - "uniqueItems": false, "type": "array", + "description": "The network adapter list on the device.", "items": { "$ref": "#/definitions/NetworkAdapter" }, + "readOnly": true, "x-ms-identifiers": [ "adapterId" - ], - "readOnly": true + ] } } }, "Node": { - "description": "Represents a single node in a Data box Edge/Gateway device\r\nGateway devices, standalone Edge devices and a single node cluster Edge device will all have 1 node\r\nMulti-node Edge devices will have more than 1 nodes", "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ARMBaseModel" - } - ], + "description": "Represents a single node in a Data box Edge/Gateway device\nGateway devices, standalone Edge devices and a single node cluster Edge device will all have 1 node\nMulti-node Edge devices will have more than 1 nodes", "properties": { "properties": { "$ref": "#/definitions/NodeProperties", @@ -7628,35 +8519,30 @@ "readOnly": true, "x-ms-client-flatten": true } - } + }, + "allOf": [ + { + "$ref": "#/definitions/ARMBaseModel" + } + ] }, "NodeInfo": { - "description": "Kubernetes node info", "type": "object", + "description": "Kubernetes node info", "properties": { "name": { - "description": "Node name.", "type": "string", + "description": "Node name.", "readOnly": true }, "type": { + "$ref": "#/definitions/KubernetesNodeType", "description": "Node type - Master/Worker", - "enum": [ - "Invalid", - "Master", - "Worker" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "KubernetesNodeType", - "modelAsString": true - } + "readOnly": true }, "ipConfiguration": { - "description": "IP Configuration of the Kubernetes node.", - "uniqueItems": false, "type": "array", + "description": "IP Configuration of the Kubernetes node.", "items": { "$ref": "#/definitions/KubernetesIPConfiguration" }, @@ -7668,150 +8554,174 @@ } }, "NodeList": { - "description": "Collection of Nodes.", "type": "object", + "description": "Collection of Nodes.", "properties": { "value": { - "description": "The list of Nodes.", - "uniqueItems": false, "type": "array", + "description": "The Node items on this page", "items": { "$ref": "#/definitions/Node" }, - "readOnly": true, - "x-ms-identifiers": [] + "readOnly": true }, "nextLink": { - "description": "Link to the next set of results.", "type": "string", - "readOnly": true + "format": "uri", + "description": "The link to the next page of items" } - } + }, + "required": [ + "value" + ] }, "NodeProperties": { - "description": "This class represents the nodes in a highly available cluster", "type": "object", + "description": "This class represents the nodes in a highly available cluster", "properties": { "nodeStatus": { + "$ref": "#/definitions/NodeStatus", "description": "The current status of the individual node", - "enum": [ - "Unknown", - "Up", - "Down", - "Rebooting", - "ShuttingDown" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "NodeStatus", - "modelAsString": true - } + "readOnly": true }, "nodeChassisSerialNumber": { - "description": "Serial number of the Chassis", "type": "string", + "description": "Serial number of the Chassis", "readOnly": true }, "nodeSerialNumber": { - "description": "Serial number of the individual node", "type": "string", + "description": "Serial number of the individual node", "readOnly": true }, "nodeDisplayName": { - "description": "Display Name of the individual node", "type": "string", + "description": "Display Name of the individual node", "readOnly": true }, "nodeFriendlySoftwareVersion": { - "description": "Friendly software version name that is currently installed on the node", "type": "string", + "description": "Friendly software version name that is currently installed on the node", "readOnly": true }, "nodeHcsVersion": { - "description": "HCS version that is currently installed on the node", "type": "string", + "description": "HCS version that is currently installed on the node", "readOnly": true }, "nodeInstanceId": { - "description": "Guid instance id of the node", "type": "string", + "description": "Guid instance id of the node", "readOnly": true } } }, + "NodeStatus": { + "type": "string", + "description": "The current status of the individual node", + "enum": [ + "Unknown", + "Up", + "Down", + "Rebooting", + "ShuttingDown" + ], + "x-ms-enum": { + "name": "NodeStatus", + "modelAsString": true, + "values": [ + { + "name": "Unknown", + "value": "Unknown" + }, + { + "name": "Up", + "value": "Up" + }, + { + "name": "Down", + "value": "Down" + }, + { + "name": "Rebooting", + "value": "Rebooting" + }, + { + "name": "ShuttingDown", + "value": "ShuttingDown" + } + ] + } + }, "NumaNodeData": { - "description": "NUMA node data.", "type": "object", + "description": "NUMA node data.", "properties": { "numaNodeIndex": { + "type": "integer", "format": "int32", - "description": "The NUMA node index.", - "type": "integer" + "description": "The NUMA node index." }, "totalMemoryInMb": { + "type": "integer", "format": "int64", - "description": "The total memory on the NUMA node.", - "type": "integer" + "description": "The total memory on the NUMA node." }, "logicalCoreCountPerCore": { + "type": "integer", "format": "int32", - "description": "The logical cores per core count.", - "type": "integer" + "description": "The logical cores per core count." }, "effectiveAvailableMemoryInMb": { + "type": "integer", "format": "int64", - "description": "The effective available memory on the NUMA node in MB.", - "type": "integer" + "description": "The effective available memory on the NUMA node in MB." }, "freeVCpuIndexesForHpn": { - "description": "The free VCPU indices for the Hpn VMs.", - "uniqueItems": false, "type": "array", + "description": "The free VCPU indices for the Hpn VMs.", "items": { - "format": "int32", - "type": "integer" + "type": "integer", + "format": "int32" } }, "vCpuIndexesForHpn": { - "description": "The VCPU indices for Hpn VMs", - "uniqueItems": false, "type": "array", + "description": "The VCPU indices for Hpn VMs", "items": { - "format": "int32", - "type": "integer" + "type": "integer", + "format": "int32" } }, "vCpuIndexesForRoot": { - "description": "The VCPU indices for the root.", - "uniqueItems": false, "type": "array", + "description": "The VCPU indices for the root.", "items": { - "format": "int32", - "type": "integer" + "type": "integer", + "format": "int32" } } } }, "Operation": { - "description": "Operations.", "type": "object", + "description": "Operations.", "properties": { "name": { - "description": "Name of the operation.", - "type": "string" + "type": "string", + "description": "Name of the operation." }, "isDataAction": { - "description": "Is data action.", - "type": "boolean" + "type": "boolean", + "description": "Is data action." }, "display": { "$ref": "#/definitions/OperationDisplay", "description": "Properties displayed for the operation." }, "origin": { - "description": "Origin of the operation.", - "type": "string" + "type": "string", + "description": "Origin of the operation." }, "properties": { "$ref": "#/definitions/OperationProperties", @@ -7821,30 +8731,30 @@ } }, "OperationDisplay": { - "description": "Operation display properties.", "type": "object", + "description": "Operation display properties.", "properties": { "provider": { - "description": "Provider name.", - "type": "string" + "type": "string", + "description": "Provider name." }, "resource": { - "description": "The type of resource in which the operation is performed.", - "type": "string" + "type": "string", + "description": "The type of resource in which the operation is performed." }, "operation": { - "description": "Operation to be performed on the resource.", - "type": "string" + "type": "string", + "description": "Operation to be performed on the resource." }, "description": { - "description": "Description of the operation to be performed.", - "type": "string" + "type": "string", + "description": "Description of the operation to be performed." } } }, "OperationProperties": { - "description": "Operation properties.", "type": "object", + "description": "Operation properties.", "properties": { "serviceSpecification": { "$ref": "#/definitions/ServiceSpecification", @@ -7853,16 +8763,12 @@ } }, "OperationsList": { - "description": "The list of operations used for the discovery of available provider operations.", - "required": [ - "value" - ], "type": "object", + "description": "The list of operations supported by Microsoft.DataBoxEdge resource provider.", "properties": { "value": { - "description": "The value.", - "uniqueItems": false, "type": "array", + "description": "The list of operations.", "items": { "$ref": "#/definitions/Operation" }, @@ -7871,68 +8777,65 @@ ] }, "nextLink": { - "description": "Link to the next set of results.", - "type": "string" + "type": "string", + "format": "uri", + "description": "The URL to get the next page of operations." } - } + }, + "required": [ + "value" + ] }, "Order": { - "description": "The order details.", "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ARMBaseModel" - } - ], + "description": "The order details.", "properties": { - "kind": { - "description": "It specify the order api version.", - "type": "string", - "readOnly": true - }, - "systemData": { - "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "description": "Metadata pertaining to creation and last modification of Order", - "readOnly": true - }, "properties": { "$ref": "#/definitions/OrderProperties", "description": "The order properties.", "x-ms-client-flatten": true + }, + "kind": { + "type": "string", + "description": "It specify the order api version.", + "readOnly": true } - } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] }, "OrderList": { - "description": "List of order entities.", "type": "object", + "description": "List of order entities.", "properties": { "value": { - "description": "The list of orders.", - "uniqueItems": false, "type": "array", + "description": "The Order items on this page", "items": { "$ref": "#/definitions/Order" }, - "readOnly": true, - "x-ms-identifiers": [] + "readOnly": true }, "nextLink": { - "description": "Link to the next set of results.", "type": "string", - "readOnly": true + "format": "uri", + "description": "The link to the next page of items" } - } + }, + "required": [ + "value" + ] }, "OrderProperties": { - "description": "Order properties.", "type": "object", - "required": [ - "contactInformation" - ], + "description": "Order properties.", "properties": { "orderId": { - "description": "It specify the order resource id.", "type": "string", + "description": "It specify the order resource id.", "readOnly": true }, "contactInformation": { @@ -7949,104 +8852,166 @@ "readOnly": true }, "orderHistory": { - "description": "List of status changes in the order.", - "uniqueItems": false, "type": "array", + "description": "List of status changes in the order.", "items": { "$ref": "#/definitions/OrderStatus" }, + "readOnly": true, "x-ms-identifiers": [ "trackingInformation/serialNumber" - ], - "readOnly": true + ] }, "serialNumber": { - "description": "Serial number of the device.", "type": "string", + "description": "Serial number of the device.", "readOnly": true }, "deliveryTrackingInfo": { - "description": "Tracking information for the package delivered to the customer whether it has an original or a replacement device.", - "uniqueItems": false, "type": "array", + "description": "Tracking information for the package delivered to the customer whether it has an original or a replacement device.", "items": { "$ref": "#/definitions/TrackingInfo" }, + "readOnly": true, "x-ms-identifiers": [ "serialNumber" - ], - "readOnly": true + ] }, "returnTrackingInfo": { - "description": "Tracking information for the package returned from the customer whether it has an original or a replacement device.", - "uniqueItems": false, "type": "array", + "description": "Tracking information for the package returned from the customer whether it has an original or a replacement device.", "items": { "$ref": "#/definitions/TrackingInfo" }, + "readOnly": true, "x-ms-identifiers": [ "serialNumber" - ], - "readOnly": true + ] }, "shipmentType": { - "description": "ShipmentType of the order", - "enum": [ - "NotApplicable", - "ShippedToCustomer", - "SelfPickup" - ], - "type": "string", - "x-ms-enum": { - "name": "ShipmentType", - "modelAsString": true - } + "$ref": "#/definitions/ShipmentType", + "description": "ShipmentType of the order" } + }, + "required": [ + "contactInformation" + ] + }, + "OrderState": { + "type": "string", + "description": "Status of the order as per the allowed status types.", + "enum": [ + "Untracked", + "AwaitingFulfillment", + "AwaitingPreparation", + "AwaitingShipment", + "Shipped", + "Arriving", + "Delivered", + "ReplacementRequested", + "LostDevice", + "Declined", + "ReturnInitiated", + "AwaitingReturnShipment", + "ShippedBack", + "CollectedAtMicrosoft", + "AwaitingPickup", + "PickupCompleted", + "AwaitingDrop" + ], + "x-ms-enum": { + "name": "OrderState", + "modelAsString": true, + "values": [ + { + "name": "Untracked", + "value": "Untracked" + }, + { + "name": "AwaitingFulfillment", + "value": "AwaitingFulfillment" + }, + { + "name": "AwaitingPreparation", + "value": "AwaitingPreparation" + }, + { + "name": "AwaitingShipment", + "value": "AwaitingShipment" + }, + { + "name": "Shipped", + "value": "Shipped" + }, + { + "name": "Arriving", + "value": "Arriving" + }, + { + "name": "Delivered", + "value": "Delivered" + }, + { + "name": "ReplacementRequested", + "value": "ReplacementRequested" + }, + { + "name": "LostDevice", + "value": "LostDevice" + }, + { + "name": "Declined", + "value": "Declined" + }, + { + "name": "ReturnInitiated", + "value": "ReturnInitiated" + }, + { + "name": "AwaitingReturnShipment", + "value": "AwaitingReturnShipment" + }, + { + "name": "ShippedBack", + "value": "ShippedBack" + }, + { + "name": "CollectedAtMicrosoft", + "value": "CollectedAtMicrosoft" + }, + { + "name": "AwaitingPickup", + "value": "AwaitingPickup" + }, + { + "name": "PickupCompleted", + "value": "PickupCompleted" + }, + { + "name": "AwaitingDrop", + "value": "AwaitingDrop" + } + ] } }, "OrderStatus": { - "description": "Represents a single status change.", - "required": [ - "status" - ], "type": "object", + "description": "Represents a single status change.", "properties": { "status": { - "description": "Status of the order as per the allowed status types.", - "enum": [ - "Untracked", - "AwaitingFulfillment", - "AwaitingPreparation", - "AwaitingShipment", - "Shipped", - "Arriving", - "Delivered", - "ReplacementRequested", - "LostDevice", - "Declined", - "ReturnInitiated", - "AwaitingReturnShipment", - "ShippedBack", - "CollectedAtMicrosoft", - "AwaitingPickup", - "PickupCompleted", - "AwaitingDrop" - ], - "type": "string", - "x-ms-enum": { - "name": "OrderState", - "modelAsString": true - } + "$ref": "#/definitions/OrderState", + "description": "Status of the order as per the allowed status types." }, "updateDateTime": { + "type": "string", "format": "date-time", "description": "Time of status update.", - "type": "string", "readOnly": true }, "comments": { - "description": "Comments related to this status change.", - "type": "string" + "type": "string", + "description": "Comments related to this status change." }, "trackingInformation": { "$ref": "#/definitions/TrackingInfo", @@ -8054,58 +9019,41 @@ "readOnly": true }, "additionalOrderDetails": { - "description": "Dictionary to hold generic information which is not stored\r\nby the already existing properties", "type": "object", + "description": "Dictionary to hold generic information which is not stored\nby the already existing properties", "additionalProperties": { "type": "string" }, "readOnly": true } - } + }, + "required": [ + "status" + ] }, "PeriodicTimerEventTrigger": { - "description": "Trigger details.", - "required": [ - "properties", - "kind" - ], "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Trigger" - } - ], + "description": "Trigger details.", "properties": { "properties": { "$ref": "#/definitions/PeriodicTimerProperties", "description": "Periodic timer trigger properties.", "x-ms-client-flatten": true - }, - "id": { - "description": "The path ID that uniquely identifies the object.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "The object name.", - "type": "string", - "readOnly": true - }, - "type": { - "description": "The hierarchical type of the object.", - "type": "string", - "readOnly": true } }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "#/definitions/Trigger" + } + ], "x-ms-discriminator-value": "PeriodicTimerEvent" }, "PeriodicTimerProperties": { - "description": "Periodic timer trigger properties.", - "required": [ - "sourceInfo", - "sinkInfo" - ], "type": "object", + "description": "Periodic timer trigger properties.", "properties": { "sourceInfo": { "$ref": "#/definitions/PeriodicTimerSourceInfo", @@ -8116,321 +9064,478 @@ "description": "Role Sink information." }, "customContextTag": { + "type": "string", "description": "A custom context tag typically used to correlate the trigger against its usage. For example, if a periodic timer trigger is intended for certain specific IoT modules in the device, the tag can be the name or the image URL of the module.", - "maxLength": 192, - "type": "string" + "maxLength": 192 + } + }, + "required": [ + "sourceInfo", + "sinkInfo" + ] + }, + "PeriodicTimerSourceInfo": { + "type": "object", + "description": "Periodic timer event source.", + "properties": { + "startTime": { + "type": "string", + "format": "date-time", + "description": "The time of the day that results in a valid trigger. Schedule is computed with reference to the time specified upto seconds. If timezone is not specified the time will considered to be in device timezone. The value will always be returned as UTC time." + }, + "schedule": { + "type": "string", + "description": "Periodic frequency at which timer event needs to be raised. Supports daily, hourly, minutes, and seconds." + }, + "topic": { + "type": "string", + "description": "Topic where periodic events are published to IoT device." } + }, + "required": [ + "startTime", + "schedule" + ] + }, + "PlatformType": { + "type": "string", + "description": "Host OS supported by the Arc addon.", + "enum": [ + "Windows", + "Linux" + ], + "x-ms-enum": { + "name": "PlatformType", + "modelAsString": true, + "values": [ + { + "name": "Windows", + "value": "Windows" + }, + { + "name": "Linux", + "value": "Linux" + } + ] + } + }, + "PosixComplianceStatus": { + "type": "string", + "description": "If provisioned storage is posix compliant.", + "enum": [ + "Invalid", + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "PosixComplianceStatus", + "modelAsString": true, + "values": [ + { + "name": "Invalid", + "value": "Invalid" + }, + { + "name": "Enabled", + "value": "Enabled" + }, + { + "name": "Disabled", + "value": "Disabled" + } + ] } }, - "PeriodicTimerSourceInfo": { - "description": "Periodic timer event source.", - "required": [ - "startTime", - "schedule" + "ProactiveDiagnosticsConsent": { + "type": "string", + "description": "Proactive diagnostic collection consent flag", + "enum": [ + "Enabled", + "Disabled" ], - "type": "object", - "properties": { - "startTime": { - "format": "date-time", - "description": "The time of the day that results in a valid trigger. Schedule is computed with reference to the time specified upto seconds. If timezone is not specified the time will considered to be in device timezone. The value will always be returned as UTC time.", - "type": "string" - }, - "schedule": { - "description": "Periodic frequency at which timer event needs to be raised. Supports daily, hourly, minutes, and seconds.", - "type": "string" - }, - "topic": { - "description": "Topic where periodic events are published to IoT device.", - "type": "string" - } + "x-ms-enum": { + "name": "ProactiveDiagnosticsConsent", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled" + }, + { + "name": "Disabled", + "value": "Disabled" + } + ] } }, "ProactiveLogCollectionSettingsProperties": { - "description": "The properties of proactive log collection settings.", - "required": [ - "userConsent" - ], "type": "object", + "description": "The properties of proactive log collection settings.", "properties": { "userConsent": { - "description": "Proactive diagnostic collection consent flag", - "enum": [ - "Enabled", - "Disabled" - ], - "type": "string", - "x-ms-enum": { - "name": "ProactiveDiagnosticsConsent", - "modelAsString": true - } + "$ref": "#/definitions/ProactiveDiagnosticsConsent", + "description": "Proactive diagnostic collection consent flag" } - } + }, + "required": [ + "userConsent" + ] }, "RawCertificateData": { - "description": "Raw Certificate Data.", - "required": [ - "certificate" - ], "type": "object", + "description": "Raw Certificate Data.", "properties": { "authenticationType": { - "description": "The authentication type.", - "enum": [ - "Invalid", - "AzureActiveDirectory" - ], - "type": "string", - "x-ms-enum": { - "name": "AuthenticationType", - "modelAsString": true - } + "$ref": "#/definitions/AuthenticationType", + "description": "The authentication type." }, "certificate": { - "description": "The base64 encoded certificate raw data.", - "type": "string" + "type": "string", + "description": "The base64 encoded certificate raw data." } - } + }, + "required": [ + "certificate" + ] }, "RefreshDetails": { - "description": "Fields for tracking refresh job on the share or container.", "type": "object", + "description": "Fields for tracking refresh job on the share or container.", "properties": { "inProgressRefreshJobId": { - "description": "If a refresh job is currently in progress on this share or container, this field indicates the ARM resource ID of that job. The field is empty if no job is in progress.", - "type": "string" + "type": "string", + "description": "If a refresh job is currently in progress on this share or container, this field indicates the ARM resource ID of that job. The field is empty if no job is in progress." }, "lastCompletedRefreshJobTimeInUTC": { + "type": "string", "format": "date-time", - "description": "Indicates the completed time for the last refresh job on this particular share or container, if any.This could be a failed job or a successful job.", - "type": "string" + "description": "Indicates the completed time for the last refresh job on this particular share or container, if any.This could be a failed job or a successful job." }, "errorManifestFile": { - "description": "Indicates the relative path of the error xml for the last refresh job on this particular share or container, if any. This could be a failed job or a successful job.", - "type": "string" + "type": "string", + "description": "Indicates the relative path of the error xml for the last refresh job on this particular share or container, if any. This could be a failed job or a successful job." }, "lastJob": { - "description": "Indicates the id of the last refresh job on this particular share or container,if any. This could be a failed job or a successful job.", - "type": "string" + "type": "string", + "description": "Indicates the id of the last refresh job on this particular share or container,if any. This could be a failed job or a successful job." } } }, + "RemoteApplicationType": { + "type": "string", + "description": "Remote application type", + "enum": [ + "Powershell", + "WAC", + "LocalUI", + "AllApplications" + ], + "x-ms-enum": { + "name": "RemoteApplicationType", + "modelAsString": true, + "values": [ + { + "name": "Powershell", + "value": "Powershell" + }, + { + "name": "WAC", + "value": "WAC" + }, + { + "name": "LocalUI", + "value": "LocalUI" + }, + { + "name": "AllApplications", + "value": "AllApplications" + } + ] + } + }, "RemoteSupportSettings": { - "description": "RemoteApplicationType for which remote support settings is being modified", "type": "object", + "description": "RemoteApplicationType for which remote support settings is being modified", "properties": { "remoteApplicationType": { - "description": "Remote application type", - "enum": [ - "Powershell", - "WAC", - "LocalUI", - "AllApplications" - ], - "type": "string", - "x-ms-enum": { - "name": "RemoteApplicationType", - "modelAsString": true - } + "$ref": "#/definitions/RemoteApplicationType", + "description": "Remote application type" }, "accessLevel": { - "description": "Access level allowed for this remote application type", - "enum": [ - "None", - "ReadOnly", - "ReadWrite", - "FullAccess" - ], - "type": "string", - "x-ms-enum": { - "name": "AccessLevel", - "modelAsString": true - } + "$ref": "#/definitions/AccessLevel", + "description": "Access level allowed for this remote application type" }, "expirationTimeStampInUTC": { + "type": "string", "format": "date-time", - "description": "Expiration time stamp", - "type": "string" + "description": "Expiration time stamp" } } }, "ResourceIdentity": { - "description": "Msi identity details of the resource", "type": "object", + "description": "Msi identity details of the resource", "properties": { "type": { - "description": "Identity type", - "enum": [ - "None", - "SystemAssigned", - "UserAssigned" - ], - "type": "string", - "x-ms-enum": { - "name": "MsiIdentityType", - "modelAsString": true - } + "$ref": "#/definitions/MsiIdentityType", + "description": "Identity type" }, "principalId": { - "description": "Service Principal Id backing the Msi", "type": "string", + "description": "Service Principal Id backing the Msi", "readOnly": true }, "tenantId": { - "description": "Home Tenant Id", "type": "string", + "description": "Home Tenant Id", "readOnly": true } } }, "ResourceMoveDetails": { - "description": "Fields for tracking resource move", "type": "object", + "description": "Fields for tracking resource move", "properties": { "operationInProgress": { - "description": "Denotes whether move operation is in progress", - "enum": [ - "None", - "ResourceMoveInProgress", - "ResourceMoveFailed" - ], - "type": "string", - "x-ms-enum": { - "name": "ResourceMoveStatus", - "modelAsString": true - } + "$ref": "#/definitions/ResourceMoveStatus", + "description": "Denotes whether move operation is in progress" }, "operationInProgressLockTimeoutInUTC": { + "type": "string", "format": "date-time", - "description": "Denotes the timeout of the operation to finish", - "type": "string" + "description": "Denotes the timeout of the operation to finish" } } }, + "ResourceMoveStatus": { + "type": "string", + "description": "Denotes whether move operation is in progress", + "enum": [ + "None", + "ResourceMoveInProgress", + "ResourceMoveFailed" + ], + "x-ms-enum": { + "name": "ResourceMoveStatus", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None" + }, + { + "name": "ResourceMoveInProgress", + "value": "ResourceMoveInProgress" + }, + { + "name": "ResourceMoveFailed", + "value": "ResourceMoveFailed" + } + ] + } + }, "Role": { + "type": "object", "description": "Compute role.", + "properties": { + "kind": { + "$ref": "#/definitions/RoleTypes", + "description": "Role type.", + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "discriminator": "kind", "required": [ "kind" ], - "type": "object", "allOf": [ { - "$ref": "#/definitions/ARMBaseModel" - } - ], - "properties": { - "kind": { - "description": "Role type.", - "enum": [ - "IOT", - "ASA", - "Functions", - "Cognitive", - "MEC", - "CloudEdgeManagement", - "Kubernetes" - ], - "type": "string", - "x-ms-enum": { - "name": "RoleTypes", - "modelAsString": true - } - }, - "systemData": { - "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "description": "Metadata pertaining to creation and last modification of Role", - "readOnly": true + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" } - }, - "discriminator": "kind" + ] }, "RoleList": { - "description": "Collection of all the roles on the Data Box Edge device.", "type": "object", + "description": "Collection of all the roles on the Data Box Edge device.", "properties": { "value": { - "description": "The Value.", - "uniqueItems": false, "type": "array", + "description": "The Role items on this page", "items": { "$ref": "#/definitions/Role" }, - "readOnly": true, - "x-ms-identifiers": [] + "readOnly": true }, "nextLink": { - "description": "Link to the next set of results.", "type": "string", - "readOnly": true + "format": "uri", + "description": "The link to the next page of items" } - } + }, + "required": [ + "value" + ] }, "RoleSinkInfo": { - "description": "Compute role against which events will be raised.", - "required": [ - "roleId" - ], "type": "object", + "description": "Compute role against which events will be raised.", "properties": { "roleId": { - "description": "Compute role ID.", - "type": "string" + "type": "string", + "description": "Compute role ID." } + }, + "required": [ + "roleId" + ] + }, + "RoleStatus": { + "type": "string", + "description": "Local Edge Management Status", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "RoleStatus", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled" + }, + { + "name": "Disabled", + "value": "Disabled" + } + ] + } + }, + "RoleTypes": { + "type": "string", + "enum": [ + "IOT", + "ASA", + "Functions", + "Cognitive", + "MEC", + "CloudEdgeManagement", + "Kubernetes" + ], + "x-ms-enum": { + "name": "RoleTypes", + "modelAsString": true, + "values": [ + { + "name": "IOT", + "value": "IOT" + }, + { + "name": "ASA", + "value": "ASA" + }, + { + "name": "Functions", + "value": "Functions" + }, + { + "name": "Cognitive", + "value": "Cognitive" + }, + { + "name": "MEC", + "value": "MEC" + }, + { + "name": "CloudEdgeManagement", + "value": "CloudEdgeManagement" + }, + { + "name": "Kubernetes", + "value": "Kubernetes" + } + ] + }, + "x-ms-identifiers": [] + }, + "SSLStatus": { + "type": "string", + "description": "Signifies whether SSL needs to be enabled or not.", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "SSLStatus", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled" + }, + { + "name": "Disabled", + "value": "Disabled" + } + ] } }, "Secret": { - "description": "Holds device secret either as a KeyVault reference or as an encrypted value.", "type": "object", + "description": "Holds device secret either as a KeyVault reference or as an encrypted value.", "properties": { "encryptedSecret": { "$ref": "#/definitions/AsymmetricEncryptedSecret", "description": "Encrypted (using device public key) secret value." }, "keyVaultId": { - "description": "Id of the Key-Vault where secret is stored (ex: secrets/AuthClientSecret/82ef4346187a4033a10d629cde07d740).", - "type": "string" + "type": "string", + "description": "Id of the Key-Vault where secret is stored (ex: secrets/AuthClientSecret/82ef4346187a4033a10d629cde07d740)." } } }, "SecuritySettings": { + "type": "object", "description": "The security settings of a device.", + "properties": { + "properties": { + "$ref": "#/definitions/SecuritySettingsProperties", + "description": "Properties of the security settings.", + "x-ms-client-flatten": true + } + }, "required": [ "properties" ], - "type": "object", "allOf": [ { "$ref": "#/definitions/ARMBaseModel" } - ], - "properties": { - "properties": { - "$ref": "#/definitions/SecuritySettingsProperties", - "description": "Properties of the security settings.", - "x-ms-client-flatten": true - } - } + ] }, "SecuritySettingsProperties": { - "description": "The properties of security settings.", - "required": [ - "deviceAdminPassword" - ], "type": "object", + "description": "The properties of security settings.", "properties": { "deviceAdminPassword": { "$ref": "#/definitions/AsymmetricEncryptedSecret", "description": "Device administrator password as an encrypted string (encrypted using RSA PKCS #1) is used to sign into the local web UI of the device. The Actual password should have at least 8 characters that are a combination of uppercase, lowercase, numeric, and special characters." } - } + }, + "required": [ + "deviceAdminPassword" + ] }, "ServiceSpecification": { - "description": "Service specification.", "type": "object", + "description": "Service specification.", "properties": { "metricSpecifications": { - "description": "Metric specification as defined by shoebox.", - "uniqueItems": false, "type": "array", + "description": "Metric specification as defined by shoebox.", "items": { "$ref": "#/definitions/MetricSpecification_V1" }, @@ -8441,137 +9546,140 @@ } }, "Share": { + "type": "object", "description": "Represents a share on the Data Box Edge/Gateway device.", + "properties": { + "properties": { + "$ref": "#/definitions/ShareProperties", + "description": "The share properties.", + "x-ms-client-flatten": true + } + }, "required": [ "properties" ], - "type": "object", "allOf": [ { - "$ref": "#/definitions/ARMBaseModel" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" } + ] + }, + "ShareAccessProtocol": { + "type": "string", + "description": "Access protocol to be used by the share.", + "enum": [ + "SMB", + "NFS" ], - "properties": { - "properties": { - "$ref": "#/definitions/ShareProperties", - "description": "The share properties.", - "x-ms-client-flatten": true - }, - "systemData": { - "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "description": "Metadata pertaining to creation and last modification of Share", - "readOnly": true - } + "x-ms-enum": { + "name": "ShareAccessProtocol", + "modelAsString": true, + "values": [ + { + "name": "SMB", + "value": "SMB" + }, + { + "name": "NFS", + "value": "NFS" + } + ] } }, "ShareAccessRight": { + "type": "object", "description": "Specifies the mapping between this particular user and the type of access he has on shares on this device.", + "properties": { + "shareId": { + "type": "string", + "description": "The share ID." + }, + "accessType": { + "$ref": "#/definitions/ShareAccessType", + "description": "Type of access to be allowed on the share for this user." + } + }, "required": [ "shareId", "accessType" + ] + }, + "ShareAccessType": { + "type": "string", + "description": "Type of access to be allowed on the share for this user.", + "enum": [ + "Change", + "Read", + "Custom" ], - "type": "object", - "properties": { - "shareId": { - "description": "The share ID.", - "type": "string" - }, - "accessType": { - "description": "Type of access to be allowed on the share for this user.", - "enum": [ - "Change", - "Read", - "Custom" - ], - "type": "string", - "x-ms-enum": { - "name": "ShareAccessType", - "modelAsString": true + "x-ms-enum": { + "name": "ShareAccessType", + "modelAsString": true, + "values": [ + { + "name": "Change", + "value": "Change" + }, + { + "name": "Read", + "value": "Read" + }, + { + "name": "Custom", + "value": "Custom" } - } + ] } }, "ShareList": { - "description": "Collection of all the shares on the Data Box Edge/Gateway device.", "type": "object", + "description": "Collection of all the shares on the Data Box Edge/Gateway device.", "properties": { "value": { - "description": "The list of shares.", - "uniqueItems": false, "type": "array", + "description": "The Share items on this page", "items": { "$ref": "#/definitions/Share" }, - "readOnly": true, - "x-ms-identifiers": [] + "readOnly": true }, "nextLink": { - "description": "Link to the next set of results.", "type": "string", - "readOnly": true + "format": "uri", + "description": "The link to the next page of items" } - } + }, + "required": [ + "value" + ] }, "ShareProperties": { - "description": "The share properties.", - "required": [ - "shareStatus", - "monitoringStatus", - "accessProtocol" - ], "type": "object", + "description": "The share properties.", "properties": { "description": { - "description": "Description for the share.", - "type": "string" + "type": "string", + "description": "Description for the share." }, "shareStatus": { - "description": "Current status of the share.", - "enum": [ - "Offline", - "Unknown", - "OK", - "Updating", - "NeedsAttention" - ], - "type": "string", - "x-ms-enum": { - "name": "ShareStatus", - "modelAsString": true - } + "$ref": "#/definitions/ShareStatus", + "description": "Current status of the share." }, "monitoringStatus": { - "description": "Current monitoring status of the share.", - "enum": [ - "Enabled", - "Disabled" - ], - "type": "string", - "x-ms-enum": { - "name": "MonitoringStatus", - "modelAsString": true - } + "$ref": "#/definitions/MonitoringStatus", + "description": "Current monitoring status of the share." }, "azureContainerInfo": { "$ref": "#/definitions/AzureContainerInfo", "description": "Azure container mapping for the share." }, "accessProtocol": { - "description": "Access protocol to be used by the share.", - "enum": [ - "SMB", - "NFS" - ], - "type": "string", - "x-ms-enum": { - "name": "ShareAccessProtocol", - "modelAsString": true - } + "$ref": "#/definitions/ShareAccessProtocol", + "description": "Access protocol to be used by the share." }, "userAccessRights": { - "description": "Mapping of users and corresponding access rights on the share (required for SMB protocol).", - "uniqueItems": false, "type": "array", + "description": "Mapping of users and corresponding access rights on the share (required for SMB protocol).", "items": { "$ref": "#/definitions/UserAccessRight" }, @@ -8580,9 +9688,8 @@ ] }, "clientAccessRights": { - "description": "List of IP addresses and corresponding access rights on the share(required for NFS protocol).", - "uniqueItems": false, "type": "array", + "description": "List of IP addresses and corresponding access rights on the share(required for NFS protocol).", "items": { "$ref": "#/definitions/ClientAccessRight" }, @@ -8595,138 +9702,176 @@ "description": "Details of the refresh job on this share." }, "shareMappings": { - "description": "Share mount point to the role.", - "uniqueItems": false, "type": "array", + "description": "Share mount point to the role.", "items": { "$ref": "#/definitions/MountPointMap" }, + "readOnly": true, "x-ms-identifiers": [ "shareId" - ], - "readOnly": true + ] }, "dataPolicy": { - "description": "Data policy of the share.", - "enum": [ - "Cloud", - "Local" - ], - "type": "string", - "x-ms-enum": { - "name": "DataPolicy", - "modelAsString": true - } + "$ref": "#/definitions/DataPolicy", + "description": "Data policy of the share." } + }, + "required": [ + "shareStatus", + "monitoringStatus", + "accessProtocol" + ] + }, + "ShareStatus": { + "type": "string", + "description": "Current status of the share.", + "enum": [ + "Offline", + "Unknown", + "OK", + "Updating", + "NeedsAttention" + ], + "x-ms-enum": { + "name": "ShareStatus", + "modelAsString": true, + "values": [ + { + "name": "Offline", + "value": "Offline" + }, + { + "name": "Unknown", + "value": "Unknown" + }, + { + "name": "OK", + "value": "OK" + }, + { + "name": "Updating", + "value": "Updating" + }, + { + "name": "NeedsAttention", + "value": "NeedsAttention" + } + ] + } + }, + "ShipmentType": { + "type": "string", + "enum": [ + "NotApplicable", + "ShippedToCustomer", + "SelfPickup" + ], + "x-ms-enum": { + "name": "ShipmentType", + "modelAsString": true, + "values": [ + { + "name": "NotApplicable", + "value": "NotApplicable" + }, + { + "name": "ShippedToCustomer", + "value": "ShippedToCustomer" + }, + { + "name": "SelfPickup", + "value": "SelfPickup" + } + ] } }, "Sku": { - "description": "The SKU type.", "type": "object", + "description": "The SKU type.", "properties": { "name": { - "description": "SKU name.", - "enum": [ - "Gateway", - "Edge", - "TEA_1Node", - "TEA_1Node_UPS", - "TEA_1Node_Heater", - "TEA_1Node_UPS_Heater", - "TEA_4Node_Heater", - "TEA_4Node_UPS_Heater", - "TMA", - "TDC", - "TCA_Small", - "GPU", - "TCA_Large", - "EdgeP_Base", - "EdgeP_High", - "EdgePR_Base", - "EdgePR_Base_UPS", - "EP2_64_1VPU_W", - "EP2_128_1T4_Mx1_W", - "EP2_256_2T4_W", - "EdgeMR_Mini", - "RCA_Small", - "RCA_Large", - "RDC", - "Management", - "EP2_64_Mx1_W", - "EP2_128_GPU1_Mx1_W", - "EP2_256_GPU2_Mx1", - "EdgeMR_TCP" - ], - "type": "string", - "x-ms-enum": { - "name": "SkuName", - "modelAsString": true - } + "$ref": "#/definitions/SkuName", + "description": "SKU name." }, "tier": { - "description": "The SKU tier. This is based on the SKU name.", - "enum": [ - "Standard" - ], - "type": "string", - "x-ms-enum": { - "name": "SkuTier", - "modelAsString": true - } + "$ref": "#/definitions/SkuTier", + "description": "The SKU tier. This is based on the SKU name." } } }, + "SkuAvailability": { + "type": "string", + "description": "Links to the next set of results", + "enum": [ + "Available", + "Unavailable" + ], + "x-ms-enum": { + "name": "SkuAvailability", + "modelAsString": true, + "values": [ + { + "name": "Available", + "value": "Available" + }, + { + "name": "Unavailable", + "value": "Unavailable" + } + ] + } + }, "SkuCapability": { - "description": "The metadata to describe the capability.", "type": "object", + "description": "The metadata to describe the capability.", "properties": { "name": { - "description": "An invariant to describe the feature.", "type": "string", + "description": "An invariant to describe the feature.", "readOnly": true }, "value": { - "description": "An invariant if the feature is measured by quantity.", "type": "string", + "description": "An invariant if the feature is measured by quantity.", "readOnly": true } } }, "SkuCost": { - "description": "The metadata for retrieving price info.", "type": "object", + "description": "The metadata for retrieving price info.", "properties": { "meterId": { - "description": "Used for querying price from commerce.", "type": "string", + "description": "Used for querying price from commerce.", "readOnly": true }, "quantity": { + "type": "integer", "format": "int64", "description": "The cost quantity.", - "type": "integer", "readOnly": true }, "extendedUnit": { - "description": "The extended unit.", "type": "string", + "description": "The extended unit.", "readOnly": true } } }, "SkuLocationInfo": { - "description": "The location info.", "type": "object", + "description": "The location info.", "properties": { "location": { - "description": "The location.", "type": "string", + "description": "The location.", "readOnly": true }, "zones": { - "description": "The zones.", - "uniqueItems": false, "type": "array", + "description": "The zones.", "items": { "type": "string" }, @@ -8734,9 +9879,8 @@ "x-ms-identifiers": [] }, "sites": { - "description": "The sites.", - "uniqueItems": false, "type": "array", + "description": "The sites.", "items": { "type": "string" }, @@ -8745,208 +9889,420 @@ } } }, - "StorageAccount": { - "description": "Represents a Storage Account on the Data Box Edge/Gateway device.", - "required": [ - "properties" + "SkuName": { + "type": "string", + "description": "The Sku name.", + "enum": [ + "Gateway", + "Edge", + "TEA_1Node", + "TEA_1Node_UPS", + "TEA_1Node_Heater", + "TEA_1Node_UPS_Heater", + "TEA_4Node_Heater", + "TEA_4Node_UPS_Heater", + "TMA", + "TDC", + "TCA_Small", + "GPU", + "TCA_Large", + "EdgeP_Base", + "EdgeP_High", + "EdgePR_Base", + "EdgePR_Base_UPS", + "EP2_64_1VPU_W", + "EP2_128_1T4_Mx1_W", + "EP2_256_2T4_W", + "EdgeMR_Mini", + "RCA_Small", + "RCA_Large", + "RDC", + "Management", + "EP2_64_Mx1_W", + "EP2_128_GPU1_Mx1_W", + "EP2_256_GPU2_Mx1", + "EdgeMR_TCP" ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ARMBaseModel" - } + "x-ms-enum": { + "name": "SkuName", + "modelAsString": true, + "values": [ + { + "name": "Gateway", + "value": "Gateway" + }, + { + "name": "Edge", + "value": "Edge" + }, + { + "name": "TEA_1Node", + "value": "TEA_1Node" + }, + { + "name": "TEA_1Node_UPS", + "value": "TEA_1Node_UPS" + }, + { + "name": "TEA_1Node_Heater", + "value": "TEA_1Node_Heater" + }, + { + "name": "TEA_1Node_UPS_Heater", + "value": "TEA_1Node_UPS_Heater" + }, + { + "name": "TEA_4Node_Heater", + "value": "TEA_4Node_Heater" + }, + { + "name": "TEA_4Node_UPS_Heater", + "value": "TEA_4Node_UPS_Heater" + }, + { + "name": "TMA", + "value": "TMA" + }, + { + "name": "TDC", + "value": "TDC" + }, + { + "name": "TCA_Small", + "value": "TCA_Small" + }, + { + "name": "GPU", + "value": "GPU" + }, + { + "name": "TCA_Large", + "value": "TCA_Large" + }, + { + "name": "EdgeP_Base", + "value": "EdgeP_Base" + }, + { + "name": "EdgeP_High", + "value": "EdgeP_High" + }, + { + "name": "EdgePR_Base", + "value": "EdgePR_Base" + }, + { + "name": "EdgePR_Base_UPS", + "value": "EdgePR_Base_UPS" + }, + { + "name": "EP2_64_1VPU_W", + "value": "EP2_64_1VPU_W" + }, + { + "name": "EP2_128_1T4_Mx1_W", + "value": "EP2_128_1T4_Mx1_W" + }, + { + "name": "EP2_256_2T4_W", + "value": "EP2_256_2T4_W" + }, + { + "name": "EdgeMR_Mini", + "value": "EdgeMR_Mini" + }, + { + "name": "RCA_Small", + "value": "RCA_Small" + }, + { + "name": "RCA_Large", + "value": "RCA_Large" + }, + { + "name": "RDC", + "value": "RDC" + }, + { + "name": "Management", + "value": "Management" + }, + { + "name": "EP2_64_Mx1_W", + "value": "EP2_64_Mx1_W" + }, + { + "name": "EP2_128_GPU1_Mx1_W", + "value": "EP2_128_GPU1_Mx1_W" + }, + { + "name": "EP2_256_GPU2_Mx1", + "value": "EP2_256_GPU2_Mx1" + }, + { + "name": "EdgeMR_TCP", + "value": "EdgeMR_TCP" + } + ] + } + }, + "SkuSignupOption": { + "type": "string", + "description": "Sku can be signed up by customer or not.", + "enum": [ + "None", + "Available" + ], + "x-ms-enum": { + "name": "SkuSignupOption", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None" + }, + { + "name": "Available", + "value": "Available" + } + ] + } + }, + "SkuTier": { + "type": "string", + "description": "The Sku tier.", + "enum": [ + "Standard" + ], + "x-ms-enum": { + "name": "SkuTier", + "modelAsString": true, + "values": [ + { + "name": "Standard", + "value": "Standard" + } + ] + } + }, + "SkuVersion": { + "type": "string", + "description": "Availability of the Sku as preview/stable.", + "enum": [ + "Stable", + "Preview" ], + "x-ms-enum": { + "name": "SkuVersion", + "modelAsString": true, + "values": [ + { + "name": "Stable", + "value": "Stable" + }, + { + "name": "Preview", + "value": "Preview" + } + ] + } + }, + "StorageAccount": { + "type": "object", + "description": "Represents a Storage Account on the Data Box Edge/Gateway device.", "properties": { "properties": { "$ref": "#/definitions/StorageAccountProperties", "description": "The Storage Account properties.", "x-ms-client-flatten": true - }, - "systemData": { - "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "description": "Metadata pertaining to creation and last modification of StorageAccount", - "readOnly": true } - } - }, - "StorageAccountCredential": { - "description": "The storage account credential.", + }, "required": [ "properties" ], - "type": "object", "allOf": [ { - "$ref": "#/definitions/ARMBaseModel" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" } - ], + ] + }, + "StorageAccountCredential": { + "type": "object", + "description": "The storage account credential.", "properties": { "properties": { "$ref": "#/definitions/StorageAccountCredentialProperties", "description": "The storage account credential properties.", "x-ms-client-flatten": true - }, - "systemData": { - "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "description": "Metadata pertaining to creation and last modification of StorageAccountCredential", - "readOnly": true } - } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] }, "StorageAccountCredentialList": { - "description": "The collection of storage account credentials.", "type": "object", + "description": "The collection of storage account credentials.", "properties": { "value": { - "description": "The value.", - "uniqueItems": false, "type": "array", + "description": "The StorageAccountCredential items on this page", "items": { "$ref": "#/definitions/StorageAccountCredential" }, - "readOnly": true, - "x-ms-identifiers": [] + "readOnly": true }, "nextLink": { - "description": "Link to the next set of results.", "type": "string", - "readOnly": true + "format": "uri", + "description": "The link to the next page of items" } - } - }, - "StorageAccountCredentialProperties": { - "description": "The storage account credential properties.", + }, "required": [ - "alias", - "sslStatus", - "accountType" - ], + "value" + ] + }, + "StorageAccountCredentialProperties": { "type": "object", + "description": "The storage account credential properties.", "properties": { "alias": { - "description": "Alias for the storage account.", - "type": "string" + "type": "string", + "description": "Alias for the storage account." }, "userName": { - "description": "Username for the storage account.", - "type": "string" + "type": "string", + "description": "Username for the storage account." }, "accountKey": { "$ref": "#/definitions/AsymmetricEncryptedSecret", "description": "Encrypted storage key." }, "connectionString": { - "description": "Connection string for the storage account. Use this string if username and account key are not specified.", - "type": "string" + "type": "string", + "description": "Connection string for the storage account. Use this string if username and account key are not specified." }, "sslStatus": { - "description": "Signifies whether SSL needs to be enabled or not.", - "enum": [ - "Enabled", - "Disabled" - ], - "type": "string", - "x-ms-enum": { - "name": "SSLStatus", - "modelAsString": true - } + "$ref": "#/definitions/SSLStatus", + "description": "Signifies whether SSL needs to be enabled or not." }, "blobDomainName": { - "description": "Blob end point for private clouds.", - "type": "string" + "type": "string", + "description": "Blob end point for private clouds." }, "accountType": { - "description": "Type of storage accessed on the storage account.", - "enum": [ - "GeneralPurposeStorage", - "BlobStorage" - ], - "type": "string", - "x-ms-enum": { - "name": "AccountType", - "modelAsString": true - } + "$ref": "#/definitions/AccountType", + "description": "Type of storage accessed on the storage account." }, "storageAccountId": { - "description": "Id of the storage account.", - "type": "string" + "type": "string", + "description": "Id of the storage account." } - } + }, + "required": [ + "alias", + "sslStatus", + "accountType" + ] }, "StorageAccountList": { - "description": "Collection of all the Storage Accounts on the Data Box Edge/Gateway device.", "type": "object", + "description": "Collection of all the Storage Accounts on the Data Box Edge/Gateway device.", "properties": { "value": { - "description": "The list of storageAccounts.", - "uniqueItems": false, "type": "array", + "description": "The StorageAccount items on this page", "items": { "$ref": "#/definitions/StorageAccount" }, - "readOnly": true, - "x-ms-identifiers": [] + "readOnly": true }, "nextLink": { - "description": "Link to the next set of results.", "type": "string", - "readOnly": true + "format": "uri", + "description": "The link to the next page of items" } - } + }, + "required": [ + "value" + ] }, "StorageAccountProperties": { - "description": "The storage account properties.", - "required": [ - "dataPolicy" - ], "type": "object", + "description": "The storage account properties.", "properties": { "description": { - "description": "Description for the storage Account.", - "type": "string" + "type": "string", + "description": "Description for the storage Account." }, "storageAccountStatus": { - "description": "Current status of the storage account", - "enum": [ - "OK", - "Offline", - "Unknown", - "Updating", - "NeedsAttention" - ], - "type": "string", - "x-ms-enum": { - "name": "StorageAccountStatus", - "modelAsString": true - } + "$ref": "#/definitions/StorageAccountStatus", + "description": "Current status of the storage account" }, "dataPolicy": { - "description": "Data policy of the storage Account.", - "enum": [ - "Cloud", - "Local" - ], - "type": "string", - "x-ms-enum": { - "name": "DataPolicy", - "modelAsString": true - } + "$ref": "#/definitions/DataPolicy", + "description": "Data policy of the storage Account." }, "storageAccountCredentialId": { - "description": "Storage Account Credential Id", - "type": "string" + "type": "string", + "description": "Storage Account Credential Id" }, "blobEndpoint": { - "description": "BlobEndpoint of Storage Account", "type": "string", + "description": "BlobEndpoint of Storage Account", "readOnly": true }, "containerCount": { + "type": "integer", "format": "int32", "description": "The Container Count. Present only for Storage Accounts with DataPolicy set to Cloud.", - "type": "integer", "readOnly": true } + }, + "required": [ + "dataPolicy" + ] + }, + "StorageAccountStatus": { + "type": "string", + "description": "Current status of the storage account", + "enum": [ + "OK", + "Offline", + "Unknown", + "Updating", + "NeedsAttention" + ], + "x-ms-enum": { + "name": "StorageAccountStatus", + "modelAsString": true, + "values": [ + { + "name": "OK", + "value": "OK" + }, + { + "name": "Offline", + "value": "Offline" + }, + { + "name": "Unknown", + "value": "Unknown" + }, + { + "name": "Updating", + "value": "Updating" + }, + { + "name": "NeedsAttention", + "value": "NeedsAttention" + } + ] } }, "SubscriptionProperties": { @@ -8965,7 +10321,6 @@ "type": "string" }, "registeredFeatures": { - "uniqueItems": false, "type": "array", "items": { "$ref": "#/definitions/SubscriptionRegisteredFeatures" @@ -8987,29 +10342,65 @@ } } }, + "SubscriptionState": { + "type": "string", + "enum": [ + "Registered", + "Warned", + "Suspended", + "Deleted", + "Unregistered" + ], + "x-ms-enum": { + "name": "SubscriptionState", + "modelAsString": true, + "values": [ + { + "name": "Registered", + "value": "Registered" + }, + { + "name": "Warned", + "value": "Warned" + }, + { + "name": "Suspended", + "value": "Suspended" + }, + { + "name": "Deleted", + "value": "Deleted" + }, + { + "name": "Unregistered", + "value": "Unregistered" + } + ] + } + }, "SupportPackageRequestProperties": { - "description": "The share properties.", "type": "object", + "description": "The share properties.", "properties": { "minimumTimeStamp": { + "type": "string", "format": "date-time", - "description": "MinimumTimeStamp from where logs need to be collected", - "type": "string" + "description": "MinimumTimeStamp from where logs need to be collected" }, "maximumTimeStamp": { + "type": "string", "format": "date-time", - "description": "Start of the timespan of the log collection", - "type": "string" + "description": "Start of the timespan of the log collection" }, "include": { - "description": "Type of files, which need to be included in the logs\r\nThis will contain the type of logs (Default/DefaultWithDumps/None/All/DefaultWithArchived)\r\nor a comma separated list of log types that are required", - "type": "string" + "type": "string", + "description": "Type of files, which need to be included in the logs\nThis will contain the type of logs (Default/DefaultWithDumps/None/All/DefaultWithArchived)\nor a comma separated list of log types that are required" } } }, "SymmetricKey": { - "description": "Symmetric key for authentication.", "type": "object", + "description": "Symmetric key for authentication.", "properties": { "connectionString": { "$ref": "#/definitions/AsymmetricEncryptedSecret", @@ -9017,741 +10408,844 @@ } } }, + "TimeGrain": { + "type": "string", + "enum": [ + "PT1M", + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "PT1D" + ], + "x-ms-enum": { + "name": "TimeGrain", + "modelAsString": true, + "values": [ + { + "name": "PT1M", + "value": "PT1M" + }, + { + "name": "PT5M", + "value": "PT5M" + }, + { + "name": "PT15M", + "value": "PT15M" + }, + { + "name": "PT30M", + "value": "PT30M" + }, + { + "name": "PT1H", + "value": "PT1H" + }, + { + "name": "PT6H", + "value": "PT6H" + }, + { + "name": "PT12H", + "value": "PT12H" + }, + { + "name": "PT1D", + "value": "PT1D" + } + ] + } + }, "TrackingInfo": { - "description": "Tracking courier information.", "type": "object", + "description": "Tracking courier information.", "properties": { "serialNumber": { - "description": "Serial number of the device being tracked.", - "type": "string" + "type": "string", + "description": "Serial number of the device being tracked." }, "carrierName": { - "description": "Name of the carrier used in the delivery.", - "type": "string" + "type": "string", + "description": "Name of the carrier used in the delivery." }, "trackingId": { - "description": "Tracking ID of the shipment.", - "type": "string" + "type": "string", + "description": "Tracking ID of the shipment." }, "trackingUrl": { - "description": "Tracking URL of the shipment.", - "type": "string" + "type": "string", + "description": "Tracking URL of the shipment." } } }, "Trigger": { + "type": "object", "description": "Trigger details.", + "properties": { + "kind": { + "$ref": "#/definitions/TriggerEventType", + "description": "Trigger Kind.", + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "discriminator": "kind", "required": [ "kind" ], - "type": "object", "allOf": [ { - "$ref": "#/definitions/ARMBaseModel" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" } + ] + }, + "TriggerEventType": { + "type": "string", + "description": "Trigger Kind.", + "enum": [ + "FileEvent", + "PeriodicTimerEvent" ], - "properties": { - "kind": { - "description": "Trigger Kind.", - "enum": [ - "FileEvent", - "PeriodicTimerEvent" - ], - "type": "string", - "x-ms-enum": { - "name": "TriggerEventType", - "modelAsString": true + "x-ms-enum": { + "name": "TriggerEventType", + "modelAsString": true, + "values": [ + { + "name": "FileEvent", + "value": "FileEvent" + }, + { + "name": "PeriodicTimerEvent", + "value": "PeriodicTimerEvent" } - }, - "systemData": { - "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "description": "Metadata pertaining to creation and last modification of Trigger", - "readOnly": true - } - }, - "discriminator": "kind" + ] + } }, "TriggerList": { - "description": "Collection of all trigger on the data box edge device.", "type": "object", + "description": "Collection of all trigger on the data box edge device.", "properties": { "value": { - "description": "The list of triggers.", - "uniqueItems": false, "type": "array", + "description": "The Trigger items on this page", "items": { "$ref": "#/definitions/Trigger" }, - "readOnly": true, - "x-ms-identifiers": [] + "readOnly": true }, "nextLink": { - "description": "Link to the next set of results.", "type": "string", - "readOnly": true + "format": "uri", + "description": "The link to the next page of items" } - } + }, + "required": [ + "value" + ] }, "TriggerSupportPackageRequest": { + "type": "object", "description": "The request object for trigger support package.", + "properties": { + "properties": { + "$ref": "#/definitions/SupportPackageRequestProperties", + "description": "The TriggerSupportPackageRequest properties.", + "x-ms-client-flatten": true + } + }, "required": [ "properties" ], - "type": "object", "allOf": [ { "$ref": "#/definitions/ARMBaseModel" } - ], - "properties": { - "properties": { - "$ref": "#/definitions/SupportPackageRequestProperties", - "description": "The TriggerSupportPackageRequest properties.", - "x-ms-client-flatten": true - } - } + ] }, "UpdateDetails": { - "description": "Update Specific attributes", "type": "object", + "description": "Update Specific attributes", "properties": { "updateTitle": { - "description": "Title of the Update", - "type": "string" + "type": "string", + "description": "Title of the Update" }, "updateSize": { + "type": "number", "format": "double", - "description": "Size of the update(In Bytes)", - "type": "number" + "description": "Size of the update(In Bytes)" }, "updateType": { - "description": "Type of the Update", - "enum": [ - "Software", - "Kubernetes", - "Firmware" - ], - "type": "string", - "x-ms-enum": { - "name": "UpdateType", - "modelAsString": true - } + "$ref": "#/definitions/UpdateType", + "description": "Type of the Update" }, "targetVersion": { - "description": "Target Version number", - "type": "string" + "type": "string", + "description": "Target Version number" }, "friendlyVersionNumber": { - "description": "Friendly Version Number", - "type": "string" + "type": "string", + "description": "Friendly Version Number" }, "estimatedInstallTimeInMins": { + "type": "integer", "format": "int32", - "description": "Estimated Install Time for the update", - "type": "integer" + "description": "Estimated Install Time for the update" }, "rebootBehavior": { - "description": "Indicates if updates are available and at least one of the updates needs a reboot.", - "enum": [ - "NeverReboots", - "RequiresReboot", - "RequestReboot" - ], - "type": "string", - "x-ms-enum": { - "name": "InstallRebootBehavior", - "modelAsString": true - } + "$ref": "#/definitions/InstallRebootBehavior", + "description": "Indicates if updates are available and at least one of the updates needs a reboot." }, "installationImpact": { - "description": "Impact of Installing an updateType", - "enum": [ - "None", - "DeviceRebooted", - "KubernetesWorkloadsDown" - ], - "type": "string", - "x-ms-enum": { - "name": "InstallationImpact", - "modelAsString": true - } + "$ref": "#/definitions/InstallationImpact", + "description": "Impact of Installing an updateType" }, "status": { - "description": "Status of the update.", - "enum": [ - "DownloadPending", - "DownloadStarted", - "DownloadCompleted", - "InstallStarted", - "InstallCompleted" - ], - "type": "string", - "x-ms-enum": { - "name": "UpdateStatus", - "modelAsString": true - } + "$ref": "#/definitions/UpdateStatus", + "description": "Status of the update." } } }, "UpdateDownloadProgress": { - "description": "Details about the download progress of update.", "type": "object", + "description": "Details about the download progress of update.", "properties": { "downloadPhase": { + "$ref": "#/definitions/DownloadPhase", "description": "The download phase.", - "enum": [ - "Unknown", - "Initializing", - "Downloading", - "Verifying" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "DownloadPhase", - "modelAsString": true - } + "readOnly": true }, "percentComplete": { + "type": "integer", "format": "int32", "description": "Percentage of completion.", - "type": "integer", "readOnly": true }, "totalBytesToDownload": { + "type": "number", "format": "double", "description": "Total bytes to download.", - "type": "number", "readOnly": true }, "totalBytesDownloaded": { + "type": "number", "format": "double", "description": "Total bytes downloaded.", - "type": "number", "readOnly": true }, "numberOfUpdatesToDownload": { + "type": "integer", "format": "int32", "description": "Number of updates to download.", - "type": "integer", "readOnly": true }, "numberOfUpdatesDownloaded": { + "type": "integer", "format": "int32", "description": "Number of updates downloaded.", - "type": "integer", "readOnly": true } } }, "UpdateInstallProgress": { - "description": "Progress details during installation of updates.", "type": "object", + "description": "Progress details during installation of updates.", "properties": { "percentComplete": { + "type": "integer", "format": "int32", "description": "Percentage completed.", - "type": "integer", "readOnly": true }, "numberOfUpdatesToInstall": { + "type": "integer", "format": "int32", "description": "Number of updates to install.", - "type": "integer", "readOnly": true }, "numberOfUpdatesInstalled": { + "type": "integer", "format": "int32", "description": "Number of updates installed.", - "type": "integer", "readOnly": true } } }, + "UpdateOperation": { + "type": "string", + "description": "The current update operation.", + "enum": [ + "None", + "Scan", + "Download", + "Install" + ], + "x-ms-enum": { + "name": "UpdateOperation", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None" + }, + { + "name": "Scan", + "value": "Scan" + }, + { + "name": "Download", + "value": "Download" + }, + { + "name": "Install", + "value": "Install" + } + ] + } + }, + "UpdateOperationStage": { + "type": "string", + "description": "Current stage of the update operation.", + "enum": [ + "Unknown", + "Initial", + "ScanStarted", + "ScanComplete", + "ScanFailed", + "DownloadStarted", + "DownloadComplete", + "DownloadFailed", + "InstallStarted", + "InstallComplete", + "InstallFailed", + "RebootInitiated", + "Success", + "Failure", + "RescanStarted", + "RescanComplete", + "RescanFailed" + ], + "x-ms-enum": { + "name": "UpdateOperationStage", + "modelAsString": true, + "values": [ + { + "name": "Unknown", + "value": "Unknown" + }, + { + "name": "Initial", + "value": "Initial" + }, + { + "name": "ScanStarted", + "value": "ScanStarted" + }, + { + "name": "ScanComplete", + "value": "ScanComplete" + }, + { + "name": "ScanFailed", + "value": "ScanFailed" + }, + { + "name": "DownloadStarted", + "value": "DownloadStarted" + }, + { + "name": "DownloadComplete", + "value": "DownloadComplete" + }, + { + "name": "DownloadFailed", + "value": "DownloadFailed" + }, + { + "name": "InstallStarted", + "value": "InstallStarted" + }, + { + "name": "InstallComplete", + "value": "InstallComplete" + }, + { + "name": "InstallFailed", + "value": "InstallFailed" + }, + { + "name": "RebootInitiated", + "value": "RebootInitiated" + }, + { + "name": "Success", + "value": "Success" + }, + { + "name": "Failure", + "value": "Failure" + }, + { + "name": "RescanStarted", + "value": "RescanStarted" + }, + { + "name": "RescanComplete", + "value": "RescanComplete" + }, + { + "name": "RescanFailed", + "value": "RescanFailed" + } + ] + } + }, + "UpdateStatus": { + "type": "string", + "description": "Status of the update.", + "enum": [ + "DownloadPending", + "DownloadStarted", + "DownloadCompleted", + "InstallStarted", + "InstallCompleted" + ], + "x-ms-enum": { + "name": "UpdateStatus", + "modelAsString": true, + "values": [ + { + "name": "DownloadPending", + "value": "DownloadPending" + }, + { + "name": "DownloadStarted", + "value": "DownloadStarted" + }, + { + "name": "DownloadCompleted", + "value": "DownloadCompleted" + }, + { + "name": "InstallStarted", + "value": "InstallStarted" + }, + { + "name": "InstallCompleted", + "value": "InstallCompleted" + } + ] + } + }, "UpdateSummary": { - "description": "Details about ongoing updates and availability of updates on the device.", "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ARMBaseModel" - } - ], + "description": "Details about ongoing updates and availability of updates on the device.", "properties": { "properties": { "$ref": "#/definitions/UpdateSummaryProperties", "description": "The device update information summary.", "x-ms-client-flatten": true - }, - "systemData": { - "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "description": "Metadata pertaining to creation and last modification of UpdateSummary", - "readOnly": true } - } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] }, "UpdateSummaryProperties": { - "description": "The device update information summary.", "type": "object", + "description": "The device update information summary.", "properties": { "deviceVersionNumber": { - "description": "The current version of the device in format: 1.2.17312.13.\",", - "type": "string" + "type": "string", + "description": "The current version of the device in format: 1.2.17312.13.\"," }, "friendlyDeviceVersionName": { - "description": "The current version of the device in text format.", - "type": "string" + "type": "string", + "description": "The current version of the device in text format." }, "deviceLastScannedDateTime": { + "type": "string", "format": "date-time", - "description": "The last time when a scan was done on the device.", - "type": "string" + "description": "The last time when a scan was done on the device." }, "lastCompletedScanJobDateTime": { + "type": "string", "format": "date-time", - "description": "The time when the last scan job was completed (success/cancelled/failed) on the appliance.", - "type": "string" + "description": "The time when the last scan job was completed (success/cancelled/failed) on the appliance." }, "lastSuccessfulScanJobTime": { + "type": "string", "format": "date-time", - "description": "Time when the last scan job is successfully completed.", - "type": "string" + "description": "Time when the last scan job is successfully completed." }, "lastCompletedDownloadJobDateTime": { + "type": "string", "format": "date-time", "description": "The time when the last Download job was completed (success/cancelled/failed) on the appliance.", - "type": "string", "readOnly": true }, "lastCompletedDownloadJobId": { - "description": "JobId of the last ran download job.(Can be success/cancelled/failed)", "type": "string", + "description": "JobId of the last ran download job.(Can be success/cancelled/failed)", "readOnly": true }, "lastDownloadJobStatus": { + "$ref": "#/definitions/JobStatus", "description": "JobStatus of the last ran download job.", - "enum": [ - "Invalid", - "Running", - "Succeeded", - "Failed", - "Canceled", - "Paused", - "Scheduled" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "JobStatus", - "modelAsString": true - } + "readOnly": true }, "lastSuccessfulInstallJobDateTime": { + "type": "string", "format": "date-time", - "description": "The time when the Last Install job was completed successfully on the appliance", - "type": "string" + "description": "The time when the Last Install job was completed successfully on the appliance" }, "lastCompletedInstallJobDateTime": { + "type": "string", "format": "date-time", "description": "The time when the last Install job was completed (success/cancelled/failed) on the appliance.", - "type": "string", "readOnly": true }, "lastCompletedInstallJobId": { - "description": "JobId of the last ran install job.(Can be success/cancelled/failed)", "type": "string", + "description": "JobId of the last ran install job.(Can be success/cancelled/failed)", "readOnly": true }, "lastInstallJobStatus": { + "$ref": "#/definitions/JobStatus", "description": "JobStatus of the last ran install job.", - "enum": [ - "Invalid", - "Running", - "Succeeded", - "Failed", - "Canceled", - "Paused", - "Scheduled" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "JobStatus", - "modelAsString": true - } + "readOnly": true }, "totalNumberOfUpdatesAvailable": { + "type": "integer", "format": "int32", "description": "The number of updates available for the current device version as per the last device scan.", - "type": "integer", "readOnly": true }, "totalNumberOfUpdatesPendingDownload": { + "type": "integer", "format": "int32", "description": "The total number of items pending download.", - "type": "integer", "readOnly": true }, "totalNumberOfUpdatesPendingInstall": { + "type": "integer", "format": "int32", "description": "The total number of items pending install.", - "type": "integer", "readOnly": true }, "rebootBehavior": { + "$ref": "#/definitions/InstallRebootBehavior", "description": "Indicates if updates are available and at least one of the updates needs a reboot.", - "enum": [ - "NeverReboots", - "RequiresReboot", - "RequestReboot" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "InstallRebootBehavior", - "modelAsString": true - } + "readOnly": true }, "ongoingUpdateOperation": { + "$ref": "#/definitions/UpdateOperation", "description": "The current update operation.", - "enum": [ - "None", - "Scan", - "Download", - "Install" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "UpdateOperation", - "modelAsString": true - } + "readOnly": true }, "inProgressDownloadJobId": { - "description": "The job ID of the download job in progress.", "type": "string", + "description": "The job ID of the download job in progress.", "readOnly": true }, "inProgressInstallJobId": { - "description": "The job ID of the install job in progress.", "type": "string", + "description": "The job ID of the install job in progress.", "readOnly": true }, "inProgressDownloadJobStartedDateTime": { + "type": "string", "format": "date-time", "description": "The time when the currently running download (if any) started.", - "type": "string", "readOnly": true }, "inProgressInstallJobStartedDateTime": { + "type": "string", "format": "date-time", "description": "The time when the currently running install (if any) started.", - "type": "string", "readOnly": true }, "updateTitles": { - "description": "The list of updates available for install.", - "uniqueItems": false, "type": "array", + "description": "The list of updates available for install.", "items": { "type": "string" }, "readOnly": true }, "updates": { - "description": "The list of updates available for install.", - "uniqueItems": false, "type": "array", + "description": "The list of updates available for install.", "items": { "$ref": "#/definitions/UpdateDetails" }, + "readOnly": true, "x-ms-identifiers": [ "updateTitle" - ], - "readOnly": true + ] }, "totalUpdateSizeInBytes": { + "type": "number", "format": "double", "description": "The total size of updates available for download in bytes.", - "type": "number", "readOnly": true }, "totalTimeInMinutes": { + "type": "integer", "format": "int32", "description": "The total time in Minutes", - "type": "integer", "readOnly": true } } }, - "UploadCertificateRequest": { - "description": "The upload certificate request.", - "required": [ - "properties" + "UpdateType": { + "type": "string", + "description": "Type of the Update", + "enum": [ + "Software", + "Kubernetes", + "Firmware" ], + "x-ms-enum": { + "name": "UpdateType", + "modelAsString": true, + "values": [ + { + "name": "Software", + "value": "Software" + }, + { + "name": "Kubernetes", + "value": "Kubernetes" + }, + { + "name": "Firmware", + "value": "Firmware" + } + ] + } + }, + "UploadCertificateRequest": { "type": "object", + "description": "The upload certificate request.", "properties": { "properties": { "$ref": "#/definitions/RawCertificateData", "description": "The Base 64 encoded certificate raw data.", "x-ms-client-flatten": true } - } + }, + "required": [ + "properties" + ] }, "UploadCertificateResponse": { - "description": "The upload registration certificate response.", "type": "object", + "description": "The upload registration certificate response.", "properties": { "authType": { - "description": "Specifies authentication type.", - "enum": [ - "Invalid", - "AzureActiveDirectory" - ], - "type": "string", - "x-ms-enum": { - "name": "AuthenticationType", - "modelAsString": true - } + "$ref": "#/definitions/AuthenticationType", + "description": "Specifies authentication type." }, "resourceId": { - "description": "The resource ID of the Data Box Edge/Gateway device.", "type": "string", + "description": "The resource ID of the Data Box Edge/Gateway device.", "readOnly": true }, "aadAuthority": { - "description": "Azure Active Directory tenant authority.", "type": "string", + "description": "Azure Active Directory tenant authority.", "readOnly": true }, "aadTenantId": { - "description": "Azure Active Directory tenant ID.", "type": "string", + "description": "Azure Active Directory tenant ID.", "readOnly": true }, "servicePrincipalClientId": { - "description": "Azure Active Directory service principal client ID.", "type": "string", + "description": "Azure Active Directory service principal client ID.", "readOnly": true }, "servicePrincipalObjectId": { - "description": "Azure Active Directory service principal object ID.", "type": "string", + "description": "Azure Active Directory service principal object ID.", "readOnly": true }, "azureManagementEndpointAudience": { - "description": "The azure management endpoint audience.", "type": "string", + "description": "The azure management endpoint audience.", "readOnly": true }, "aadAudience": { - "description": "Identifier of the target resource that is the recipient of the requested token.", "type": "string", + "description": "Identifier of the target resource that is the recipient of the requested token.", "readOnly": true } } }, "User": { - "description": "Represents a user who has access to one or more shares on the Data Box Edge/Gateway device.", - "required": [ - "properties" - ], "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ARMBaseModel" - } - ], + "description": "Represents a user who has access to one or more shares on the Data Box Edge/Gateway device.", "properties": { "properties": { "$ref": "#/definitions/UserProperties", "description": "The storage account credential properties.", "x-ms-client-flatten": true - }, - "systemData": { - "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "description": "Metadata pertaining to creation and last modification of User", - "readOnly": true } - } - }, - "UserAccessRight": { - "description": "The mapping between a particular user and the access type on the SMB share.", + }, "required": [ - "userId", - "accessType" + "properties" ], + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] + }, + "UserAccessRight": { "type": "object", + "description": "The mapping between a particular user and the access type on the SMB share.", "properties": { "userId": { - "description": "User ID (already existing in the device).", - "type": "string" + "type": "string", + "description": "User ID (already existing in the device)." }, "accessType": { - "description": "Type of access to be allowed for the user.", - "enum": [ - "Change", - "Read", - "Custom" - ], - "type": "string", - "x-ms-enum": { - "name": "ShareAccessType", - "modelAsString": true - } + "$ref": "#/definitions/ShareAccessType", + "description": "Type of access to be allowed for the user." } - } + }, + "required": [ + "userId", + "accessType" + ] }, "UserList": { - "description": "Collection of users.", "type": "object", + "description": "Collection of users.", "properties": { "value": { - "description": "The list of users.", - "uniqueItems": false, "type": "array", + "description": "The User items on this page", "items": { "$ref": "#/definitions/User" }, - "readOnly": true, - "x-ms-identifiers": [] + "readOnly": true }, "nextLink": { - "description": "Link to the next set of results.", "type": "string", - "readOnly": true + "format": "uri", + "description": "The link to the next page of items" } - } + }, + "required": [ + "value" + ] }, "UserProperties": { - "description": "The user properties.", - "required": [ - "userType" - ], "type": "object", + "description": "The user properties.", "properties": { "encryptedPassword": { "$ref": "#/definitions/AsymmetricEncryptedSecret", "description": "The password details." }, "shareAccessRights": { - "description": "List of shares that the user has rights on. This field should not be specified during user creation.", - "uniqueItems": false, "type": "array", + "description": "List of shares that the user has rights on. This field should not be specified during user creation.", "items": { "$ref": "#/definitions/ShareAccessRight" }, + "readOnly": true, "x-ms-identifiers": [ "shareId" - ], - "readOnly": true + ] }, "userType": { - "description": "Type of the user.", - "enum": [ - "Share", - "LocalManagement", - "ARM" - ], - "type": "string", - "x-ms-enum": { - "name": "UserType", - "modelAsString": true - } + "$ref": "#/definitions/UserType", + "description": "Type of the user." } + }, + "required": [ + "userType" + ] + }, + "UserType": { + "type": "string", + "description": "Type of the user.", + "enum": [ + "Share", + "LocalManagement", + "ARM" + ], + "x-ms-enum": { + "name": "UserType", + "modelAsString": true, + "values": [ + { + "name": "Share", + "value": "Share" + }, + { + "name": "LocalManagement", + "value": "LocalManagement" + }, + { + "name": "ARM", + "value": "ARM" + } + ] } }, "VmMemory": { - "description": "VmMemory Data.", "type": "object", + "description": "VmMemory Data.", "properties": { "startupMemoryMB": { + "type": "integer", "format": "int64", - "description": "The total amount of RAM in the virtual machine, as seen by the guest operating system. For a virtual machine with dynamic memory enabled, this represents the initial memory available at startup.", - "type": "integer" + "description": "The total amount of RAM in the virtual machine, as seen by the guest operating system. For a virtual machine with dynamic memory enabled, this represents the initial memory available at startup." }, "currentMemoryUsageMB": { + "type": "integer", "format": "int64", - "description": "The current memory used by the virtual machine.", - "type": "integer" + "description": "The current memory used by the virtual machine." } } }, "VmPlacementRequestResult": { - "description": "List of VM sizes being checked for creation on appliance along with corresponding result.", "type": "object", + "description": "List of VM sizes being checked for creation on appliance along with corresponding result.", "properties": { "vmSize": { - "description": "List of VM sizes being checked.", - "uniqueItems": false, "type": "array", + "description": "List of VM sizes being checked.", "items": { "type": "string" } }, "isFeasible": { - "description": "Boolean value indicating if the VM(s) in VmSize can be created.", - "type": "boolean" + "type": "boolean", + "description": "Boolean value indicating if the VM(s) in VmSize can be created." }, "messageCode": { - "description": "MessageCode indicating reason for success or failure.", - "type": "string" + "type": "string", + "description": "MessageCode indicating reason for success or failure." }, "message": { - "description": "Localized message to be displayed to the user to explain the check result.", - "type": "string" + "type": "string", + "description": "Localized message to be displayed to the user to explain the check result." } } } }, - "parameters": { - "apiVersionParameter": { - "name": "api-version", - "in": "query", - "description": "The API version.", - "required": true, - "type": "string" - }, - "locationParameter": { - "name": "location", - "in": "path", - "description": "The location of the resource.", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - "resourceGroupNameParameter": { - "name": "resourceGroupName", - "in": "path", - "description": "The resource group name.", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - "subscriptionIdParameter": { - "name": "subscriptionId", - "in": "path", - "description": "The subscription ID.", - "required": true, - "type": "string" - } - }, - "securityDefinitions": { - "azure_auth": { - "flow": "implicit", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "scopes": { - "user_impersonation": "impersonate your user account" - }, - "type": "oauth2", - "description": "Azure Active Directory OAuth2 Flow" - } - }, - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "tags": [] + "parameters": {} } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/AlertGet.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/AlertGet.json index 02d40be7887d..01fcebf35c90 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/AlertGet.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/AlertGet.json @@ -1,37 +1,39 @@ { "parameters": { + "name": "159a00c7-8543-4343-9435-263ac87df3bb", + "accept-language": [ + "en-US" + ], "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", "deviceName": "testedgedevice", - "name": "159a00c7-8543-4343-9435-263ac87df3bb", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "x-ms-client-request-id": [ "a93b39a3-1ff4-42b8-a56f-43368d47e37a" - ], - "accept-language": [ - "en-US" ] }, "responses": { "200": { "body": { + "name": "159a00c7-8543-4343-9435-263ac87df3bb", + "type": "dataBoxEdgeDevices/alerts", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/alerts/159a00c7-8543-4343-9435-263ac87df3bb", "properties": { - "title": "Could not scan for updates. Error message : 'An internal error has occurred. Please contact Microsoft Support.'.", "alertType": "UpdateScanFailedEvent", "appearedAtDateTime": "2018-12-18T02:18:51.4270267Z", - "recommendation": "Resolve the error : An internal error has occurred. Please contact Microsoft Support.", - "severity": "Critical", + "detailedInformation": {}, "errorDetails": { "errorCode": "", "errorMessage": "", "occurrences": 1 }, - "detailedInformation": {} - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/alerts/159a00c7-8543-4343-9435-263ac87df3bb", - "name": "159a00c7-8543-4343-9435-263ac87df3bb", - "type": "dataBoxEdgeDevices/alerts" + "recommendation": "Resolve the error : An internal error has occurred. Please contact Microsoft Support.", + "severity": "Critical", + "title": "Could not scan for updates. Error message : 'An internal error has occurred. Please contact Microsoft Support.'." + } } } - } + }, + "operationId": "Alerts_Get", + "title": "AlertGet" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/AlertGetAllInDevice.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/AlertGetAllInDevice.json index 6216fb502b41..c01a4f7cfd1e 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/AlertGetAllInDevice.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/AlertGetAllInDevice.json @@ -1,14 +1,14 @@ { "parameters": { + "accept-language": [ + "en-US" + ], "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "x-ms-client-request-id": [ "a93b39a3-1ff4-42b8-a56f-43368d47e37a" - ], - "accept-language": [ - "en-US" ] }, "responses": { @@ -16,43 +16,45 @@ "body": { "value": [ { + "name": "83eccd0b-134b-40b0-ad62-b5f124d03790", + "type": "dataBoxEdgeDevices/alerts", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/alerts/83eccd0b-134b-40b0-ad62-b5f124d03790", "properties": { - "title": "Device password has changed", "alertType": "PasswordChangedEvent", "appearedAtDateTime": "2018-12-18T02:29:15.2325577Z", - "recommendation": "The device administrator password has changed. This is a required action as part of the first time device setup or regular password reset. No further action is required.", - "severity": "Informational", + "detailedInformation": {}, "errorDetails": { "errorCode": "", "errorMessage": "", "occurrences": 2 }, - "detailedInformation": {} - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/alerts/83eccd0b-134b-40b0-ad62-b5f124d03790", - "name": "83eccd0b-134b-40b0-ad62-b5f124d03790", - "type": "dataBoxEdgeDevices/alerts" + "recommendation": "The device administrator password has changed. This is a required action as part of the first time device setup or regular password reset. No further action is required.", + "severity": "Informational", + "title": "Device password has changed" + } }, { + "name": "159a00c7-8543-4343-9435-263ac87df3bb", + "type": "dataBoxEdgeDevices/alerts", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/alerts/159a00c7-8543-4343-9435-263ac87df3bb", "properties": { - "title": "Could not scan for updates. Error message : 'An internal error has occurred. Please contact Microsoft Support.'.", "alertType": "UpdateScanFailedEvent", "appearedAtDateTime": "2018-12-18T02:18:51.4270267Z", - "recommendation": "Resolve the error : An internal error has occurred. Please contact Microsoft Support.", - "severity": "Critical", + "detailedInformation": {}, "errorDetails": { "errorCode": "", "errorMessage": "", "occurrences": 1 }, - "detailedInformation": {} - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/alerts/159a00c7-8543-4343-9435-263ac87df3bb", - "name": "159a00c7-8543-4343-9435-263ac87df3bb", - "type": "dataBoxEdgeDevices/alerts" + "recommendation": "Resolve the error : An internal error has occurred. Please contact Microsoft Support.", + "severity": "Critical", + "title": "Could not scan for updates. Error message : 'An internal error has occurred. Please contact Microsoft Support.'." + } } ] } } - } + }, + "operationId": "Alerts_ListByDataBoxEdgeDevice", + "title": "AlertGetAllInDevice" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/AvailableSkusList.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/AvailableSkusList.json index 0821d21191c2..9c25c271633a 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/AvailableSkusList.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/AvailableSkusList.json @@ -1,13 +1,13 @@ { "parameters": { + "accept-language": [ + "en-US" + ], "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "location": "westus", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "x-ms-client-request-id": [ "a93b39a3-1ff4-42b8-a56f-43368d47e37a" - ], - "accept-language": [ - "en-US" ] }, "responses": { @@ -15,24 +15,26 @@ "body": { "value": [ { - "resourceType": "dataBoxEdgeDevices", "name": "Gateway", "availability": "Available", - "tier": "Standard", "kind": "AzureDataBoxGateway", - "version": "Stable", - "signupOption": "Available", - "locations": [ - "West US" - ], "locationInfo": [ { "location": "West US" } - ] + ], + "locations": [ + "West US" + ], + "resourceType": "dataBoxEdgeDevices", + "signupOption": "Available", + "tier": "Standard", + "version": "Stable" } ] } } - } + }, + "operationId": "AvailableSkus_List", + "title": "AvailableSkus" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/BandwidthScheduleDelete.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/BandwidthScheduleDelete.json index 2729621da6b0..c813758a1d60 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/BandwidthScheduleDelete.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/BandwidthScheduleDelete.json @@ -1,13 +1,13 @@ { "parameters": { - "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", - "deviceName": "testedgedevice", "name": "bandwidth-1", "accept-language": [ "en-US" - ] + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" }, "responses": { "200": {}, @@ -17,5 +17,7 @@ } }, "204": {} - } + }, + "operationId": "BandwidthSchedules_Delete", + "title": "BandwidthScheduleDelete" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/BandwidthScheduleGet.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/BandwidthScheduleGet.json index 777c3b5605eb..51a37df25764 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/BandwidthScheduleGet.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/BandwidthScheduleGet.json @@ -1,30 +1,32 @@ { "parameters": { - "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", - "deviceName": "testedgedevice", "name": "bandwidth-1", "accept-language": [ "en-US" - ] + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" }, "responses": { "200": { "body": { + "name": "bandwidth-1", + "type": "dataBoxEdgeDevices/bandwidthSchedules", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/bandwidthSchedules/bandwidth-1", "properties": { - "start": "00:00:00", - "stop": "13:59:00", - "rateInMbps": 100, "days": [ "Sunday", "Monday" - ] - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/bandwidthSchedules/bandwidth-1", - "name": "bandwidth-1", - "type": "dataBoxEdgeDevices/bandwidthSchedules" + ], + "rateInMbps": 100, + "start": "00:00:00", + "stop": "13:59:00" + } } } - } + }, + "operationId": "BandwidthSchedules_Get", + "title": "BandwidthScheduleGet" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/BandwidthScheduleGetAllInDevice.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/BandwidthScheduleGetAllInDevice.json index f90033d337e2..a0caff8c08d3 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/BandwidthScheduleGetAllInDevice.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/BandwidthScheduleGetAllInDevice.json @@ -1,33 +1,35 @@ { "parameters": { - "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", - "deviceName": "testedgedevice", "accept-language": [ "en-US" - ] + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" }, "responses": { "200": { "body": { "value": [ { + "name": "bandwidth-1", + "type": "dataBoxEdgeDevices/bandwidthSchedules", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/bandwidthSchedules/bandwidth-1", "properties": { - "start": "00:00:00", - "stop": "13:59:00", - "rateInMbps": 100, "days": [ "Sunday", "Monday" - ] - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/bandwidthSchedules/bandwidth-1", - "name": "bandwidth-1", - "type": "dataBoxEdgeDevices/bandwidthSchedules" + ], + "rateInMbps": 100, + "start": "00:00:00", + "stop": "13:59:00" + } } ] } } - } + }, + "operationId": "BandwidthSchedules_ListByDataBoxEdgeDevice", + "title": "BandwidthScheduleGetAllInDevice" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/BandwidthSchedulePut.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/BandwidthSchedulePut.json index 9ff8f9f4ec6a..084e457581e0 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/BandwidthSchedulePut.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/BandwidthSchedulePut.json @@ -1,51 +1,53 @@ { "parameters": { - "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", - "deviceName": "testedgedevice", "name": "bandwidth-1", - "Content-Type": [ - "application/json; charset=utf-8" - ], "Content-Length": [ "200" ], - "x-ms-client-request-id": [ - "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + "Content-Type": [ + "application/json; charset=utf-8" ], "accept-language": [ "en-US" ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", "parameters": { "properties": { - "start": "0:0:0", - "stop": "13:59:0", - "rateInMbps": 100, "days": [ "Sunday", "Monday" - ] + ], + "rateInMbps": 100, + "start": "0:0:0", + "stop": "13:59:0" } - } + }, + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] }, "responses": { "200": { "body": { + "name": "bandwidth-1", + "type": "dataBoxEdgeDevices/bandwidthSchedules", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/bandwidthSchedules/bandwidth-1", "properties": { - "start": "00:00:00", - "stop": "13:59:00", - "rateInMbps": 100, "days": [ "Sunday", "Monday" - ] - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/bandwidthSchedules/bandwidth-1", - "name": "bandwidth-1", - "type": "dataBoxEdgeDevices/bandwidthSchedules" + ], + "rateInMbps": 100, + "start": "00:00:00", + "stop": "13:59:00" + } } }, "202": {} - } + }, + "operationId": "BandwidthSchedules_CreateOrUpdate", + "title": "BandwidthSchedulePut" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/ContainerDelete.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/ContainerDelete.json index 1670c0ed064d..f82e30365ec1 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/ContainerDelete.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/ContainerDelete.json @@ -1,16 +1,16 @@ { "parameters": { + "accept-language": [ + "en-US" + ], "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", + "containerName": "blobcontainer1", "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", "storageAccountName": "storageaccount1", - "containerName": "blobcontainer1", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "x-ms-client-request-id": [ "a93b39a3-1ff4-42b8-a56f-43368d47e37a" - ], - "accept-language": [ - "en-US" ] }, "responses": { @@ -20,5 +20,7 @@ } }, "204": {} - } + }, + "operationId": "Containers_Delete", + "title": "ContainerDelete" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/ContainerGet.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/ContainerGet.json index 4ba7aac40e83..69c0433d4179 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/ContainerGet.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/ContainerGet.json @@ -1,28 +1,30 @@ { "parameters": { + "accept-language": [ + "en-US" + ], "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", + "containerName": "blobcontainer1", "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", "storageAccountName": "storageaccount1", - "containerName": "blobcontainer1", - "accept-language": [ - "en-US" - ] + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" }, "responses": { "200": { "body": { + "name": "blobcontainer1", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccounts/containers", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForDataBoxEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccounts/storageaccount1/containers/blobcontainer1", "properties": { "containerStatus": "OK", + "createdDateTime": "2019-10-20T23:13:27.8545799Z", "dataFormat": "BlockBlob", - "refreshDetails": {}, - "createdDateTime": "2019-10-20T23:13:27.8545799Z" - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForDataBoxEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccounts/storageaccount1/containers/blobcontainer1", - "name": "blobcontainer1", - "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccounts/containers" + "refreshDetails": {} + } } } - } + }, + "operationId": "Containers_Get", + "title": "ContainerGet" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/ContainerListAllInDevice.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/ContainerListAllInDevice.json index 65d0c79c6512..0ff19917761d 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/ContainerListAllInDevice.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/ContainerListAllInDevice.json @@ -1,15 +1,15 @@ { "parameters": { + "accept-language": [ + "en-US" + ], "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", "storageAccountName": "storageaccount1", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "x-ms-client-request-id": [ "a93b39a3-1ff4-42b8-a56f-43368d47e37a" - ], - "accept-language": [ - "en-US" ] }, "responses": { @@ -17,40 +17,42 @@ "body": { "value": [ { + "name": "blobcontainer1", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccounts/containers", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForDataBoxEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/EAuToWIN-6LJVNIFFB411021190437191/storageAccounts/storageaccount1/containers/blobcontainer1", "properties": { "containerStatus": "OK", + "createdDateTime": "2019-10-20T23:14:32.3016929Z", "dataFormat": "BlockBlob", - "refreshDetails": {}, - "createdDateTime": "2019-10-20T23:14:32.3016929Z" - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForDataBoxEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/EAuToWIN-6LJVNIFFB411021190437191/storageAccounts/storageaccount1/containers/blobcontainer1", - "name": "blobcontainer1", - "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccounts/containers" + "refreshDetails": {} + } }, { + "name": "blobcontainer2", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccounts/containers", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForDataBoxEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/EAuToWIN-6LJVNIFFB411021190437191/storageAccounts/storageaccount1/containers/blobcontainer2", "properties": { "containerStatus": "OK", + "createdDateTime": "2019-10-20T23:15:38.0077675Z", "dataFormat": "BlockBlob", - "refreshDetails": {}, - "createdDateTime": "2019-10-20T23:15:38.0077675Z" - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForDataBoxEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/EAuToWIN-6LJVNIFFB411021190437191/storageAccounts/storageaccount1/containers/blobcontainer2", - "name": "blobcontainer2", - "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccounts/containers" + "refreshDetails": {} + } }, { + "name": "blobcontainer3", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccounts/containers", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForDataBoxEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/EAuToWIN-6LJVNIFFB411021190437191/storageAccounts/storageaccount1/containers/blobcontainer3", "properties": { "containerStatus": "OK", + "createdDateTime": "2019-10-20T23:13:27.8545799Z", "dataFormat": "BlockBlob", - "refreshDetails": {}, - "createdDateTime": "2019-10-20T23:13:27.8545799Z" - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForDataBoxEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/EAuToWIN-6LJVNIFFB411021190437191/storageAccounts/storageaccount1/containers/blobcontainer3", - "name": "blobcontainer3", - "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccounts/containers" + "refreshDetails": {} + } } ] } } - } + }, + "operationId": "Containers_ListByStorageAccount", + "title": "ContainerListAllInDevice" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/ContainerPut.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/ContainerPut.json index cf3801f8e4b0..b9425b8d0cee 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/ContainerPut.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/ContainerPut.json @@ -1,43 +1,45 @@ { "parameters": { - "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", - "deviceName": "testedgedevice", - "storageAccountName": "storageaccount1", - "containerName": "blobcontainer1", - "Content-Type": [ - "application/json; charset=utf-8" - ], "Content-Length": [ "200" ], - "x-ms-client-request-id": [ - "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + "Content-Type": [ + "application/json; charset=utf-8" ], "accept-language": [ "en-US" ], + "api-version": "2023-12-01", "container": { "properties": { "dataFormat": "BlockBlob" } - } + }, + "containerName": "blobcontainer1", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "storageAccountName": "storageaccount1", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] }, "responses": { "200": { "body": { + "name": "blobcontainer-5e155efe", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccounts/containers", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForDataBoxEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccounts/storageaccount1/containers/blobcontainer1", "properties": { "containerStatus": "OK", + "createdDateTime": "2019-10-20T23:13:27.8545799Z", "dataFormat": "BlockBlob", - "refreshDetails": {}, - "createdDateTime": "2019-10-20T23:13:27.8545799Z" - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForDataBoxEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccounts/storageaccount1/containers/blobcontainer1", - "name": "blobcontainer-5e155efe", - "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccounts/containers" + "refreshDetails": {} + } } }, "202": {} - } + }, + "operationId": "Containers_CreateOrUpdate", + "title": "ContainerPut" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/ContainerRefresh.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/ContainerRefresh.json index b55385daf556..b77d71a0f4cf 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/ContainerRefresh.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/ContainerRefresh.json @@ -1,22 +1,22 @@ { "parameters": { - "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", - "deviceName": "testedgedevice", - "storageAccountName": "storageaccount1", - "containerName": "blobcontainer1", - "Content-Type": [ - "application/json; charset=utf-8" - ], "Content-Length": [ "200" ], - "x-ms-client-request-id": [ - "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + "Content-Type": [ + "application/json; charset=utf-8" ], "accept-language": [ "en-US" + ], + "api-version": "2023-12-01", + "containerName": "blobcontainer1", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "storageAccountName": "storageaccount1", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" ] }, "responses": { @@ -26,5 +26,7 @@ "location": "https://foo.com/ContanierRefresh" } } - } + }, + "operationId": "Containers_Refresh", + "title": "ContainerRefresh" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DataBoxEdgeDeviceDelete.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DataBoxEdgeDeviceDelete.json index a2abd9fefed9..45ebe1156e43 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DataBoxEdgeDeviceDelete.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DataBoxEdgeDeviceDelete.json @@ -1,14 +1,14 @@ { "parameters": { + "accept-language": [ + "en-US" + ], "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "x-ms-client-request-id": [ "a93b39a3-1ff4-42b8-a56f-43368d47e37a" - ], - "accept-language": [ - "en-US" ] }, "responses": { @@ -19,5 +19,7 @@ } }, "204": {} - } + }, + "operationId": "Devices_Delete", + "title": "DataBoxEdgeDeviceDelete" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DataBoxEdgeDeviceGetByName.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DataBoxEdgeDeviceGetByName.json index d2796ecd5853..bcaeed359e6d 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DataBoxEdgeDeviceGetByName.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DataBoxEdgeDeviceGetByName.json @@ -1,58 +1,60 @@ { "parameters": { + "accept-language": [ + "en-US" + ], "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "x-ms-client-request-id": [ "a93b39a3-1ff4-42b8-a56f-43368d47e37a" - ], - "accept-language": [ - "en-US" ] }, "responses": { "200": { "body": { - "location": "eastus2euap", - "tags": {}, - "sku": { - "name": "Edge", - "tier": "Standard" - }, + "name": "EdgeTestPassResource", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices", "etag": "W/\"datetime'2020-09-29T18%3A50%3A31.1203818Z'\"_W/\"datetime'2020-09-29T18%3A50%3A31.1343914Z'\"", + "id": "/subscriptions/0d44739e-0563-474f-97e7-24a0cdb23b29/resourcegroups/VmMgmtTestPass/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/EdgeTestPassResource", "identity": { "type": "SystemAssigned", "principalId": "b3e34fcc-ab02-4ca4-9d22-5de115419091", "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" }, "kind": "AzureStackEdge", + "location": "eastus2euap", "properties": { - "dataBoxEdgeDeviceStatus": "Offline", - "serialNumber": "1D6QHQ2", - "deviceType": "DataBoxEdgeDevice", - "friendlyName": "DBE-1D6QHQ2", - "deviceModel": "Physical", - "deviceSoftwareVersion": "Azure Stack Edge 2009", - "deviceLocalCapacity": 8042259, - "timeZone": "Pacific Standard Time", - "deviceHcsVersion": "2.1.1361.23408", "configuredRoleTypes": [ "CloudEdgeManagement" ], - "nodeCount": 1, + "dataBoxEdgeDeviceStatus": "Offline", + "deviceHcsVersion": "2.1.1361.23408", + "deviceLocalCapacity": 8042259, + "deviceModel": "Physical", + "deviceSoftwareVersion": "Azure Stack Edge 2009", + "deviceType": "DataBoxEdgeDevice", "edgeProfile": { "subscription": { - "registrationId": "91d8753b-af42-4908-9a5e-2a61f08b20de", "id": "/subscriptions/0d44739e-0563-474f-97e7-24a0cdb23b29/resourceGroups/VmMgmtTestPass/providers/Microsoft.AzureStack/edgeSubscriptions/daaac4b0-35c4-4008-bdc6-b72ca5890f16", + "registrationId": "91d8753b-af42-4908-9a5e-2a61f08b20de", "state": "Registered" } - } + }, + "friendlyName": "DBE-1D6QHQ2", + "nodeCount": 1, + "serialNumber": "1D6QHQ2", + "timeZone": "Pacific Standard Time" }, - "id": "/subscriptions/0d44739e-0563-474f-97e7-24a0cdb23b29/resourcegroups/VmMgmtTestPass/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/EdgeTestPassResource", - "name": "EdgeTestPassResource", - "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices" + "sku": { + "name": "Edge", + "tier": "Standard" + }, + "tags": {} } } - } + }, + "operationId": "Devices_Get", + "title": "DataBoxEdgeDeviceGetByName" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DataBoxEdgeDeviceGetByNameWithDataResidency.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DataBoxEdgeDeviceGetByNameWithDataResidency.json index a58b24a8c7e6..c334c51e73ee 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DataBoxEdgeDeviceGetByNameWithDataResidency.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DataBoxEdgeDeviceGetByNameWithDataResidency.json @@ -1,61 +1,63 @@ { "parameters": { + "accept-language": [ + "en-US" + ], "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "x-ms-client-request-id": [ "a93b39a3-1ff4-42b8-a56f-43368d47e37a" - ], - "accept-language": [ - "en-US" ] }, "responses": { "200": { "body": { - "location": "eastus2euap", - "tags": {}, - "sku": { - "name": "Edge", - "tier": "Standard" - }, + "name": "EdgeTestPassResource", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices", "etag": "W/\"datetime'2020-09-29T18%3A50%3A31.1203818Z'\"_W/\"datetime'2020-09-29T18%3A50%3A31.1343914Z'\"", + "id": "/subscriptions/0d44739e-0563-474f-97e7-24a0cdb23b29/resourcegroups/VmMgmtTestPass/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/EdgeTestPassResource", "identity": { "type": "SystemAssigned", "principalId": "b3e34fcc-ab02-4ca4-9d22-5de115419091", "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" }, "kind": "AzureStackEdge", + "location": "eastus2euap", "properties": { - "dataBoxEdgeDeviceStatus": "Offline", - "serialNumber": "1D6QHQ2", - "deviceType": "DataBoxEdgeDevice", - "friendlyName": "DBE-1D6QHQ2", - "deviceModel": "Physical", - "deviceSoftwareVersion": "Azure Stack Edge 2009", - "deviceLocalCapacity": 8042259, - "timeZone": "Pacific Standard Time", - "deviceHcsVersion": "2.1.1361.23408", "configuredRoleTypes": [ "CloudEdgeManagement" ], - "nodeCount": 1, + "dataBoxEdgeDeviceStatus": "Offline", + "dataResidency": { + "type": "ZoneReplication" + }, + "deviceHcsVersion": "2.1.1361.23408", + "deviceLocalCapacity": 8042259, + "deviceModel": "Physical", + "deviceSoftwareVersion": "Azure Stack Edge 2009", + "deviceType": "DataBoxEdgeDevice", "edgeProfile": { "subscription": { - "registrationId": "91d8753b-af42-4908-9a5e-2a61f08b20de", "id": "/subscriptions/0d44739e-0563-474f-97e7-24a0cdb23b29/resourceGroups/VmMgmtTestPass/providers/Microsoft.AzureStack/edgeSubscriptions/daaac4b0-35c4-4008-bdc6-b72ca5890f16", + "registrationId": "91d8753b-af42-4908-9a5e-2a61f08b20de", "state": "Registered" } }, - "dataResidency": { - "type": "ZoneReplication" - } + "friendlyName": "DBE-1D6QHQ2", + "nodeCount": 1, + "serialNumber": "1D6QHQ2", + "timeZone": "Pacific Standard Time" }, - "id": "/subscriptions/0d44739e-0563-474f-97e7-24a0cdb23b29/resourcegroups/VmMgmtTestPass/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/EdgeTestPassResource", - "name": "EdgeTestPassResource", - "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices" + "sku": { + "name": "Edge", + "tier": "Standard" + }, + "tags": {} } } - } + }, + "operationId": "Devices_Get", + "title": "DataBoxEdgeDeviceGetByNameWithDataResidency" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DataBoxEdgeDeviceGetByResourceGroup.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DataBoxEdgeDeviceGetByResourceGroup.json index 40ff12934496..23f0ce6ee0c1 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DataBoxEdgeDeviceGetByResourceGroup.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DataBoxEdgeDeviceGetByResourceGroup.json @@ -1,13 +1,13 @@ { "parameters": { + "accept-language": [ + "en-US" + ], "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "x-ms-client-request-id": [ "a93b39a3-1ff4-42b8-a56f-43368d47e37a" - ], - "accept-language": [ - "en-US" ] }, "responses": { @@ -15,61 +15,63 @@ "body": { "value": [ { - "location": "eastus2euap", - "tags": {}, - "sku": { - "name": "Edge", - "tier": "Standard" - }, + "name": "EdgeTestPassResource", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices", "etag": "W/\"datetime'2020-09-29T18%3A50%3A31.1203818Z'\"_W/\"datetime'2020-09-29T18%3A50%3A31.1343914Z'\"", + "id": "/subscriptions/0d44739e-0563-474f-97e7-24a0cdb23b29/resourcegroups/VmMgmtTestPass/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/EdgeTestPassResource", "identity": { "type": "SystemAssigned", "principalId": "b3e34fcc-ab02-4ca4-9d22-5de115419091", "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" }, "kind": "AzureStackEdge", - "id": "/subscriptions/0d44739e-0563-474f-97e7-24a0cdb23b29/resourcegroups/VmMgmtTestPass/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/EdgeTestPassResource", - "name": "EdgeTestPassResource", - "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices" - }, - { - "location": "centraluseuap", - "tags": {}, + "location": "eastus2euap", "sku": { "name": "Edge", "tier": "Standard" }, + "tags": {} + }, + { + "name": "FPGAResource", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices", "etag": "W/\"datetime'2020-11-18T23%3A31%3A30.3266766Z'\"_W/\"datetime'2020-11-18T23%3A31%3A30.3326804Z'\"", + "id": "/subscriptions/0d44739e-0563-474f-97e7-24a0cdb23b29/resourcegroups/VmMgmtTestPass/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/FPGAResource", "identity": { "type": "SystemAssigned", "principalId": "d97a6de5-f5c0-485a-8f5e-b7f705d2dbc4", "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" }, "kind": "AzureStackEdge", - "id": "/subscriptions/0d44739e-0563-474f-97e7-24a0cdb23b29/resourcegroups/VmMgmtTestPass/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/FPGAResource", - "name": "FPGAResource", - "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices" - }, - { "location": "centraluseuap", - "tags": {}, "sku": { "name": "Edge", "tier": "Standard" }, + "tags": {} + }, + { + "name": "TestVMEdgeResource", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices", "etag": "W/\"datetime'2020-11-18T23%3A31%3A23.1715672Z'\"_W/\"datetime'2020-11-18T23%3A31%3A23.2396152Z'\"", + "id": "/subscriptions/0d44739e-0563-474f-97e7-24a0cdb23b29/resourcegroups/VmMgmtTestPass/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/TestVMEdgeResource", "identity": { "type": "SystemAssigned", "principalId": "6f2b341b-aded-4ec2-a1bd-d09438d6cc8f", "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" }, "kind": "AzureStackEdge", - "id": "/subscriptions/0d44739e-0563-474f-97e7-24a0cdb23b29/resourcegroups/VmMgmtTestPass/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/TestVMEdgeResource", - "name": "TestVMEdgeResource", - "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices" + "location": "centraluseuap", + "sku": { + "name": "Edge", + "tier": "Standard" + }, + "tags": {} } ] } } - } + }, + "operationId": "Devices_ListByResourceGroup", + "title": "DataBoxEdgeDeviceGetByResourceGroup" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DataBoxEdgeDeviceGetBySubscription.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DataBoxEdgeDeviceGetBySubscription.json index 5a3f2bf7be39..da965e88cfe9 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DataBoxEdgeDeviceGetBySubscription.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DataBoxEdgeDeviceGetBySubscription.json @@ -1,12 +1,12 @@ { "parameters": { + "accept-language": [ + "en-US" + ], "api-version": "2023-12-01", "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "x-ms-client-request-id": [ "a93b39a3-1ff4-42b8-a56f-43368d47e37a" - ], - "accept-language": [ - "en-US" ] }, "responses": { @@ -14,61 +14,63 @@ "body": { "value": [ { - "location": "eastus2euap", - "tags": {}, - "sku": { - "name": "Gateway", - "tier": "Standard" - }, + "name": "linksub01", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices", "etag": "W/\"datetime'2020-11-19T01%3A39%3A55.1270082Z'\"_W/\"datetime'2020-11-19T01%3A39%3A55.1320118Z'\"", + "id": "/subscriptions/0d44739e-0563-474f-97e7-24a0cdb23b29/resourcegroups/abhudeda-rg/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/linksub01", "identity": { "type": "SystemAssigned", "principalId": "083df009-06d9-4e3c-ae72-f9249a814334", "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" }, "kind": "AzureDataBoxGateway", - "id": "/subscriptions/0d44739e-0563-474f-97e7-24a0cdb23b29/resourcegroups/abhudeda-rg/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/linksub01", - "name": "linksub01", - "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices" - }, - { "location": "eastus2euap", - "tags": {}, "sku": { "name": "Gateway", "tier": "Standard" }, + "tags": {} + }, + { + "name": "mergeazstest", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices", "etag": "W/\"datetime'2020-11-19T01%3A40%3A05.9246966Z'\"_W/\"datetime'2020-11-19T01%3A40%3A05.9317011Z'\"", + "id": "/subscriptions/0d44739e-0563-474f-97e7-24a0cdb23b29/resourcegroups/abhudeda-rg/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/mergeazstest", "identity": { "type": "SystemAssigned", "principalId": "8536db30-78d2-4759-95b7-896a66e14c24", "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" }, "kind": "AzureDataBoxGateway", - "id": "/subscriptions/0d44739e-0563-474f-97e7-24a0cdb23b29/resourcegroups/abhudeda-rg/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/mergeazstest", - "name": "mergeazstest", - "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices" - }, - { "location": "eastus2euap", - "tags": {}, "sku": { "name": "Gateway", "tier": "Standard" }, + "tags": {} + }, + { + "name": "mergeazstest2", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices", "etag": "W/\"datetime'2020-11-19T01%3A40%3A06.496102Z'\"_W/\"datetime'2020-11-19T01%3A40%3A06.503107Z'\"", + "id": "/subscriptions/0d44739e-0563-474f-97e7-24a0cdb23b29/resourcegroups/abhudeda-rg/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/mergeazstest2", "identity": { "type": "SystemAssigned", "principalId": "fc4c1205-35c8-4f35-abc7-f5a78945f676", "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" }, "kind": "AzureDataBoxGateway", - "id": "/subscriptions/0d44739e-0563-474f-97e7-24a0cdb23b29/resourcegroups/abhudeda-rg/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/mergeazstest2", - "name": "mergeazstest2", - "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices" + "location": "eastus2euap", + "sku": { + "name": "Gateway", + "tier": "Standard" + }, + "tags": {} } ] } } - } + }, + "operationId": "Devices_ListBySubscription", + "title": "DataBoxEdgeDeviceGetBySubscription" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DataBoxEdgeDevicePatch.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DataBoxEdgeDevicePatch.json index 488792b24f93..1a79a4276abc 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DataBoxEdgeDevicePatch.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DataBoxEdgeDevicePatch.json @@ -1,21 +1,16 @@ { "parameters": { - "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", - "deviceName": "testedgedevice", - "Content-Type": [ - "application/json; charset=utf-8" - ], "Content-Length": [ "200" ], - "x-ms-client-request-id": [ - "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + "Content-Type": [ + "application/json; charset=utf-8" ], "accept-language": [ "en-US" ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", "parameters": { "properties": { "edgeProfile": { @@ -24,45 +19,52 @@ } } } - } + }, + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] }, "responses": { "200": { "body": { - "location": "eastus2euap", - "tags": {}, - "sku": { - "name": "Edge", - "tier": "Standard" - }, + "name": "testedgedevice", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices", "etag": "W/\"datetime'2020-11-19T04%3A43%3A38.6457308Z'\"_W/\"datetime'2020-11-19T04%3A43%3A38.6507339Z'\"", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourcegroups/VmMgmtTestPass/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice", "identity": { "type": "SystemAssigned", "principalId": "b3e34fcc-ab02-4ca4-9d22-5de115419091", "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" }, "kind": "AzureStackEdge", + "location": "eastus2euap", "properties": { "dataBoxEdgeDeviceStatus": "ReadyToSetup", - "deviceType": "DataBoxEdgeDevice", "deviceLocalCapacity": 0, - "timeZone": "Pacific Standard Time", - "nodeCount": 0, - "resourceMoveDetails": { - "operationInProgress": "None" - }, + "deviceType": "DataBoxEdgeDevice", "edgeProfile": { "subscription": { - "registrationId": "91d8753b-af42-4908-9a5e-2a61f08b20de", "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/VmMgmtTestPass/providers/Microsoft.AzureStack/edgeSubscriptions/daaac4b0-35c4-4008-bdc6-b72ca5890f16", + "registrationId": "91d8753b-af42-4908-9a5e-2a61f08b20de", "state": "Registered" } - } + }, + "nodeCount": 0, + "resourceMoveDetails": { + "operationInProgress": "None" + }, + "timeZone": "Pacific Standard Time" }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourcegroups/VmMgmtTestPass/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice", - "name": "testedgedevice", - "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices" + "sku": { + "name": "Edge", + "tier": "Standard" + }, + "tags": {} } } - } + }, + "operationId": "Devices_Update", + "title": "DataBoxEdgeDevicePatch" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DataBoxEdgeDevicePut.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DataBoxEdgeDevicePut.json index 5a6a88f0008e..d01471995689 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DataBoxEdgeDevicePut.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DataBoxEdgeDevicePut.json @@ -1,42 +1,44 @@ { "parameters": { - "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", - "deviceName": "testedgedevice", - "Content-Type": [ - "application/json; charset=utf-8" - ], "Content-Length": [ "200" ], - "x-ms-client-request-id": [ - "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + "Content-Type": [ + "application/json; charset=utf-8" ], "accept-language": [ "en-US" ], + "api-version": "2023-12-01", "dataBoxEdgeDevice": { "location": "WUS", - "tags": {}, "sku": { "name": "Edge", "tier": "Standard" - } - } + }, + "tags": {} + }, + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] }, "responses": { "200": { "body": { + "name": "testedgedevice", "id": "foo/bar/id", "location": "WUS", - "tags": {}, "sku": { "name": "Edge", "tier": "Standard" }, - "name": "testedgedevice" + "tags": {} } } - } + }, + "operationId": "Devices_CreateOrUpdate", + "title": "DataBoxEdgeDevicePut" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DataBoxEdgeDevicePutWithDataResidency.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DataBoxEdgeDevicePutWithDataResidency.json index 0c82f01ff905..6d0e0e279aea 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DataBoxEdgeDevicePutWithDataResidency.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DataBoxEdgeDevicePutWithDataResidency.json @@ -1,52 +1,54 @@ { "parameters": { - "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", - "deviceName": "testedgedevice", - "Content-Type": [ - "application/json; charset=utf-8" - ], "Content-Length": [ "200" ], - "x-ms-client-request-id": [ - "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + "Content-Type": [ + "application/json; charset=utf-8" ], "accept-language": [ "en-US" ], + "api-version": "2023-12-01", "dataBoxEdgeDevice": { "location": "WUS", - "tags": {}, - "sku": { - "name": "Edge", - "tier": "Standard" - }, "properties": { "dataResidency": { "type": "ZoneReplication" } - } - } + }, + "sku": { + "name": "Edge", + "tier": "Standard" + }, + "tags": {} + }, + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] }, "responses": { "200": { "body": { + "name": "testedgedevice", "id": "foo/bar/id", "location": "WUS", - "tags": {}, - "sku": { - "name": "Edge", - "tier": "Standard" - }, - "name": "testedgedevice", "properties": { "dataResidency": { "type": "ZoneReplication" } - } + }, + "sku": { + "name": "Edge", + "tier": "Standard" + }, + "tags": {} } } - } + }, + "operationId": "Devices_CreateOrUpdate", + "title": "DataBoxEdgeDevicePutWithDataResidency" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DeleteAddons.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DeleteAddons.json index 41a574f6c8b0..2a63a4b820bc 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DeleteAddons.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DeleteAddons.json @@ -1,14 +1,14 @@ { "parameters": { + "accept-language": [ + "en-US" + ], + "addonName": "arcName", "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", "roleName": "KubernetesRole", - "addonName": "arcName", - "accept-language": [ - "en-US" - ] + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" }, "responses": { "200": {}, @@ -18,5 +18,7 @@ } }, "204": {} - } + }, + "operationId": "Addons_Delete", + "title": "DeleteAddOns" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DeleteMonitoringConfig.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DeleteMonitoringConfig.json index cdfd10be46ff..7275d5a76361 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DeleteMonitoringConfig.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DeleteMonitoringConfig.json @@ -1,13 +1,13 @@ { "parameters": { + "accept-language": [ + "en-US" + ], "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", "roleName": "testrole", - "accept-language": [ - "en-US" - ] + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" }, "responses": { "200": {}, @@ -17,5 +17,7 @@ } }, "204": {} - } + }, + "operationId": "MonitoringConfig_Delete", + "title": "DeleteMonitoringConfig" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DeviceCapacityGet.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DeviceCapacityGet.json index 4b25f142ca77..2338aa3fcf40 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DeviceCapacityGet.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DeviceCapacityGet.json @@ -1,95 +1,63 @@ { "parameters": { + "accept-language": [ + "en-US" + ], "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "x-ms-client-request-id": [ "a93b39a3-1ff4-42b8-a56f-43368d47e37a" - ], - "accept-language": [ - "en-US" ] }, "responses": { "200": { "body": { + "name": "default", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/deviceCapacityInfo", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/deviceCapacityInfo/default", "properties": { - "timeStamp": "2022-02-28T19:35:34.5585067Z", - "clusterStorageCapacityInfo": { - "clusterTotalStorageMb": 5368642.0, - "clusterFreeStorageMb": 5284151.0 - }, "clusterComputeCapacityInfo": { "fqdn": "3V78B03CL", "gpuCapacity": { - "gpuType": "NvidiaTeslaT4", - "gpuUsedUnitsCount": 0, "gpuFreeUnitsCount": 1, "gpuReservedForFailoverUnitsCount": 0, - "gpuTotalUnitsCount": 1 + "gpuTotalUnitsCount": 1, + "gpuType": "NvidiaTeslaT4", + "gpuUsedUnitsCount": 0 }, + "lastRefreshedTime": "2022-02-28T19:35:23.82Z", "memoryCapacity": { + "clusterFailoverMemoryMb": 0, + "clusterFragmentationMemoryMb": 0, "clusterFreeMemoryMb": 20978.64, - "clusterUsedMemoryMb": 109711.36, - "clusterFailoverMemoryMb": 0.0, - "clusterFragmentationMemoryMb": 0.0, "clusterHypervReserveMemoryMb": 19599.36, - "clusterInfraVmMemoryMb": 0.0, - "clusterTotalMemoryMb": 130690.0, - "clusterNonFailoverVmMb": 0.0, - "clusterMemoryUsedByVmsMb": 90112.0 + "clusterInfraVmMemoryMb": 0, + "clusterMemoryUsedByVmsMb": 90112, + "clusterNonFailoverVmMb": 0, + "clusterTotalMemoryMb": 130690, + "clusterUsedMemoryMb": 109711.36 }, - "lastRefreshedTime": "2022-02-28T19:35:23.82Z", "totalProvisionedNonHpnCores": 5 }, + "clusterStorageCapacityInfo": { + "clusterFreeStorageMb": 5284151, + "clusterTotalStorageMb": 5368642 + }, "nodeCapacityInfos": { "3V78B03": { - "hostName": "3V78B03", - "effectiveAvailableMemoryMbOnHost": 45818, "availableGpuCount": 1, - "vmUsedMemory": { - "2e867196-e44b-49b7-9cb3-46c25973b762": { - "startupMemoryMB": 3584, - "currentMemoryUsageMB": 3584 - }, - "23ddd5ea-bda9-467a-803f-1a7e2888d1fa": { - "startupMemoryMB": 24576, - "currentMemoryUsageMB": 24576 - }, - "853efe82-58f1-4f94-8f9c-7752dab6767c": { - "startupMemoryMB": 24576, - "currentMemoryUsageMB": 24576 - }, - "4c4261f0-eac5-4ff6-95ef-2cb70e09d3f6": { - "startupMemoryMB": 3584, - "currentMemoryUsageMB": 3584 - }, - "48034ac1-04ce-48e1-89fd-15a6d71fd623": { - "startupMemoryMB": 2048, - "currentMemoryUsageMB": 2048 - }, - "dc3d20b2-8581-41cb-9ca3-1bbc1a8a2fe4": { - "startupMemoryMB": 3584, - "currentMemoryUsageMB": 3584 - }, - "c1023a57-d6a0-4a77-9308-48b320bfedbd": { - "startupMemoryMB": 3584, - "currentMemoryUsageMB": 3584 - }, - "6b1817d5-4003-4f17-8423-51c33d9de88c": { - "startupMemoryMB": 24576, - "currentMemoryUsageMB": 0 - } - }, + "effectiveAvailableMemoryMbOnHost": 45818, "gpuType": "NvidiaTeslaT4", + "hostName": "3V78B03", "numaNodesData": [ { - "numaNodeIndex": 0, - "totalMemoryInMb": 65154, - "logicalCoreCountPerCore": 2, "effectiveAvailableMemoryInMb": 30182, "freeVCpuIndexesForHpn": [], + "logicalCoreCountPerCore": 2, + "numaNodeIndex": 0, + "totalMemoryInMb": 65154, "vCpuIndexesForHpn": [], "vCpuIndexesForRoot": [ 0, @@ -115,11 +83,11 @@ ] }, { - "numaNodeIndex": 1, - "totalMemoryInMb": 65536, - "logicalCoreCountPerCore": 2, "effectiveAvailableMemoryInMb": 19493, "freeVCpuIndexesForHpn": [], + "logicalCoreCountPerCore": 2, + "numaNodeIndex": 1, + "totalMemoryInMb": 65536, "vCpuIndexesForHpn": [], "vCpuIndexesForRoot": [ 20, @@ -144,14 +112,48 @@ 39 ] } - ] + ], + "vmUsedMemory": { + "23ddd5ea-bda9-467a-803f-1a7e2888d1fa": { + "currentMemoryUsageMB": 24576, + "startupMemoryMB": 24576 + }, + "2e867196-e44b-49b7-9cb3-46c25973b762": { + "currentMemoryUsageMB": 3584, + "startupMemoryMB": 3584 + }, + "48034ac1-04ce-48e1-89fd-15a6d71fd623": { + "currentMemoryUsageMB": 2048, + "startupMemoryMB": 2048 + }, + "4c4261f0-eac5-4ff6-95ef-2cb70e09d3f6": { + "currentMemoryUsageMB": 3584, + "startupMemoryMB": 3584 + }, + "6b1817d5-4003-4f17-8423-51c33d9de88c": { + "currentMemoryUsageMB": 0, + "startupMemoryMB": 24576 + }, + "853efe82-58f1-4f94-8f9c-7752dab6767c": { + "currentMemoryUsageMB": 24576, + "startupMemoryMB": 24576 + }, + "c1023a57-d6a0-4a77-9308-48b320bfedbd": { + "currentMemoryUsageMB": 3584, + "startupMemoryMB": 3584 + }, + "dc3d20b2-8581-41cb-9ca3-1bbc1a8a2fe4": { + "currentMemoryUsageMB": 3584, + "startupMemoryMB": 3584 + } + } } - } - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/deviceCapacityInfo/default", - "name": "default", - "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/deviceCapacityInfo" + }, + "timeStamp": "2022-02-28T19:35:34.5585067Z" + } } } - } + }, + "operationId": "DeviceCapacityInfo_GetDeviceCapacityInfo", + "title": "DeviceCapacityGet" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DeviceCapacityRequestPost.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DeviceCapacityRequestPost.json index aa2d746b2982..abc0927fad19 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DeviceCapacityRequestPost.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DeviceCapacityRequestPost.json @@ -1,21 +1,15 @@ { "parameters": { - "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", - "deviceName": "testedgedevice", - "Content-Type": [ - "application/json; charset=utf-8" - ], "Content-Length": [ "200" ], - "x-ms-client-request-id": [ - "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + "Content-Type": [ + "application/json; charset=utf-8" ], "accept-language": [ "en-US" ], + "api-version": "2023-12-01", "deviceCapacityRequestInfo": { "properties": { "vmPlacementQuery": [ @@ -24,7 +18,13 @@ ] ] } - } + }, + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] }, "responses": { "200": {}, @@ -33,5 +33,7 @@ "location": "https://foo.com/BandwidthSchdeuleDelete" } } - } + }, + "operationId": "DeviceCapacityCheck_CheckResourceCreationFeasibility", + "title": "DeviceCapacityRequestPost" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DownloadUpdatesPost.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DownloadUpdatesPost.json index f1e22ab2d5db..2cabf2d18945 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DownloadUpdatesPost.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DownloadUpdatesPost.json @@ -1,20 +1,20 @@ { "parameters": { - "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", - "deviceName": "testedgedevice", - "Content-Type": [ - "application/json; charset=utf-8" - ], "Content-Length": [ "200" ], - "x-ms-client-request-id": [ - "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + "Content-Type": [ + "application/json; charset=utf-8" ], "accept-language": [ "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" ] }, "responses": { @@ -24,5 +24,7 @@ "location": "https://foo.com/DownloadUpdatesPost" } } - } + }, + "operationId": "Devices_DownloadUpdates", + "title": "DownloadUpdatesPost" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/ExtendedInfoPost.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/ExtendedInfoPost.json index 39f4bd39b43b..bcbcd86e0bba 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/ExtendedInfoPost.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/ExtendedInfoPost.json @@ -1,34 +1,36 @@ { "parameters": { - "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", - "deviceName": "testedgedevice", - "Content-Type": [ - "application/json; charset=utf-8" - ], "Content-Length": [ "200" ], - "x-ms-client-request-id": [ - "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + "Content-Type": [ + "application/json; charset=utf-8" ], "accept-language": [ "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" ] }, "responses": { "200": { "body": { + "name": "testedgedevice", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice", "properties": { - "resourceKey": "3482840729935603111", + "encryptionKey": "", "encryptionKeyThumbprint": "", - "encryptionKey": "" - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice", - "name": "testedgedevice", - "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices" + "resourceKey": "3482840729935603111" + } } } - } + }, + "operationId": "Devices_GetExtendedInformation", + "title": "ExtendedInfoPost" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/GenerateCertificate.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/GenerateCertificate.json index 7f6446143745..83f8670ed461 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/GenerateCertificate.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/GenerateCertificate.json @@ -1,20 +1,22 @@ { "parameters": { - "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", - "deviceName": "testedgedevice", "accept-language": [ "en-US" - ] + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" }, "responses": { "200": { "body": { - "publicKey": "MIIEDjCCAnagAwIBAgIQEW4wrxj9+JdA4kFLDgegTTANBgkqhkiG9w0BAQUFADBDMUEwPwYDVQQDHjgAQwBCAF8AUABvAHIAdABhAGwAXwA2ADMANwA0ADEAMwA1ADkAMQA4ADAAMAA3ADAAOQAxADcANTAeFw0yMDExMTkwNDU2MjBaFw0yMDExMjIwNTA2MjBaMEMxQTA/BgNVBAMeOABDAEIAXwBQAG8AcgB0AGEAbABfADYAMwA3ADQAMQAzADUAOQAxADgAMAAwADcAMAA5ADEANwA1MIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAqG617KAUc4gOoht527o6FGE/c97W/wZIXqKbx4G8vifljXWw3NGDDuSQfidE3MqSMMJ/AAlDhBH/Deo/PAgUWuWB2WgM+KFWrDS0oDBvLVeIIeiMx4LOsbz4J8IbcKrGWf+ulQyum7dE/yBLzPXcPTjhJP0oMfhGOMlVVWbiKaP78/WZk2PmBQaVv7PxAQnJAPqETH2qAyuc9bd0TaMlIER56WhX9+nzsoI0u7RmBEs8+BaudVroiiK/GpEczy73TCRlpVXGChdBHg+NvYRYz91ltCV9Ijo1bdvcUjdgDJZ4Tz7G8XVCQmxbd9ml6OBLgxQUpd9HSGTcIfFiv+rTUwHR7YkY+1UGHsDPOYnBVDTXs3RFm+c5uNnCKvtyTExDJgabT+FTNb3eyD/BSYsy6b/YZBRqPiO8BRFUsIhWhXtPaUjWOEx6XMeZRnGeF4Hi8iH8TR79kEJhfYy3piSPAc3JrhgoglpyyfZOgyPOje+8tAWS9FHUNyVXKKeksDoZAgMBAAEwDQYJKoZIhvcNAQEFBQADggGBACpfQt34mgr+WlFtY0tqaPAoF6XnVzyKB6XsVAoj1uKFTSCQnr0mWvUMWKSRFTu1bV1VdDokV5I+h92kBcO4ddtHhWtkt16j9XFDsGdDvoUWJeqecZVr9fBPC69wF/9R/2E6iJporR46Pui7gcilYGqb3IjJlh8RT/XBPamQrfDbS7G8eTe91ST5cHr89R6EtDwfyhyTZr2sRrvQrxY2AjEmdH5Zcl9q2Xf8DholZhZ9vwnuYBFfl6VCXWaDAzQWiPdxo1wgXxEpNNDstGFWJKnsnz9UCohNAiPf47B+csPqxjcTLVMhcGLdU/lwpzzkEOciijpYILscvPoU3IM6DmFROgU2z6CForpgwHPDJktyWU1MC7lFdfrSzwu/5b3ZAEQhnJf7rvrybULoYBQWJEuj26Is1S6kXpNUaHAc5HIyIoc2V2eRjasbPIqsU0smjPLS/1egjHxtw9u+v4qDDvDuOjhFJtC3NkPl06TfNgO9+5LgiB1JppXnkLyCQ9RQgw==", + "expiryTimeInUTC": "2020-11-22T05:06:20.000Z", "privateKey": null, - "expiryTimeInUTC": "2020-11-22T05:06:20.000Z" + "publicKey": "MIIEDjCCAnagAwIBAgIQEW4wrxj9+JdA4kFLDgegTTANBgkqhkiG9w0BAQUFADBDMUEwPwYDVQQDHjgAQwBCAF8AUABvAHIAdABhAGwAXwA2ADMANwA0ADEAMwA1ADkAMQA4ADAAMAA3ADAAOQAxADcANTAeFw0yMDExMTkwNDU2MjBaFw0yMDExMjIwNTA2MjBaMEMxQTA/BgNVBAMeOABDAEIAXwBQAG8AcgB0AGEAbABfADYAMwA3ADQAMQAzADUAOQAxADgAMAAwADcAMAA5ADEANwA1MIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAqG617KAUc4gOoht527o6FGE/c97W/wZIXqKbx4G8vifljXWw3NGDDuSQfidE3MqSMMJ/AAlDhBH/Deo/PAgUWuWB2WgM+KFWrDS0oDBvLVeIIeiMx4LOsbz4J8IbcKrGWf+ulQyum7dE/yBLzPXcPTjhJP0oMfhGOMlVVWbiKaP78/WZk2PmBQaVv7PxAQnJAPqETH2qAyuc9bd0TaMlIER56WhX9+nzsoI0u7RmBEs8+BaudVroiiK/GpEczy73TCRlpVXGChdBHg+NvYRYz91ltCV9Ijo1bdvcUjdgDJZ4Tz7G8XVCQmxbd9ml6OBLgxQUpd9HSGTcIfFiv+rTUwHR7YkY+1UGHsDPOYnBVDTXs3RFm+c5uNnCKvtyTExDJgabT+FTNb3eyD/BSYsy6b/YZBRqPiO8BRFUsIhWhXtPaUjWOEx6XMeZRnGeF4Hi8iH8TR79kEJhfYy3piSPAc3JrhgoglpyyfZOgyPOje+8tAWS9FHUNyVXKKeksDoZAgMBAAEwDQYJKoZIhvcNAQEFBQADggGBACpfQt34mgr+WlFtY0tqaPAoF6XnVzyKB6XsVAoj1uKFTSCQnr0mWvUMWKSRFTu1bV1VdDokV5I+h92kBcO4ddtHhWtkt16j9XFDsGdDvoUWJeqecZVr9fBPC69wF/9R/2E6iJporR46Pui7gcilYGqb3IjJlh8RT/XBPamQrfDbS7G8eTe91ST5cHr89R6EtDwfyhyTZr2sRrvQrxY2AjEmdH5Zcl9q2Xf8DholZhZ9vwnuYBFfl6VCXWaDAzQWiPdxo1wgXxEpNNDstGFWJKnsnz9UCohNAiPf47B+csPqxjcTLVMhcGLdU/lwpzzkEOciijpYILscvPoU3IM6DmFROgU2z6CForpgwHPDJktyWU1MC7lFdfrSzwu/5b3ZAEQhnJf7rvrybULoYBQWJEuj26Is1S6kXpNUaHAc5HIyIoc2V2eRjasbPIqsU0smjPLS/1egjHxtw9u+v4qDDvDuOjhFJtC3NkPl06TfNgO9+5LgiB1JppXnkLyCQ9RQgw==" } } - } + }, + "operationId": "Devices_GenerateCertificate", + "title": "GenerateCertificate" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/GetAddons.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/GetAddons.json index a90745496504..01a9a7802c22 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/GetAddons.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/GetAddons.json @@ -1,42 +1,44 @@ { "parameters": { - "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", - "deviceName": "testedgedevice", - "roleName": "KubernetesRole", - "addonName": "arcName", - "Content-Type": [ - "application/json; charset=utf-8" - ], "Content-Length": [ "200" ], - "x-ms-client-request-id": [ - "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + "Content-Type": [ + "application/json; charset=utf-8" ], "accept-language": [ "en-US" + ], + "addonName": "arcName", + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "roleName": "KubernetesRole", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" ] }, "responses": { "200": { "body": { + "name": "arcName", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/roles/addons", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourcegroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/addonExamples/roles/kubernetesRole/addons/arcName", + "kind": "ArcForKubernetes", "properties": { - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", - "resourceName": "testedgedevice", - "resourceLocation": "EastUS", - "version": "0.2.18", "hostPlatform": "Linux", "hostPlatformType": "KubernetesCluster", - "provisioningState": "Created" - }, - "kind": "ArcForKubernetes", - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourcegroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/addonExamples/roles/kubernetesRole/addons/arcName", - "name": "arcName", - "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/roles/addons" + "provisioningState": "Created", + "resourceGroupName": "GroupForEdgeAutomation", + "resourceLocation": "EastUS", + "resourceName": "testedgedevice", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "version": "0.2.18" + } } } - } + }, + "operationId": "Addons_Get", + "title": "GetAddOns" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/GetDCAccessCode.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/GetDCAccessCode.json index 96a777b61dec..3df3b2c4d713 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/GetDCAccessCode.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/GetDCAccessCode.json @@ -1,12 +1,12 @@ { "parameters": { - "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", - "deviceName": "testedgedevice", "accept-language": [ "en-US" - ] + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" }, "responses": { "200": { @@ -16,5 +16,7 @@ } } } - } + }, + "operationId": "Orders_ListDCAccessCode", + "title": "GetDCAccessCode" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/GetDiagnosticProactiveLogCollectionSettings.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/GetDiagnosticProactiveLogCollectionSettings.json index d57917b4319c..956e6d165202 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/GetDiagnosticProactiveLogCollectionSettings.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/GetDiagnosticProactiveLogCollectionSettings.json @@ -1,32 +1,34 @@ { "parameters": { - "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", - "deviceName": "testedgedevice", "name": "159a00c7-8543-4343-9435-263ac87df3bb", - "x-ms-client-request-id": [ - "a93b39a3-1ff4-42b8-a56f-43368d47e37a" - ], "accept-language": [ "en-US" ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", "diagnosticProactiveLogCollectionSettings": { "properties": { "userConsent": "Enabled" } - } + }, + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] }, "responses": { "200": { "body": { + "name": "default", + "type": "dataBoxEdgeDevices/diagnosticSettings", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/diagnosticProactiveLogCollectionSettings/default", "properties": { "userConsent": "Enabled" - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/diagnosticProactiveLogCollectionSettings/default", - "name": "default", - "type": "dataBoxEdgeDevices/diagnosticSettings" + } } } - } + }, + "operationId": "DiagnosticSettings_GetDiagnosticProactiveLogCollectionSettings", + "title": "GetDiagnosticProactiveLogCollectionSettings" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/GetDiagnosticRemoteSupportSettings.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/GetDiagnosticRemoteSupportSettings.json index 945ecad6ad33..ff89c1fdfde9 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/GetDiagnosticRemoteSupportSettings.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/GetDiagnosticRemoteSupportSettings.json @@ -1,20 +1,23 @@ { "parameters": { + "name": "159a00c7-8543-4343-9435-263ac87df3bb", + "accept-language": [ + "en-US" + ], "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", "deviceName": "testedgedevice", - "name": "159a00c7-8543-4343-9435-263ac87df3bb", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "x-ms-client-request-id": [ "a93b39a3-1ff4-42b8-a56f-43368d47e37a" - ], - "accept-language": [ - "en-US" ] }, "responses": { "200": { "body": { + "name": "default", + "type": "dataBoxEdgeDevices/diagnosticSettings", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/diagnosticRemoteSupportSettings/default", "properties": { "remoteSupportSettingsList": [ { @@ -23,11 +26,10 @@ "remoteApplicationType": "LocalUI" } ] - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/diagnosticRemoteSupportSettings/default", - "name": "default", - "type": "dataBoxEdgeDevices/diagnosticSettings" + } } } - } + }, + "operationId": "DiagnosticSettings_GetDiagnosticRemoteSupportSettings", + "title": "GetDiagnosticRemoteSupportSettings" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/GetMonitoringConfig.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/GetMonitoringConfig.json index 17b5ac723569..a0908e8868d7 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/GetMonitoringConfig.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/GetMonitoringConfig.json @@ -1,13 +1,13 @@ { "parameters": { + "accept-language": [ + "en-US" + ], "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", "roleName": "testrole", - "accept-language": [ - "en-US" - ] + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" }, "responses": { "200": { @@ -16,9 +16,6 @@ "properties": { "metricConfigurations": [ { - "resourceId": "test", - "mdmAccount": "test", - "metricNameSpace": "test", "counterSets": [ { "counters": [ @@ -27,11 +24,16 @@ } ] } - ] + ], + "mdmAccount": "test", + "metricNameSpace": "test", + "resourceId": "test" } ] } } } - } + }, + "operationId": "MonitoringConfig_Get", + "title": "GetMonitoringConfig" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/GetUpdateExtendedInfo.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/GetUpdateExtendedInfo.json index 1492931431f1..389518c2c67f 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/GetUpdateExtendedInfo.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/GetUpdateExtendedInfo.json @@ -1,41 +1,43 @@ { "parameters": { + "accept-language": [ + "en-US" + ], "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", "deviceName": "testedgedevice", "parameters": {}, - "accept-language": [ - "en-US" - ] + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" }, "responses": { "200": { "body": { "properties": { - "clientSecretStoreId": "/subscriptions/0d44739e-0563-474f-97e7-24a0cdb23b29/resourceGroups/arja-rg/providers/Microsoft.KeyVault/vaults/test-keyvault-ccy-523", - "clientSecretStoreUrl": "https://test-keyvault-ccy-523.vault.azure.net", "channelIntegrityKeyName": "ase-cik-ab861822-21ea-4d31-96ec-89aa066f9a59", "channelIntegrityKeyVersion": "95e9b619e65f433d82c9e1ead48214b9", - "keyVaultSyncStatus": "KeyVaultSynced", + "clientSecretStoreId": "/subscriptions/0d44739e-0563-474f-97e7-24a0cdb23b29/resourceGroups/arja-rg/providers/Microsoft.KeyVault/vaults/test-keyvault-ccy-523", + "clientSecretStoreUrl": "https://test-keyvault-ccy-523.vault.azure.net", "deviceSecrets": { + "BMCDefaultUserPassword": {}, "HcsDataVolumeBitLockerExternalKey": { "keyVaultId": "Id" }, "HcsInternalVolumeBitLockerExternalKey": { "keyVaultId": "Id" }, + "RotateKeyForDataVolumeBitlocker": {}, + "RotateKeysForSedDrivesSerialized": {}, + "SEDEncryptionExternalKey": {}, + "SEDEncryptionExternalKeyId": {}, "SystemVolumeBitLockerRecoveryKey": { "keyVaultId": "Id" - }, - "SEDEncryptionExternalKeyId": {}, - "SEDEncryptionExternalKey": {}, - "BMCDefaultUserPassword": {}, - "RotateKeyForDataVolumeBitlocker": {}, - "RotateKeysForSedDrivesSerialized": {} - } + } + }, + "keyVaultSyncStatus": "KeyVaultSynced" } } } - } + }, + "operationId": "Devices_UpdateExtendedInformation", + "title": "GetUpdateExtendedInfo" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/InstallUpdatesPost.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/InstallUpdatesPost.json index f91b07d485ce..72b03ce0ff6b 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/InstallUpdatesPost.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/InstallUpdatesPost.json @@ -1,20 +1,20 @@ { "parameters": { - "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", - "deviceName": "testedgedevice", - "Content-Type": [ - "application/json; charset=utf-8" - ], "Content-Length": [ "200" ], - "x-ms-client-request-id": [ - "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + "Content-Type": [ + "application/json; charset=utf-8" ], "accept-language": [ "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" ] }, "responses": { @@ -24,5 +24,7 @@ "location": "https://foo.com/InstalllUpdatesPost" } } - } + }, + "operationId": "Devices_InstallUpdates", + "title": "InstallUpdatesPost" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/JobsGet.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/JobsGet.json index ee65a3802eec..58a94c61eb55 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/JobsGet.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/JobsGet.json @@ -1,31 +1,33 @@ { "parameters": { + "name": "159a00c7-8543-4343-9435-263ac87df3bb", + "accept-language": [ + "en-US" + ], "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", "deviceName": "testedgedevice", - "name": "159a00c7-8543-4343-9435-263ac87df3bb", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "x-ms-client-request-id": [ "a93b39a3-1ff4-42b8-a56f-43368d47e37a" - ], - "accept-language": [ - "en-US" ] }, "responses": { "200": { "body": { - "id": "/subscriptions/id/locations/westus/jobs/159a00c7-8543-4343-9435-263ac87df3bb", "name": "159a00c7-8543-4343-9435-263ac87df3bb", - "status": "Succeeded", - "startTime": "2018-12-18T02:18:51.4270267Z", "endTime": "2018-12-18T03:18:51.4270267Z", + "id": "/subscriptions/id/locations/westus/jobs/159a00c7-8543-4343-9435-263ac87df3bb", "percentComplete": 100, "properties": { - "jobType": "DownloadUpdates", - "currentStage": "Success" - } + "currentStage": "Success", + "jobType": "DownloadUpdates" + }, + "startTime": "2018-12-18T02:18:51.4270267Z", + "status": "Succeeded" } } - } + }, + "operationId": "Jobs_Get", + "title": "JobsGet" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/ListMonitoringConfig.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/ListMonitoringConfig.json index 4fbbb65daaa8..a272695cec48 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/ListMonitoringConfig.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/ListMonitoringConfig.json @@ -1,13 +1,13 @@ { "parameters": { + "accept-language": [ + "en-US" + ], "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", "roleName": "testrole", - "accept-language": [ - "en-US" - ] + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" }, "responses": { "200": { @@ -18,9 +18,6 @@ "properties": { "metricConfigurations": [ { - "resourceId": "test", - "mdmAccount": "test", - "metricNameSpace": "test", "counterSets": [ { "counters": [ @@ -29,7 +26,10 @@ } ] } - ] + ], + "mdmAccount": "test", + "metricNameSpace": "test", + "resourceId": "test" } ] } @@ -37,5 +37,7 @@ ] } } - } + }, + "operationId": "MonitoringConfig_List", + "title": "ListMonitoringConfig" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/NetworkSettingsGet.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/NetworkSettingsGet.json index 1e9fee4e7fca..95728b8783e0 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/NetworkSettingsGet.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/NetworkSettingsGet.json @@ -1,19 +1,22 @@ { "parameters": { + "accept-language": [ + "en-US" + ], "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "x-ms-client-request-id": [ "a93b39a3-1ff4-42b8-a56f-43368d47e37a" - ], - "accept-language": [ - "en-US" ] }, "responses": { "200": { "body": { + "name": "default", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/networkSettings", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/networkSettings/default", "properties": { "networkAdapters": [ { @@ -22,37 +25,36 @@ "networkGroup": "NonRDMA", "port": 0 }, - "index": 1, - "nodeId": "3fd54d9e-f7a0-45bf-bdf1-39b0977d1984", - "networkAdapterName": "DATA1", - "label": "DATA1", - "macAddress": "00155D4E265B", - "linkSpeed": 10000000000, - "status": "Inactive", - "rdmaStatus": "Incapable", "dhcpStatus": "Disabled", + "dnsServers": [ + "10.50.50.50", + "10.50.10.50" + ], + "index": 1, "ipv4Configuration": { + "gateway": "10.150.76.1", "ipAddress": "10.150.78.56", - "subnet": "255.255.252.0", - "gateway": "10.150.76.1" + "subnet": "255.255.252.0" }, "ipv6Configuration": { + "gateway": "fe80::12f3:11ff:fe36:994b%5", "ipAddress": "2404:f801:4800:1e:d5c6:50a1:465b:1bbf", - "prefixLength": 64, - "gateway": "fe80::12f3:11ff:fe36:994b%5" + "prefixLength": 64 }, "ipv6LinkLocalAddress": "fe80::d5c6:50a1:465b:1bbf%5", - "dnsServers": [ - "10.50.50.50", - "10.50.10.50" - ] + "label": "DATA1", + "linkSpeed": 10000000000, + "macAddress": "00155D4E265B", + "networkAdapterName": "DATA1", + "nodeId": "3fd54d9e-f7a0-45bf-bdf1-39b0977d1984", + "rdmaStatus": "Incapable", + "status": "Inactive" } ] - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/networkSettings/default", - "name": "default", - "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/networkSettings" + } } } - } + }, + "operationId": "Devices_GetNetworkSettings", + "title": "NetworkSettingsGet" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/NodeGetAllInDevice.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/NodeGetAllInDevice.json index e6970521944f..ed50fcb35d71 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/NodeGetAllInDevice.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/NodeGetAllInDevice.json @@ -1,14 +1,14 @@ { "parameters": { + "accept-language": [ + "en-US" + ], "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "x-ms-client-request-id": [ "a93b39a3-1ff4-42b8-a56f-43368d47e37a" - ], - "accept-language": [ - "en-US" ] }, "responses": { @@ -16,35 +16,37 @@ "body": { "value": [ { + "name": "1D6QHQ2", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/nodes", + "id": "/subscriptions/db4e2fdb-6d80-4e6e-b7cd-736098270664/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/DataBoxEdgeDevices/testedgedevice/nodes/1D6QHQ2", "properties": { - "nodeStatus": "Unknown", "nodeChassisSerialNumber": "1D6QHQ2", - "nodeSerialNumber": "1D6QHQ2", "nodeDisplayName": "Controller 1", "nodeFriendlySoftwareVersion": "Data Box Edge 1908", "nodeHcsVersion": "1.6.961.8307", - "nodeInstanceId": "ad051874-7d27-4ac4-a7b1-b6f231d8a035" - }, - "id": "/subscriptions/db4e2fdb-6d80-4e6e-b7cd-736098270664/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/DataBoxEdgeDevices/testedgedevice/nodes/1D6QHQ2", - "name": "1D6QHQ2", - "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/nodes" + "nodeInstanceId": "ad051874-7d27-4ac4-a7b1-b6f231d8a035", + "nodeSerialNumber": "1D6QHQ2", + "nodeStatus": "Unknown" + } }, { + "name": "1DCNHQ2", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/nodes", + "id": "/subscriptions/db4e2fdb-6d80-4e6e-b7cd-736098270664/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/DataBoxEdgeDevices/testedgedevice/nodes/1DCNHQ2", "properties": { - "nodeStatus": "Unknown", "nodeChassisSerialNumber": "1D6QHQ2", - "nodeSerialNumber": "1DCNHQ2", "nodeDisplayName": "Controller 1", "nodeFriendlySoftwareVersion": "Data Box Edge 1908", "nodeHcsVersion": "1.6.961.8307", - "nodeInstanceId": "ddf3a76d-ada4-44af-99c6-a69a0e21bcb6" - }, - "id": "/subscriptions/db4e2fdb-6d80-4e6e-b7cd-736098270664/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/DataBoxEdgeDevices/testedgedevice/nodes/1DCNHQ2", - "name": "1DCNHQ2", - "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/nodes" + "nodeInstanceId": "ddf3a76d-ada4-44af-99c6-a69a0e21bcb6", + "nodeSerialNumber": "1DCNHQ2", + "nodeStatus": "Unknown" + } } ] } } - } + }, + "operationId": "Nodes_ListByDataBoxEdgeDevice", + "title": "NodesGetAllInDevice" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/OperationsGet.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/OperationsGet.json index faf2461d0a83..8112c7c2e93d 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/OperationsGet.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/OperationsGet.json @@ -1,11 +1,11 @@ { "parameters": { + "accept-language": [ + "en-US" + ], "api-version": "2023-12-01", "x-ms-client-request-id": [ "a93b39a3-1ff4-42b8-a56f-43368d47e37a" - ], - "accept-language": [ - "en-US" ] }, "responses": { @@ -15,400 +15,400 @@ { "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/users/read", "display": { - "provider": "Microsoft.DataBoxEdge", - "resource": "share users", + "description": "Lists or gets the share users", "operation": "List share users", - "description": "Lists or gets the share users" + "provider": "Microsoft.DataBoxEdge", + "resource": "share users" }, "origin": "user" }, { "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/users/read", "display": { - "provider": "Microsoft.DataBoxEdge", - "resource": "share users", + "description": "Lists or gets the share users", "operation": "List share users", - "description": "Lists or gets the share users" + "provider": "Microsoft.DataBoxEdge", + "resource": "share users" }, "origin": "user" }, { "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/users/write", "display": { - "provider": "Microsoft.DataBoxEdge", - "resource": "share users", + "description": "Creates or updates the share users", "operation": "Creates or updates share users", - "description": "Creates or updates the share users" + "provider": "Microsoft.DataBoxEdge", + "resource": "share users" }, "origin": "user" }, { "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/users/delete", "display": { - "provider": "Microsoft.DataBoxEdge", - "resource": "share users", + "description": "Deletes the share users", "operation": "Delete share users", - "description": "Deletes the share users" + "provider": "Microsoft.DataBoxEdge", + "resource": "share users" }, "origin": "user" }, { "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/bandwidthSchedules/read", "display": { - "provider": "Microsoft.DataBoxEdge", - "resource": "bandwidth schedules", + "description": "Lists or gets the bandwidth schedules", "operation": "List bandwidth schedules", - "description": "Lists or gets the bandwidth schedules" + "provider": "Microsoft.DataBoxEdge", + "resource": "bandwidth schedules" }, "origin": "user" }, { "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/bandwidthSchedules/read", "display": { - "provider": "Microsoft.DataBoxEdge", - "resource": "bandwidth schedules", + "description": "Lists or gets the bandwidth schedules", "operation": "List bandwidth schedules", - "description": "Lists or gets the bandwidth schedules" + "provider": "Microsoft.DataBoxEdge", + "resource": "bandwidth schedules" }, "origin": "user" }, { "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/bandwidthSchedules/write", "display": { - "provider": "Microsoft.DataBoxEdge", - "resource": "bandwidth schedules", + "description": "Creates or updates the bandwidth schedules", "operation": "Creates or updates bandwidth schedules", - "description": "Creates or updates the bandwidth schedules" + "provider": "Microsoft.DataBoxEdge", + "resource": "bandwidth schedules" }, "origin": "user" }, { "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/bandwidthSchedules/delete", "display": { - "provider": "Microsoft.DataBoxEdge", - "resource": "bandwidth schedules", + "description": "Deletes the bandwidth schedules", "operation": "Delete bandwidth schedules", - "description": "Deletes the bandwidth schedules" + "provider": "Microsoft.DataBoxEdge", + "resource": "bandwidth schedules" }, "origin": "user" }, { "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/roles/read", "display": { - "provider": "Microsoft.DataBoxEdge", - "resource": "ArmApiRes_roles", + "description": "Lists or gets the ArmApiRes_roles", "operation": "List ArmApiRes_roles", - "description": "Lists or gets the ArmApiRes_roles" + "provider": "Microsoft.DataBoxEdge", + "resource": "ArmApiRes_roles" }, "origin": "user" }, { "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/roles/read", "display": { - "provider": "Microsoft.DataBoxEdge", - "resource": "ArmApiRes_roles", + "description": "Lists or gets the ArmApiRes_roles", "operation": "List ArmApiRes_roles", - "description": "Lists or gets the ArmApiRes_roles" + "provider": "Microsoft.DataBoxEdge", + "resource": "ArmApiRes_roles" }, "origin": "user" }, { "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/roles/write", "display": { - "provider": "Microsoft.DataBoxEdge", - "resource": "ArmApiRes_roles", + "description": "Creates or updates the ArmApiRes_roles", "operation": "Creates or updates ArmApiRes_roles", - "description": "Creates or updates the ArmApiRes_roles" + "provider": "Microsoft.DataBoxEdge", + "resource": "ArmApiRes_roles" }, "origin": "user" }, { "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/roles/delete", "display": { - "provider": "Microsoft.DataBoxEdge", - "resource": "ArmApiRes_roles", + "description": "Deletes the ArmApiRes_roles", "operation": "Delete ArmApiRes_roles", - "description": "Deletes the ArmApiRes_roles" + "provider": "Microsoft.DataBoxEdge", + "resource": "ArmApiRes_roles" }, "origin": "user" }, { "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/shares/read", "display": { - "provider": "Microsoft.DataBoxEdge", - "resource": "shares", + "description": "Lists or gets the shares", "operation": "List shares", - "description": "Lists or gets the shares" + "provider": "Microsoft.DataBoxEdge", + "resource": "shares" }, "origin": "user" }, { "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/shares/read", "display": { - "provider": "Microsoft.DataBoxEdge", - "resource": "shares", + "description": "Lists or gets the shares", "operation": "List shares", - "description": "Lists or gets the shares" + "provider": "Microsoft.DataBoxEdge", + "resource": "shares" }, "origin": "user" }, { "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/shares/write", "display": { - "provider": "Microsoft.DataBoxEdge", - "resource": "shares", + "description": "Creates or updates the shares", "operation": "Creates or updates shares", - "description": "Creates or updates the shares" + "provider": "Microsoft.DataBoxEdge", + "resource": "shares" }, "origin": "user" }, { "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/shares/refresh/action", "display": { - "provider": "Microsoft.DataBoxEdge", - "resource": "shares", + "description": "ArmApiDesc_action_refresh_shares", "operation": "ArmApiOp_action_refresh_shares", - "description": "ArmApiDesc_action_refresh_shares" + "provider": "Microsoft.DataBoxEdge", + "resource": "shares" }, "origin": "user" }, { "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/shares/delete", "display": { - "provider": "Microsoft.DataBoxEdge", - "resource": "shares", + "description": "Deletes the shares", "operation": "Delete shares", - "description": "Deletes the shares" + "provider": "Microsoft.DataBoxEdge", + "resource": "shares" }, "origin": "user" }, { "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/uploadCertificate/action", "display": { - "provider": "Microsoft.DataBoxEdge", - "resource": "Data Box Edge devices", + "description": "Upload certificate for device registration", "operation": "Upload certificates", - "description": "Upload certificate for device registration" + "provider": "Microsoft.DataBoxEdge", + "resource": "Data Box Edge devices" }, "origin": "user" }, { "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/write", "display": { - "provider": "Microsoft.DataBoxEdge", - "resource": "Data Box Edge devices", + "description": "Creates or updates the Data Box Edge devices", "operation": "Creates or updates Data Box Edge devices", - "description": "Creates or updates the Data Box Edge devices" + "provider": "Microsoft.DataBoxEdge", + "resource": "Data Box Edge devices" }, "origin": "user" }, { "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/read", "display": { - "provider": "Microsoft.DataBoxEdge", - "resource": "Data Box Edge devices", + "description": "Lists or gets the Data Box Edge devices", "operation": "List Data Box Edge devices", - "description": "Lists or gets the Data Box Edge devices" + "provider": "Microsoft.DataBoxEdge", + "resource": "Data Box Edge devices" }, "origin": "user" }, { "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/delete", "display": { - "provider": "Microsoft.DataBoxEdge", - "resource": "Data Box Edge devices", + "description": "Deletes the Data Box Edge devices", "operation": "Delete Data Box Edge devices", - "description": "Deletes the Data Box Edge devices" + "provider": "Microsoft.DataBoxEdge", + "resource": "Data Box Edge devices" }, "origin": "user" }, { "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/read", "display": { - "provider": "Microsoft.DataBoxEdge", - "resource": "Data Box Edge devices", + "description": "Lists or gets the Data Box Edge devices", "operation": "List Data Box Edge devices", - "description": "Lists or gets the Data Box Edge devices" + "provider": "Microsoft.DataBoxEdge", + "resource": "Data Box Edge devices" }, "origin": "user" }, { "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/read", "display": { - "provider": "Microsoft.DataBoxEdge", - "resource": "Data Box Edge devices", + "description": "Lists or gets the Data Box Edge devices", "operation": "List Data Box Edge devices", - "description": "Lists or gets the Data Box Edge devices" + "provider": "Microsoft.DataBoxEdge", + "resource": "Data Box Edge devices" }, "origin": "user" }, { "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/write", "display": { - "provider": "Microsoft.DataBoxEdge", - "resource": "Data Box Edge devices", + "description": "Creates or updates the Data Box Edge devices", "operation": "Creates or updates Data Box Edge devices", - "description": "Creates or updates the Data Box Edge devices" + "provider": "Microsoft.DataBoxEdge", + "resource": "Data Box Edge devices" }, "origin": "user" }, { "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/getExtendedInformation/action", "display": { - "provider": "Microsoft.DataBoxEdge", - "resource": "Data Box Edge devices", + "description": "ArmApiDesc_action_getExtendedInformation_dataBoxEdgeDevices", "operation": "ArmApiOp_action_getExtendedInformation_dataBoxEdgeDevices", - "description": "ArmApiDesc_action_getExtendedInformation_dataBoxEdgeDevices" + "provider": "Microsoft.DataBoxEdge", + "resource": "Data Box Edge devices" }, "origin": "user" }, { "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/extendedInformation/action", "display": { - "provider": "Microsoft.DataBoxEdge", - "resource": "Data Box Edge devices", + "description": "Retrieves resource extended information", "operation": "Gets resource extended information", - "description": "Retrieves resource extended information" + "provider": "Microsoft.DataBoxEdge", + "resource": "Data Box Edge devices" }, "origin": "user" }, { "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/networkSettings/read", "display": { - "provider": "Microsoft.DataBoxEdge", - "resource": "Device network settings", + "description": "Lists or gets the Device network settings", "operation": "List Device network settings", - "description": "Lists or gets the Device network settings" + "provider": "Microsoft.DataBoxEdge", + "resource": "Device network settings" }, "origin": "user" }, { "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/securitySettings/update/action", "display": { - "provider": "Microsoft.DataBoxEdge", - "resource": "Device security settings", + "description": "Update security settings", "operation": "Update security settings", - "description": "Update security settings" + "provider": "Microsoft.DataBoxEdge", + "resource": "Device security settings" }, "origin": "user" }, { "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/updateSummary/read", "display": { - "provider": "Microsoft.DataBoxEdge", - "resource": "update summary", + "description": "Lists or gets the update summary", "operation": "List update summary", - "description": "Lists or gets the update summary" + "provider": "Microsoft.DataBoxEdge", + "resource": "update summary" }, "origin": "user" }, { "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/scanForUpdates/action", "display": { - "provider": "Microsoft.DataBoxEdge", - "resource": "Data Box Edge devices", + "description": "Scan for updates", "operation": "Scan for updates", - "description": "Scan for updates" + "provider": "Microsoft.DataBoxEdge", + "resource": "Data Box Edge devices" }, "origin": "user" }, { "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/downloadUpdates/action", "display": { - "provider": "Microsoft.DataBoxEdge", - "resource": "Data Box Edge devices", + "description": "Download Updates in device", "operation": "Download Updates", - "description": "Download Updates in device" + "provider": "Microsoft.DataBoxEdge", + "resource": "Data Box Edge devices" }, "origin": "user" }, { "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/installUpdates/action", "display": { - "provider": "Microsoft.DataBoxEdge", - "resource": "Data Box Edge devices", + "description": "Install Updates on device", "operation": "Install Updates", - "description": "Install Updates on device" + "provider": "Microsoft.DataBoxEdge", + "resource": "Data Box Edge devices" }, "origin": "user" }, { "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/jobs/read", "display": { - "provider": "Microsoft.DataBoxEdge", - "resource": "jobs", + "description": "Lists or gets the jobs", "operation": "List jobs", - "description": "Lists or gets the jobs" + "provider": "Microsoft.DataBoxEdge", + "resource": "jobs" }, "origin": "user" }, { "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccountCredentials/write", "display": { - "provider": "Microsoft.DataBoxEdge", - "resource": "storage account credentials", + "description": "Creates or updates the storage account credentials", "operation": "Creates or updates storage account credentials", - "description": "Creates or updates the storage account credentials" + "provider": "Microsoft.DataBoxEdge", + "resource": "storage account credentials" }, "origin": "user" }, { "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccountCredentials/read", "display": { - "provider": "Microsoft.DataBoxEdge", - "resource": "storage account credentials", + "description": "Lists or gets the storage account credentials", "operation": "List storage account credentials", - "description": "Lists or gets the storage account credentials" + "provider": "Microsoft.DataBoxEdge", + "resource": "storage account credentials" }, "origin": "user" }, { "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccountCredentials/read", "display": { - "provider": "Microsoft.DataBoxEdge", - "resource": "storage account credentials", + "description": "Lists or gets the storage account credentials", "operation": "List storage account credentials", - "description": "Lists or gets the storage account credentials" + "provider": "Microsoft.DataBoxEdge", + "resource": "storage account credentials" }, "origin": "user" }, { "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccountCredentials/delete", "display": { - "provider": "Microsoft.DataBoxEdge", - "resource": "storage account credentials", + "description": "Deletes the storage account credentials", "operation": "Delete storage account credentials", - "description": "Deletes the storage account credentials" + "provider": "Microsoft.DataBoxEdge", + "resource": "storage account credentials" }, "origin": "user" }, { "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/alerts/read", "display": { - "provider": "Microsoft.DataBoxEdge", - "resource": "alerts", + "description": "Lists or gets the alerts", "operation": "List alerts", - "description": "Lists or gets the alerts" + "provider": "Microsoft.DataBoxEdge", + "resource": "alerts" }, "origin": "user" }, { "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/alerts/read", "display": { - "provider": "Microsoft.DataBoxEdge", - "resource": "alerts", + "description": "Lists or gets the alerts", "operation": "List alerts", - "description": "Lists or gets the alerts" + "provider": "Microsoft.DataBoxEdge", + "resource": "alerts" }, "origin": "user" }, { "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/providers/Microsoft.Insights/metricDefinitions/read", "display": { - "provider": "Microsoft.DataBoxEdge", - "resource": "Data Box Edge device", + "description": "Gets the available Data Box Edge device level metrics", "operation": "Read Data Box Edge device metric definition", - "description": "Gets the available Data Box Edge device level metrics" + "provider": "Microsoft.DataBoxEdge", + "resource": "Data Box Edge device" }, "origin": "system", "properties": { @@ -416,10 +416,8 @@ "metricSpecifications": [ { "name": "NICReadThroughput", - "displayName": "Read Throughput (Network)", - "displayDescription": "The read throughput of the network interface on the device in the reporting period for all volumes in the gateway.", - "unit": "BytesPerSecond", "aggregationType": "Average", + "category": "Transaction", "dimensions": [ { "name": "InstanceName", @@ -427,25 +425,25 @@ "toBeExportedForShoebox": true } ], + "displayDescription": "The read throughput of the network interface on the device in the reporting period for all volumes in the gateway.", + "displayName": "Read Throughput (Network)", "fillGapWithZero": false, - "category": "Transaction", + "supportedAggregationTypes": [ + "Average", + "Minimum", + "Maximum" + ], "supportedTimeGrainTypes": [ "PT1M", "PT15M", "PT1H" ], - "supportedAggregationTypes": [ - "Average", - "Minimum", - "Maximum" - ] + "unit": "BytesPerSecond" }, { "name": "NICWriteThroughput", - "displayName": "Write Throughput (Network)", - "displayDescription": "The write throughput of the network interface on the device in the reporting period for all volumes in the gateway.", - "unit": "BytesPerSecond", "aggregationType": "Average", + "category": "Transaction", "dimensions": [ { "name": "InstanceName", @@ -453,25 +451,25 @@ "toBeExportedForShoebox": true } ], + "displayDescription": "The write throughput of the network interface on the device in the reporting period for all volumes in the gateway.", + "displayName": "Write Throughput (Network)", "fillGapWithZero": false, - "category": "Transaction", + "supportedAggregationTypes": [ + "Average", + "Minimum", + "Maximum" + ], "supportedTimeGrainTypes": [ "PT1M", "PT15M", "PT1H" ], - "supportedAggregationTypes": [ - "Average", - "Minimum", - "Maximum" - ] + "unit": "BytesPerSecond" }, { "name": "CloudReadThroughputPerShare", - "displayName": "Cloud Download Throughput (Share)", - "displayDescription": "The download throughput to Azure from a share during the reporting period.", - "unit": "BytesPerSecond", "aggregationType": "Average", + "category": "Transaction", "dimensions": [ { "name": "Share", @@ -479,25 +477,25 @@ "toBeExportedForShoebox": true } ], + "displayDescription": "The download throughput to Azure from a share during the reporting period.", + "displayName": "Cloud Download Throughput (Share)", "fillGapWithZero": false, - "category": "Transaction", + "supportedAggregationTypes": [ + "Average", + "Minimum", + "Maximum" + ], "supportedTimeGrainTypes": [ "PT1M", "PT15M", "PT1H" ], - "supportedAggregationTypes": [ - "Average", - "Minimum", - "Maximum" - ] + "unit": "BytesPerSecond" }, { "name": "CloudUploadThroughputPerShare", - "displayName": "Cloud Upload Throughput (Share)", - "displayDescription": "The upload throughput to Azure from a share during the reporting period.", - "unit": "BytesPerSecond", "aggregationType": "Average", + "category": "Transaction", "dimensions": [ { "name": "Share", @@ -505,25 +503,25 @@ "toBeExportedForShoebox": true } ], + "displayDescription": "The upload throughput to Azure from a share during the reporting period.", + "displayName": "Cloud Upload Throughput (Share)", "fillGapWithZero": false, - "category": "Transaction", + "supportedAggregationTypes": [ + "Average", + "Minimum", + "Maximum" + ], "supportedTimeGrainTypes": [ "PT1M", "PT15M", "PT1H" ], - "supportedAggregationTypes": [ - "Average", - "Minimum", - "Maximum" - ] + "unit": "BytesPerSecond" }, { "name": "BytesUploadedToCloudPerShare", - "displayName": "Cloud Bytes Uploaded (Share)", - "displayDescription": "The total number of bytes that is uploaded to Azure from a share during the reporting period.", - "unit": "Bytes", "aggregationType": "Average", + "category": "Transaction", "dimensions": [ { "name": "Share", @@ -531,118 +529,120 @@ "toBeExportedForShoebox": true } ], + "displayDescription": "The total number of bytes that is uploaded to Azure from a share during the reporting period.", + "displayName": "Cloud Bytes Uploaded (Share)", "fillGapWithZero": false, - "category": "Transaction", + "supportedAggregationTypes": [ + "Average", + "Minimum", + "Maximum" + ], "supportedTimeGrainTypes": [ "PT1M", "PT15M", "PT1H" ], - "supportedAggregationTypes": [ - "Average", - "Minimum", - "Maximum" - ] + "unit": "Bytes" }, { "name": "TotalCapacity", - "displayName": "Total Capacity", - "displayDescription": "Total Capacity", - "unit": "Bytes", "aggregationType": "Average", + "category": "Capacity", "dimensions": [], + "displayDescription": "Total Capacity", + "displayName": "Total Capacity", "fillGapWithZero": false, - "category": "Capacity", + "supportedAggregationTypes": [ + "Average", + "Minimum", + "Maximum" + ], "supportedTimeGrainTypes": [ "PT5M", "PT15M", "PT1H" ], - "supportedAggregationTypes": [ - "Average", - "Minimum", - "Maximum" - ] + "unit": "Bytes" }, { "name": "AvailableCapacity", - "displayName": "Available Capacity", - "displayDescription": "The available capacity in bytes during the reporting period.", - "unit": "Bytes", "aggregationType": "Average", + "category": "Capacity", "dimensions": [], + "displayDescription": "The available capacity in bytes during the reporting period.", + "displayName": "Available Capacity", "fillGapWithZero": false, - "category": "Capacity", + "supportedAggregationTypes": [ + "Average", + "Minimum", + "Maximum" + ], "supportedTimeGrainTypes": [ "PT5M", "PT15M", "PT1H" ], - "supportedAggregationTypes": [ - "Average", - "Minimum", - "Maximum" - ] + "unit": "Bytes" }, { "name": "CloudUploadThroughput", - "displayName": "Cloud Upload Throughput", - "displayDescription": "The cloud upload throughput during the reporting period.", - "unit": "BytesPerSecond", "aggregationType": "Average", + "category": "Transaction", "dimensions": [], + "displayDescription": "The cloud upload throughput during the reporting period.", + "displayName": "Cloud Upload Throughput", "fillGapWithZero": false, - "category": "Transaction", + "supportedAggregationTypes": [ + "Average", + "Minimum", + "Maximum" + ], "supportedTimeGrainTypes": [ "PT5M", "PT15M", "PT1H" ], - "supportedAggregationTypes": [ - "Average", - "Minimum", - "Maximum" - ] + "unit": "BytesPerSecond" }, { "name": "CloudReadThroughput", - "displayName": "Cloud Read Throughput", - "displayDescription": "The cloud download throughput during the reporting period.", - "unit": "BytesPerSecond", "aggregationType": "Average", + "category": "Transaction", "dimensions": [], + "displayDescription": "The cloud download throughput during the reporting period.", + "displayName": "Cloud Read Throughput", "fillGapWithZero": false, - "category": "Transaction", + "supportedAggregationTypes": [ + "Average", + "Minimum", + "Maximum" + ], "supportedTimeGrainTypes": [ "PT5M", "PT15M", "PT1H" ], - "supportedAggregationTypes": [ - "Average", - "Minimum", - "Maximum" - ] + "unit": "BytesPerSecond" }, { "name": "BytesUploadedToCloud", - "displayName": "Cloud Bytes Uploaded (Device)", - "displayDescription": "The total number of bytes that is uploaded to Azure from a device during the reporting period.", - "unit": "Bytes", "aggregationType": "Average", + "category": "Transaction", "dimensions": [], + "displayDescription": "The total number of bytes that is uploaded to Azure from a device during the reporting period.", + "displayName": "Cloud Bytes Uploaded (Device)", "fillGapWithZero": false, - "category": "Transaction", + "supportedAggregationTypes": [ + "Average", + "Minimum", + "Maximum" + ], "supportedTimeGrainTypes": [ "PT5M", "PT15M", "PT1H" ], - "supportedAggregationTypes": [ - "Average", - "Minimum", - "Maximum" - ] + "unit": "Bytes" } ] } @@ -651,25 +651,27 @@ { "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/providers/Microsoft.Insights/diagnosticSettings/write", "display": { - "provider": "Microsoft.DataBoxEdge", - "resource": "Data Box Edge device", + "description": "Creates or updates the diagnostics setting for the resource", "operation": "Write diagnostics setting", - "description": "Creates or updates the diagnostics setting for the resource" + "provider": "Microsoft.DataBoxEdge", + "resource": "Data Box Edge device" }, "origin": "system" }, { "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/providers/Microsoft.Insights/diagnosticSettings/read", "display": { - "provider": "Microsoft.DataBoxEdge", - "resource": "Data Box Edge device", + "description": "Gets the diagnostic setting for the resource", "operation": "Read diagnostics setting", - "description": "Gets the diagnostic setting for the resource" + "provider": "Microsoft.DataBoxEdge", + "resource": "Data Box Edge device" }, "origin": "system" } ] } } - } + }, + "operationId": "Operations_List", + "title": "OperationsGet" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/OperationsStatusGet.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/OperationsStatusGet.json index ed577d9c3c66..1eb2bcc83a7c 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/OperationsStatusGet.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/OperationsStatusGet.json @@ -1,31 +1,33 @@ { "parameters": { + "name": "159a00c7-8543-4343-9435-263ac87df3bb", + "accept-language": [ + "en-US" + ], "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", "deviceName": "testedgedevice", - "name": "159a00c7-8543-4343-9435-263ac87df3bb", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "x-ms-client-request-id": [ "a93b39a3-1ff4-42b8-a56f-43368d47e37a" - ], - "accept-language": [ - "en-US" ] }, "responses": { "200": { "body": { - "id": "/subscriptions/id/locations/westus/operationsStatus/159a00c7-8543-4343-9435-263ac87df3bb", "name": "159a00c7-8543-4343-9435-263ac87df3bb", - "status": "Succeeded", - "startTime": "2018-12-18T02:18:51.4270267Z", "endTime": "2018-12-18T03:18:51.4270267Z", + "id": "/subscriptions/id/locations/westus/operationsStatus/159a00c7-8543-4343-9435-263ac87df3bb", "percentComplete": 100, "properties": { - "jobType": "DownloadUpdates", - "currentStage": "Success" - } + "currentStage": "Success", + "jobType": "DownloadUpdates" + }, + "startTime": "2018-12-18T02:18:51.4270267Z", + "status": "Succeeded" } } - } + }, + "operationId": "OperationsStatus_Get", + "title": "OperationsStatusGet" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/OrderDelete.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/OrderDelete.json index f431b87e4aef..6ebd3d1966e3 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/OrderDelete.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/OrderDelete.json @@ -1,14 +1,14 @@ { "parameters": { + "accept-language": [ + "en-US" + ], "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "x-ms-client-request-id": [ "a93b39a3-1ff4-42b8-a56f-43368d47e37a" - ], - "accept-language": [ - "en-US" ] }, "responses": { @@ -19,5 +19,7 @@ } }, "204": {} - } + }, + "operationId": "Orders_Delete", + "title": "OrderDelete" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/OrderGet.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/OrderGet.json index f9d794d6870e..a10acebfed91 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/OrderGet.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/OrderGet.json @@ -1,57 +1,59 @@ { "parameters": { + "accept-language": [ + "en-US" + ], "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "x-ms-client-request-id": [ "a93b39a3-1ff4-42b8-a56f-43368d47e37a" - ], - "accept-language": [ - "en-US" ] }, "responses": { "200": { "body": { - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/orders/default", "name": "default", "type": "dataBoxEdgeDevices/orders", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/orders/default", "properties": { "contactInformation": { - "contactPerson": "John Mcclane", "companyName": "Microsoft", - "phone": "(800) 426-9400", + "contactPerson": "John Mcclane", "emailList": [ "john@microsoft.com" - ] - }, - "shippingAddress": { - "addressLine1": "Microsoft Corporation", - "addressLine2": "One Microsoft Way", - "addressLine3": "Redmond", - "postalCode": "98052", - "city": "WA", - "state": "WA", - "country": "USA" + ], + "phone": "(800) 426-9400" }, "currentStatus": { + "comments": "", "status": "Untracked", - "updateDateTime": "2018-12-10T07:59:05.847Z", - "comments": "" + "updateDateTime": "2018-12-10T07:59:05.847Z" }, + "deliveryTrackingInfo": [], "orderHistory": [ { + "comments": "lorem ipsum", "status": "Untracked", - "updateDateTime": "2018-12-10T07:59:05.847Z", - "comments": "lorem ipsum" + "updateDateTime": "2018-12-10T07:59:05.847Z" } ], + "returnTrackingInfo": [], "serialNumber": "UDS123NSDA123", - "deliveryTrackingInfo": [], - "returnTrackingInfo": [] + "shippingAddress": { + "addressLine1": "Microsoft Corporation", + "addressLine2": "One Microsoft Way", + "addressLine3": "Redmond", + "city": "WA", + "country": "USA", + "postalCode": "98052", + "state": "WA" + } } } } - } + }, + "operationId": "Orders_Get", + "title": "OrderGet" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/OrderGetAllInDevice.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/OrderGetAllInDevice.json index bb6ad8e93377..293e5731477a 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/OrderGetAllInDevice.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/OrderGetAllInDevice.json @@ -1,14 +1,14 @@ { "parameters": { + "accept-language": [ + "en-US" + ], "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "x-ms-client-request-id": [ "a93b39a3-1ff4-42b8-a56f-43368d47e37a" - ], - "accept-language": [ - "en-US" ] }, "responses": { @@ -16,46 +16,48 @@ "body": { "value": [ { - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/orders/default", "name": "default", "type": "dataBoxEdgeDevices/orders", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/orders/default", "properties": { "contactInformation": { - "contactPerson": "John Mcclane", "companyName": "Microsoft", - "phone": "(800) 426-9400", + "contactPerson": "John Mcclane", "emailList": [ "john@microsoft.com" - ] - }, - "shippingAddress": { - "addressLine1": "Microsoft Corporation", - "addressLine2": "One Microsoft Way", - "addressLine3": "Redmond", - "postalCode": "98052", - "city": "WA", - "state": "WA", - "country": "USA" + ], + "phone": "(800) 426-9400" }, "currentStatus": { + "comments": "", "status": "Untracked", - "updateDateTime": "2018-12-10T07:59:05.847Z", - "comments": "" + "updateDateTime": "2018-12-10T07:59:05.847Z" }, + "deliveryTrackingInfo": [], "orderHistory": [ { + "comments": "lorem ipsum", "status": "Untracked", - "updateDateTime": "2018-12-10T07:59:05.847Z", - "comments": "lorem ipsum" + "updateDateTime": "2018-12-10T07:59:05.847Z" } ], + "returnTrackingInfo": [], "serialNumber": "UDS123NSDA123", - "deliveryTrackingInfo": [], - "returnTrackingInfo": [] + "shippingAddress": { + "addressLine1": "Microsoft Corporation", + "addressLine2": "One Microsoft Way", + "addressLine3": "Redmond", + "city": "WA", + "country": "USA", + "postalCode": "98052", + "state": "WA" + } } } ] } } - } + }, + "operationId": "Orders_ListByDataBoxEdgeDevice", + "title": "OrderGetAllInDevice" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/OrderPut.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/OrderPut.json index d6c96b2c14d3..6a19e2724a01 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/OrderPut.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/OrderPut.json @@ -1,85 +1,87 @@ { "parameters": { - "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", - "deviceName": "testedgedevice", - "Content-Type": [ - "application/json; charset=utf-8" - ], "Content-Length": [ "200" ], - "x-ms-client-request-id": [ - "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + "Content-Type": [ + "application/json; charset=utf-8" ], "accept-language": [ "en-US" ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", "order": { "properties": { "contactInformation": { - "contactPerson": "John Mcclane", "companyName": "Microsoft", - "phone": "(800) 426-9400", + "contactPerson": "John Mcclane", "emailList": [ "john@microsoft.com" - ] + ], + "phone": "(800) 426-9400" }, "shippingAddress": { "addressLine1": "Microsoft Corporation", "addressLine2": "One Microsoft Way", "addressLine3": "Redmond", - "postalCode": "98052", "city": "WA", - "state": "WA", - "country": "USA" + "country": "USA", + "postalCode": "98052", + "state": "WA" } } - } + }, + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] }, "responses": { "200": { "body": { - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/orders/default", "name": "default", "type": "dataBoxEdgeDevices/orders", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/orders/default", "properties": { "contactInformation": { - "contactPerson": "John Mcclane", "companyName": "Microsoft", - "phone": "(800) 426-9400", + "contactPerson": "John Mcclane", "emailList": [ "john@microsoft.com" - ] - }, - "shippingAddress": { - "addressLine1": "Microsoft Corporation", - "addressLine2": "One Microsoft Way", - "addressLine3": "Redmond", - "postalCode": "98052", - "city": "WA", - "state": "WA", - "country": "USA" + ], + "phone": "(800) 426-9400" }, "currentStatus": { + "comments": "", "status": "Untracked", - "updateDateTime": "2018-12-10T07:59:05.847Z", - "comments": "" + "updateDateTime": "2018-12-10T07:59:05.847Z" }, + "deliveryTrackingInfo": [], "orderHistory": [ { + "comments": "lorem ipsum", "status": "Untracked", - "updateDateTime": "2018-12-10T07:59:05.847Z", - "comments": "lorem ipsum" + "updateDateTime": "2018-12-10T07:59:05.847Z" } ], + "returnTrackingInfo": [], "serialNumber": "UDS123NSDA123", - "deliveryTrackingInfo": [], - "returnTrackingInfo": [] + "shippingAddress": { + "addressLine1": "Microsoft Corporation", + "addressLine2": "One Microsoft Way", + "addressLine3": "Redmond", + "city": "WA", + "country": "USA", + "postalCode": "98052", + "state": "WA" + } } } }, "202": {} - } + }, + "operationId": "Orders_CreateOrUpdate", + "title": "OrderPut" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/PutAddons.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/PutAddons.json index f8594d78cb5a..59f6eb242219 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/PutAddons.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/PutAddons.json @@ -1,52 +1,54 @@ { "parameters": { - "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", - "deviceName": "testedgedevice", - "roleName": "KubernetesRole", - "addonName": "arcName", + "Content-Length": [ + "200" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "accept-language": [ + "en-US" + ], "addon": { "kind": "ArcForKubernetes", "properties": { - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "resourceGroupName": "GroupForEdgeAutomation", + "resourceLocation": "EastUS", "resourceName": "testedgedevice", - "resourceLocation": "EastUS" + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" } }, - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "200" - ], + "addonName": "arcName", + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "roleName": "KubernetesRole", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "x-ms-client-request-id": [ "a93b39a3-1ff4-42b8-a56f-43368d47e37a" - ], - "accept-language": [ - "en-US" ] }, "responses": { "200": { "body": { + "name": "arcName", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/roles/addons", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourcegroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/addonExamples/roles/kubernetesRole/addons/arcName", + "kind": "ArcForKubernetes", "properties": { - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", - "resourceName": "testedgedevice", - "resourceLocation": "EastUS", - "version": "0.2.18", "hostPlatform": "Linux", "hostPlatformType": "KubernetesCluster", - "provisioningState": "Created" - }, - "kind": "ArcForKubernetes", - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourcegroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/addonExamples/roles/kubernetesRole/addons/arcName", - "name": "arcName", - "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/roles/addons" + "provisioningState": "Created", + "resourceGroupName": "GroupForEdgeAutomation", + "resourceLocation": "EastUS", + "resourceName": "testedgedevice", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "version": "0.2.18" + } } }, "202": {} - } + }, + "operationId": "Addons_CreateOrUpdate", + "title": "PutAddOns" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/PutMonitoringConfig.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/PutMonitoringConfig.json index 223f01c45648..175d8de50c70 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/PutMonitoringConfig.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/PutMonitoringConfig.json @@ -1,17 +1,14 @@ { "parameters": { + "accept-language": [ + "en-US" + ], "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", "deviceName": "testedgedevice", - "roleName": "testrole", "monitoringMetricConfiguration": { "properties": { "metricConfigurations": [ { - "resourceId": "test", - "mdmAccount": "test", - "metricNameSpace": "test", "counterSets": [ { "counters": [ @@ -20,14 +17,17 @@ } ] } - ] + ], + "mdmAccount": "test", + "metricNameSpace": "test", + "resourceId": "test" } ] } }, - "accept-language": [ - "en-US" - ] + "resourceGroupName": "GroupForEdgeAutomation", + "roleName": "testrole", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" }, "responses": { "200": { @@ -36,9 +36,6 @@ "properties": { "metricConfigurations": [ { - "resourceId": "test", - "mdmAccount": "test", - "metricNameSpace": "test", "counterSets": [ { "counters": [ @@ -47,7 +44,10 @@ } ] } - ] + ], + "mdmAccount": "test", + "metricNameSpace": "test", + "resourceId": "test" } ] } @@ -58,5 +58,7 @@ "location": "https://foo.com/BandwidthSchdeuleDelete" } } - } + }, + "operationId": "MonitoringConfig_CreateOrUpdate", + "title": "PutMonitoringConfig" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/RoleDelete.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/RoleDelete.json index 98a4cd6e8342..72b44cac736d 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/RoleDelete.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/RoleDelete.json @@ -1,13 +1,13 @@ { "parameters": { - "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", - "deviceName": "testedgedevice", "name": "IoTRole1", "accept-language": [ "en-US" - ] + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" }, "responses": { "200": {}, @@ -17,5 +17,7 @@ } }, "204": {} - } + }, + "operationId": "Roles_Delete", + "title": "RoleDelete" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/RoleGet.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/RoleGet.json index 700e9dc01467..285f100f2410 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/RoleGet.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/RoleGet.json @@ -1,41 +1,43 @@ { "parameters": { - "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", - "deviceName": "testedgedevice", "name": "IoTRole1", "accept-language": [ "en-US" - ] + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" }, "responses": { "200": { "body": { + "name": "IoTRole1", + "type": "dataBoxEdgeDevices/roles", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/roles/IoTRole1", + "kind": "IOT", "properties": { "hostPlatform": "Linux", "ioTDeviceDetails": { - "deviceId": "iotdevice", - "ioTHostHub": "iothub.azure-devices.net", "authentication": { "symmetricKey": {} - } + }, + "deviceId": "iotdevice", + "ioTHostHub": "iothub.azure-devices.net" }, "ioTEdgeDeviceDetails": { - "deviceId": "iotEdge", - "ioTHostHub": "iothub.azure-devices.net", "authentication": { "symmetricKey": {} - } + }, + "deviceId": "iotEdge", + "ioTHostHub": "iothub.azure-devices.net" }, - "shareMappings": [], - "roleStatus": "Enabled" - }, - "kind": "IOT", - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/roles/IoTRole1", - "name": "IoTRole1", - "type": "dataBoxEdgeDevices/roles" + "roleStatus": "Enabled", + "shareMappings": [] + } } } - } + }, + "operationId": "Roles_Get", + "title": "RoleGet" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/RoleGetAllInDevice.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/RoleGetAllInDevice.json index 7b8f723f58ed..7c7f82049bfe 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/RoleGetAllInDevice.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/RoleGetAllInDevice.json @@ -1,44 +1,46 @@ { "parameters": { - "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", - "deviceName": "testedgedevice", "accept-language": [ "en-US" - ] + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" }, "responses": { "200": { "body": { "value": [ { + "name": "IoTRole1", + "type": "dataBoxEdgeDevices/roles", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/roles/IoTRole1", + "kind": "IOT", "properties": { "hostPlatform": "Linux", "ioTDeviceDetails": { - "deviceId": "iotdevice", - "ioTHostHub": "iothub.azure-devices.net", "authentication": { "symmetricKey": {} - } + }, + "deviceId": "iotdevice", + "ioTHostHub": "iothub.azure-devices.net" }, "ioTEdgeDeviceDetails": { - "deviceId": "iotEdge", - "ioTHostHub": "iothub.azure-devices.net", "authentication": { "symmetricKey": {} - } + }, + "deviceId": "iotEdge", + "ioTHostHub": "iothub.azure-devices.net" }, - "shareMappings": [], - "roleStatus": "Enabled" - }, - "kind": "IOT", - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/roles/IoTRole1", - "name": "IoTRole1", - "type": "dataBoxEdgeDevices/roles" + "roleStatus": "Enabled", + "shareMappings": [] + } } ] } } - } + }, + "operationId": "Roles_ListByDataBoxEdgeDevice", + "title": "RoleGetAllInDevice" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/RoleListAddOns.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/RoleListAddOns.json index 5c09167d6054..4621bd9ea9b1 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/RoleListAddOns.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/RoleListAddOns.json @@ -1,36 +1,38 @@ { "parameters": { + "accept-language": [ + "en-US" + ], "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", "roleName": "IoTRole1", - "accept-language": [ - "en-US" - ] + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" }, "responses": { "200": { "body": { "value": [ { + "name": "arcName", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/roles/addons", + "id": "/subscriptions/0d44739e-0563-474f-97e7-24a0cdb23b29/resourcegroups/prpare/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/addonExamples/roles/kubernetesRole/addons/arcName", + "kind": "ArcForKubernetes", "properties": { - "subscriptionId": "0d44739e-0563-474f-97e7-24a0cdb23b29", - "resourceGroupName": "testrg1", - "resourceName": "testresource1", - "resourceLocation": "EastUS", - "version": "0.2.18", "hostPlatform": "Linux", "hostPlatformType": "KubernetesCluster", - "provisioningState": "Created" - }, - "kind": "ArcForKubernetes", - "id": "/subscriptions/0d44739e-0563-474f-97e7-24a0cdb23b29/resourcegroups/prpare/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/addonExamples/roles/kubernetesRole/addons/arcName", - "name": "arcName", - "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/roles/addons" + "provisioningState": "Created", + "resourceGroupName": "testrg1", + "resourceLocation": "EastUS", + "resourceName": "testresource1", + "subscriptionId": "0d44739e-0563-474f-97e7-24a0cdb23b29", + "version": "0.2.18" + } } ] } } - } + }, + "operationId": "Addons_ListByRole", + "title": "RoleListAddOns" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/RolePut.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/RolePut.json index 4c1037de43f8..df5373263d9c 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/RolePut.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/RolePut.json @@ -1,85 +1,87 @@ { "parameters": { - "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", - "deviceName": "testedgedevice", "name": "IoTRole1", - "Content-Type": [ - "application/json; charset=utf-8" - ], "Content-Length": [ "200" ], - "x-ms-client-request-id": [ - "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + "Content-Type": [ + "application/json; charset=utf-8" ], "accept-language": [ "en-US" ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", "role": { "kind": "IOT", "properties": { "hostPlatform": "Linux", "ioTDeviceDetails": { - "deviceId": "iotdevice", - "ioTHostHub": "iothub.azure-devices.net", "authentication": { "symmetricKey": { "connectionString": { - "value": "Encrypted<>", + "encryptionAlgorithm": "AES256", "encryptionCertThumbprint": "348586569999244", - "encryptionAlgorithm": "AES256" + "value": "Encrypted<>" } } - } + }, + "deviceId": "iotdevice", + "ioTHostHub": "iothub.azure-devices.net" }, "ioTEdgeDeviceDetails": { - "deviceId": "iotEdge", - "ioTHostHub": "iothub.azure-devices.net", "authentication": { "symmetricKey": { "connectionString": { - "value": "Encrypted<>", + "encryptionAlgorithm": "AES256", "encryptionCertThumbprint": "1245475856069999244", - "encryptionAlgorithm": "AES256" + "value": "Encrypted<>" } } - } + }, + "deviceId": "iotEdge", + "ioTHostHub": "iothub.azure-devices.net" }, - "shareMappings": [], - "roleStatus": "Enabled" + "roleStatus": "Enabled", + "shareMappings": [] } - } + }, + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] }, "responses": { "200": { "body": { + "name": "IoTRole1", + "type": "dataBoxEdgeDevices/roles", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/roles/IoTRole1", "kind": "IOT", "properties": { "hostPlatform": "Linux", "ioTDeviceDetails": { - "deviceId": "iotdevice", - "ioTHostHub": "iothub.azure-devices.net", "authentication": { "symmetricKey": {} - } + }, + "deviceId": "iotdevice", + "ioTHostHub": "iothub.azure-devices.net" }, "ioTEdgeDeviceDetails": { - "deviceId": "iotEdge", - "ioTHostHub": "iothub.azure-devices.net", "authentication": { "symmetricKey": {} - } + }, + "deviceId": "iotEdge", + "ioTHostHub": "iothub.azure-devices.net" }, - "shareMappings": [], - "roleStatus": "Enabled" - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/roles/IoTRole1", - "name": "IoTRole1", - "type": "dataBoxEdgeDevices/roles" + "roleStatus": "Enabled", + "shareMappings": [] + } } }, "202": {} - } + }, + "operationId": "Roles_CreateOrUpdate", + "title": "RolePut" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/SACDelete.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/SACDelete.json index 22df0cf597c6..94e467be41d9 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/SACDelete.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/SACDelete.json @@ -1,15 +1,15 @@ { "parameters": { + "name": "sac1", + "accept-language": [ + "en-US" + ], "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", "deviceName": "testedgedevice", - "name": "sac1", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "x-ms-client-request-id": [ "a93b39a3-1ff4-42b8-a56f-43368d47e37a" - ], - "accept-language": [ - "en-US" ] }, "responses": { @@ -20,5 +20,7 @@ } }, "204": {} - } + }, + "operationId": "StorageAccountCredentials_Delete", + "title": "SACDelete" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/SACGet.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/SACGet.json index 8c4f13d80735..85618fcbf8fc 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/SACGet.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/SACGet.json @@ -1,30 +1,32 @@ { "parameters": { + "name": "sac1", + "accept-language": [ + "en-US" + ], "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", "deviceName": "testedgedevice", - "name": "sac1", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "x-ms-client-request-id": [ "a93b39a3-1ff4-42b8-a56f-43368d47e37a" - ], - "accept-language": [ - "en-US" ] }, "responses": { "200": { "body": { + "name": "sac1", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccountCredentials", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccountCredentials/sac1", "properties": { + "accountType": "BlobStorage", "alias": "sac1", - "userName": "cisbvt", "sslStatus": "Disabled", - "accountType": "BlobStorage" - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccountCredentials/sac1", - "name": "sac1", - "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccountCredentials" + "userName": "cisbvt" + } } } - } + }, + "operationId": "StorageAccountCredentials_Get", + "title": "SACGet" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/SACGetAllInDevice.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/SACGetAllInDevice.json index b119b181cf1b..e5eaa403b97e 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/SACGetAllInDevice.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/SACGetAllInDevice.json @@ -1,14 +1,14 @@ { "parameters": { + "accept-language": [ + "en-US" + ], "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "x-ms-client-request-id": [ "a93b39a3-1ff4-42b8-a56f-43368d47e37a" - ], - "accept-language": [ - "en-US" ] }, "responses": { @@ -16,29 +16,31 @@ "body": { "value": [ { + "name": "sac1128180128323", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccountCredentials", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccountCredentials/sac1128180128323", "properties": { + "accountType": "GeneralPurposeStorage", "alias": "sac1128180128323", - "userName": "cisbvt", "sslStatus": "Disabled", - "accountType": "GeneralPurposeStorage" - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccountCredentials/sac1128180128323", - "name": "sac1128180128323", - "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccountCredentials" + "userName": "cisbvt" + } }, { + "name": "sac1128180128312", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccountCredentials", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccountCredentials/sac1128180128312", "properties": { + "accountType": "BlobStorage", "alias": "sac1128180128312", - "userName": "cisbvt", "sslStatus": "Disabled", - "accountType": "BlobStorage" - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccountCredentials/sac1128180128312", - "name": "sac1128180128312", - "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccountCredentials" + "userName": "cisbvt" + } } ] } } - } + }, + "operationId": "StorageAccountCredentials_ListByDataBoxEdgeDevice", + "title": "SACGetAllInDevice" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/SACPut.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/SACPut.json index 8b3504e23c6b..75c88f581ebe 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/SACPut.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/SACPut.json @@ -1,50 +1,52 @@ { "parameters": { - "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", - "deviceName": "testedgedevice", "name": "sac1", - "Content-Type": [ - "application/json; charset=utf-8" - ], "Content-Length": [ "200" ], - "x-ms-client-request-id": [ - "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + "Content-Type": [ + "application/json; charset=utf-8" ], "accept-language": [ "en-US" ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", "storageAccountCredential": { "properties": { - "alias": "sac1", - "userName": "cisbvt", "accountKey": { - "value": "lAeZEYi6rNP1/EyNaVUYmTSZEYyaIaWmwUsGwek0+xiZj54GM9Ue9/UA2ed/ClC03wuSit2XzM/cLRU5eYiFBwks23rGwiQOr3sruEL2a74EjPD050xYjA6M1I2hu/w2yjVHhn5j+DbXS4Xzi+rHHNZK3DgfDO3PkbECjPck+PbpSBjy9+6Mrjcld5DIZhUAeMlMHrFlg+WKRKB14o/og56u5/xX6WKlrMLEQ+y6E18dUwvWs2elTNoVO8PBE8SM/CfooX4AMNvaNdSObNBPdP+F6Lzc556nFNWXrBLRt0vC7s9qTiVRO4x/qCNaK/B4y7IqXMllwQFf4Np9UQ2ECA==", + "encryptionAlgorithm": "AES256", "encryptionCertThumbprint": "2A9D8D6BE51574B5461230AEF02F162C5F01AD31", - "encryptionAlgorithm": "AES256" + "value": "lAeZEYi6rNP1/EyNaVUYmTSZEYyaIaWmwUsGwek0+xiZj54GM9Ue9/UA2ed/ClC03wuSit2XzM/cLRU5eYiFBwks23rGwiQOr3sruEL2a74EjPD050xYjA6M1I2hu/w2yjVHhn5j+DbXS4Xzi+rHHNZK3DgfDO3PkbECjPck+PbpSBjy9+6Mrjcld5DIZhUAeMlMHrFlg+WKRKB14o/og56u5/xX6WKlrMLEQ+y6E18dUwvWs2elTNoVO8PBE8SM/CfooX4AMNvaNdSObNBPdP+F6Lzc556nFNWXrBLRt0vC7s9qTiVRO4x/qCNaK/B4y7IqXMllwQFf4Np9UQ2ECA==" }, + "accountType": "BlobStorage", + "alias": "sac1", "sslStatus": "Disabled", - "accountType": "BlobStorage" + "userName": "cisbvt" } - } + }, + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] }, "responses": { "200": { "body": { + "name": "sac1", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccountCredentials", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccountCredentials/sac1", "properties": { + "accountType": "BlobStorage", "alias": "sac1", - "userName": "cisbvt", "sslStatus": "Disabled", - "accountType": "BlobStorage" - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccountCredentials/sac1", - "name": "sac1", - "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccountCredentials" + "userName": "cisbvt" + } } }, "202": {} - } + }, + "operationId": "StorageAccountCredentials_CreateOrUpdate", + "title": "SACPut" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/ScanForUpdatesPost.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/ScanForUpdatesPost.json index 9b1b00d91e52..a2ec7c0cac38 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/ScanForUpdatesPost.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/ScanForUpdatesPost.json @@ -1,20 +1,20 @@ { "parameters": { - "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", - "deviceName": "testedgedevice", - "Content-Type": [ - "application/json; charset=utf-8" - ], "Content-Length": [ "200" ], - "x-ms-client-request-id": [ - "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + "Content-Type": [ + "application/json; charset=utf-8" ], "accept-language": [ "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" ] }, "responses": { @@ -24,5 +24,7 @@ "location": "https://foo.com/BandwidthSchdeuleDelete" } } - } + }, + "operationId": "Devices_ScanForUpdates", + "title": "ScanForUpdatesPost" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/SecuritySettingsUpdatePost.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/SecuritySettingsUpdatePost.json index 45d81badceff..0cee2f569561 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/SecuritySettingsUpdatePost.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/SecuritySettingsUpdatePost.json @@ -1,30 +1,30 @@ { "parameters": { - "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "AzureVM", - "deviceName": "testedgedevice", - "Content-Type": [ - "application/json; charset=utf-8" - ], "Content-Length": [ "200" ], - "x-ms-client-request-id": [ - "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + "Content-Type": [ + "application/json; charset=utf-8" ], "accept-language": [ "en-US" ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "AzureVM", "securitySettings": { "properties": { "deviceAdminPassword": { - "value": "", "encryptionAlgorithm": "AES256", - "encryptionCertThumbprint": "" + "encryptionCertThumbprint": "", + "value": "" } } - } + }, + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] }, "responses": { "202": { @@ -33,5 +33,7 @@ } }, "204": {} - } + }, + "operationId": "Devices_CreateOrUpdateSecuritySettings", + "title": "CreateOrUpdateSecuritySettings" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/ShareDelete.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/ShareDelete.json index 7700053efcb0..666e4f865f84 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/ShareDelete.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/ShareDelete.json @@ -1,15 +1,15 @@ { "parameters": { + "name": "smbshare", + "accept-language": [ + "en-US" + ], "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", "deviceName": "testedgedevice", - "name": "smbshare", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "x-ms-client-request-id": [ "a93b39a3-1ff4-42b8-a56f-43368d47e37a" - ], - "accept-language": [ - "en-US" ] }, "responses": { @@ -20,5 +20,7 @@ } }, "204": {} - } + }, + "operationId": "Shares_Delete", + "title": "ShareDelete" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/ShareGet.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/ShareGet.json index 7fab33f349e0..c44fe39000f5 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/ShareGet.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/ShareGet.json @@ -1,45 +1,47 @@ { "parameters": { + "name": "smbshare", + "accept-language": [ + "en-US" + ], "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", "deviceName": "testedgedevice", - "name": "smbshare", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "x-ms-client-request-id": [ "a93b39a3-1ff4-42b8-a56f-43368d47e37a" - ], - "accept-language": [ - "en-US" ] }, "responses": { "200": { "body": { + "name": "smbshare", + "type": "dataBoxEdgeDevices/shares", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/shares/smbshare", "properties": { "description": "", - "shareStatus": "Online", - "monitoringStatus": "Disabled", + "accessProtocol": "SMB", "azureContainerInfo": { - "storageAccountCredentialId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccountCredentials/sac1", "containerName": "testContainerSMB", - "dataFormat": "BlockBlob" + "dataFormat": "BlockBlob", + "storageAccountCredentialId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccountCredentials/sac1" }, - "accessProtocol": "SMB", - "userAccessRights": [ - { - "userId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/users/user2", - "accessType": "Change" - } - ], "clientAccessRights": [], + "dataPolicy": "Cloud", + "monitoringStatus": "Disabled", "refreshDetails": {}, "shareMappings": [], - "dataPolicy": "Cloud" - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/shares/smbshare", - "name": "smbshare", - "type": "dataBoxEdgeDevices/shares" + "shareStatus": "Online", + "userAccessRights": [ + { + "accessType": "Change", + "userId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/users/user2" + } + ] + } } } - } + }, + "operationId": "Shares_Get", + "title": "ShareGet" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/ShareGetAllInDevice.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/ShareGetAllInDevice.json index a66e2bf1e147..14613ea2728c 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/ShareGetAllInDevice.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/ShareGetAllInDevice.json @@ -1,14 +1,14 @@ { "parameters": { + "accept-language": [ + "en-US" + ], "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "x-ms-client-request-id": [ "a93b39a3-1ff4-42b8-a56f-43368d47e37a" - ], - "accept-language": [ - "en-US" ] }, "responses": { @@ -16,33 +16,35 @@ "body": { "value": [ { + "name": "smbshare", + "type": "dataBoxEdgeDevices/shares", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/shares/smbshare", "properties": { "description": "", - "shareStatus": "Online", - "monitoringStatus": "Disabled", + "accessProtocol": "SMB", "azureContainerInfo": { - "storageAccountCredentialId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccountCredentials/sac1", "containerName": "testContainerSMB", - "dataFormat": "BlockBlob" + "dataFormat": "BlockBlob", + "storageAccountCredentialId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccountCredentials/sac1" }, - "accessProtocol": "SMB", - "userAccessRights": [ - { - "userId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/users/user2", - "accessType": "Change" - } - ], "clientAccessRights": [], + "dataPolicy": "Cloud", + "monitoringStatus": "Disabled", "refreshDetails": {}, "shareMappings": [], - "dataPolicy": "Cloud" - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/shares/smbshare", - "name": "smbshare", - "type": "dataBoxEdgeDevices/shares" + "shareStatus": "Online", + "userAccessRights": [ + { + "accessType": "Change", + "userId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/users/user2" + } + ] + } } ] } } - } + }, + "operationId": "Shares_ListByDataBoxEdgeDevice", + "title": "ShareGetAllInDevice" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/SharePut.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/SharePut.json index a767101adeff..7068f80460d1 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/SharePut.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/SharePut.json @@ -1,72 +1,74 @@ { "parameters": { - "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", - "deviceName": "testedgedevice", "name": "smbshare", - "Content-Type": [ - "application/json; charset=utf-8" - ], "Content-Length": [ "200" ], - "x-ms-client-request-id": [ - "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + "Content-Type": [ + "application/json; charset=utf-8" ], "accept-language": [ "en-US" ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", "share": { "properties": { "description": "", - "shareStatus": "Online", - "monitoringStatus": "Enabled", + "accessProtocol": "SMB", "azureContainerInfo": { - "storageAccountCredentialId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccountCredentials/sac1", "containerName": "testContainerSMB", - "dataFormat": "BlockBlob" + "dataFormat": "BlockBlob", + "storageAccountCredentialId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccountCredentials/sac1" }, - "accessProtocol": "SMB", + "dataPolicy": "Cloud", + "monitoringStatus": "Enabled", + "shareStatus": "Online", "userAccessRights": [ { - "userId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/users/user2", - "accessType": "Change" + "accessType": "Change", + "userId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/users/user2" } - ], - "dataPolicy": "Cloud" + ] } - } + }, + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] }, "responses": { "200": { "body": { + "name": "smbshare", + "type": "dataBoxEdgeDevices/shares", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/shares/smbshare", "properties": { "description": "", - "shareStatus": "Online", - "monitoringStatus": "Disabled", + "accessProtocol": "SMB", "azureContainerInfo": { - "storageAccountCredentialId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccountCredentials/sac1", "containerName": "testContainerSMB", - "dataFormat": "BlockBlob" + "dataFormat": "BlockBlob", + "storageAccountCredentialId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccountCredentials/sac1" }, - "accessProtocol": "SMB", - "userAccessRights": [ - { - "userId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/users/user2", - "accessType": "Change" - } - ], "clientAccessRights": [], + "dataPolicy": "Cloud", + "monitoringStatus": "Disabled", "refreshDetails": {}, "shareMappings": [], - "dataPolicy": "Cloud" - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/shares/smbshare", - "name": "smbshare", - "type": "dataBoxEdgeDevices/shares" + "shareStatus": "Online", + "userAccessRights": [ + { + "accessType": "Change", + "userId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/users/user2" + } + ] + } } }, "202": {} - } + }, + "operationId": "Shares_CreateOrUpdate", + "title": "SharePut" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/ShareRefreshPost.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/ShareRefreshPost.json index 76bcaa619626..4e1bf0d7514d 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/ShareRefreshPost.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/ShareRefreshPost.json @@ -1,21 +1,21 @@ { "parameters": { - "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", - "deviceName": "testedgedevice", "name": "smbshare", - "Content-Type": [ - "application/json; charset=utf-8" - ], "Content-Length": [ "200" ], - "x-ms-client-request-id": [ - "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + "Content-Type": [ + "application/json; charset=utf-8" ], "accept-language": [ "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" ] }, "responses": { @@ -25,5 +25,7 @@ "location": "https://foo.com/ShareRefreshPost" } } - } + }, + "operationId": "Shares_Refresh", + "title": "ShareRefreshPost" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/StorageAccountDelete.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/StorageAccountDelete.json index c655102c1fae..d3bdc2b2f3df 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/StorageAccountDelete.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/StorageAccountDelete.json @@ -1,15 +1,15 @@ { "parameters": { + "accept-language": [ + "en-US" + ], "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", "storageAccountName": "storageaccount1", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "x-ms-client-request-id": [ "a93b39a3-1ff4-42b8-a56f-43368d47e37a" - ], - "accept-language": [ - "en-US" ] }, "responses": { @@ -19,5 +19,7 @@ } }, "204": {} - } + }, + "operationId": "StorageAccounts_Delete", + "title": "StorageAccountDelete" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/StorageAccountGet.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/StorageAccountGet.json index aa1726734405..54f8bd8d9d3b 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/StorageAccountGet.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/StorageAccountGet.json @@ -1,29 +1,31 @@ { "parameters": { + "accept-language": [ + "en-US" + ], "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", "storageAccountName": "blobstorageaccount1", - "accept-language": [ - "en-US" - ] + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" }, "responses": { "200": { "body": { + "name": "blobstorageaccount1", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccounts", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForDataBoxEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccounts/blobstorageaccount1", "properties": { "description": "It's an awesome storage account", - "storageAccountStatus": "OK", + "blobEndpoint": "https://blobstorageaccount1.blob.testedge.microsoftdatabox.com/", + "containerCount": 0, "dataPolicy": "Cloud", "storageAccountCredentialId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForDataBoxEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccountCredentials/cisbvt", - "blobEndpoint": "https://blobstorageaccount1.blob.testedge.microsoftdatabox.com/", - "containerCount": 0 - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForDataBoxEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccounts/blobstorageaccount1", - "name": "blobstorageaccount1", - "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccounts" + "storageAccountStatus": "OK" + } } } - } + }, + "operationId": "StorageAccounts_Get", + "title": "StorageAccountGet" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/StorageAccountGetAllInDevice.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/StorageAccountGetAllInDevice.json index e9f91fe8a24c..e4f6de5450f0 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/StorageAccountGetAllInDevice.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/StorageAccountGetAllInDevice.json @@ -1,14 +1,14 @@ { "parameters": { + "accept-language": [ + "en-US" + ], "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "x-ms-client-request-id": [ "a93b39a3-1ff4-42b8-a56f-43368d47e37a" - ], - "accept-language": [ - "en-US" ] }, "responses": { @@ -16,20 +16,22 @@ "body": { "value": [ { + "name": "blobstorageaccount1", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccounts", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForDataBoxEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccounts/blobstorageaccount1", "properties": { "description": "It's an awesome storage account", - "storageAccountStatus": "OK", + "blobEndpoint": "https://blobstorageaccount1.blob.testedge.microsoftdatabox.com/", + "containerCount": 0, "dataPolicy": "Cloud", "storageAccountCredentialId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForDataBoxEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccountCredentials/cisbvt", - "blobEndpoint": "https://blobstorageaccount1.blob.testedge.microsoftdatabox.com/", - "containerCount": 0 - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForDataBoxEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccounts/blobstorageaccount1", - "name": "blobstorageaccount1", - "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccounts" + "storageAccountStatus": "OK" + } } ] } } - } + }, + "operationId": "StorageAccounts_ListByDataBoxEdgeDevice", + "title": "StorageAccountGetAllInDevice" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/StorageAccountPut.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/StorageAccountPut.json index de51854024ef..c7761490f2d3 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/StorageAccountPut.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/StorageAccountPut.json @@ -1,47 +1,49 @@ { "parameters": { - "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", - "deviceName": "testedgedevice", - "storageAccountName": "blobstorageaccount1", - "Content-Type": [ - "application/json; charset=utf-8" - ], "Content-Length": [ "200" ], - "x-ms-client-request-id": [ - "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + "Content-Type": [ + "application/json; charset=utf-8" ], "accept-language": [ "en-US" ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", "storageAccount": { "properties": { "description": "It's an awesome storage account", - "storageAccountStatus": "OK", "dataPolicy": "Cloud", - "storageAccountCredentialId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForDataBoxEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccountCredentials/cisbvt" + "storageAccountCredentialId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForDataBoxEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccountCredentials/cisbvt", + "storageAccountStatus": "OK" } - } + }, + "storageAccountName": "blobstorageaccount1", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] }, "responses": { "200": { "body": { + "name": "blobstorageaccount1", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccounts", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForDataBoxEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccounts/blobstorageaccount1", "properties": { "description": "It's an awesome storage account", - "storageAccountStatus": "OK", + "blobEndpoint": "https://blobstorageaccount1.blob.testedge.microsoftdatabox.com/", + "containerCount": 0, "dataPolicy": "Cloud", "storageAccountCredentialId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForDataBoxEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccountCredentials/cisbvt", - "blobEndpoint": "https://blobstorageaccount1.blob.testedge.microsoftdatabox.com/", - "containerCount": 0 - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForDataBoxEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccounts/blobstorageaccount1", - "name": "blobstorageaccount1", - "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccounts" + "storageAccountStatus": "OK" + } } }, "202": {} - } + }, + "operationId": "StorageAccounts_CreateOrUpdate", + "title": "StorageAccountPut" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/TriggerDelete.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/TriggerDelete.json index 4031c3137ab2..4503405ed630 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/TriggerDelete.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/TriggerDelete.json @@ -1,15 +1,15 @@ { "parameters": { + "name": "trigger1", + "accept-language": [ + "en-US" + ], "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", "deviceName": "testedgedevice", - "name": "trigger1", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "x-ms-client-request-id": [ "a93b39a3-1ff4-42b8-a56f-43368d47e37a" - ], - "accept-language": [ - "en-US" ] }, "responses": { @@ -20,5 +20,7 @@ } }, "204": {} - } + }, + "operationId": "Triggers_Delete", + "title": "TriggerDelete" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/TriggerGet.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/TriggerGet.json index b1aa2740dd62..d9d792add39c 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/TriggerGet.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/TriggerGet.json @@ -1,34 +1,36 @@ { "parameters": { + "name": "trigger1", + "accept-language": [ + "en-US" + ], "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", "deviceName": "testedgedevice", - "name": "trigger1", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "x-ms-client-request-id": [ "a93b39a3-1ff4-42b8-a56f-43368d47e37a" - ], - "accept-language": [ - "en-US" ] }, "responses": { "200": { "body": { + "name": "trigger1", + "type": "dataBoxEdgeDevices/triggers", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/triggers/trigger1", + "kind": "FileEvent", "properties": { "customContextTag": "CustomContextTags-1235346475", - "sourceInfo": { - "shareId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/shares/share1" - }, "sinkInfo": { "roleId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/roles/role1" + }, + "sourceInfo": { + "shareId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/shares/share1" } - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/triggers/trigger1", - "name": "trigger1", - "type": "dataBoxEdgeDevices/triggers", - "kind": "FileEvent" + } } } - } + }, + "operationId": "Triggers_Get", + "title": "TriggerGet" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/TriggerGetAllInDevice.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/TriggerGetAllInDevice.json index 49547dd50790..ef9dc386b520 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/TriggerGetAllInDevice.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/TriggerGetAllInDevice.json @@ -1,14 +1,14 @@ { "parameters": { + "accept-language": [ + "en-US" + ], "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "x-ms-client-request-id": [ "a93b39a3-1ff4-42b8-a56f-43368d47e37a" - ], - "accept-language": [ - "en-US" ] }, "responses": { @@ -16,22 +16,24 @@ "body": { "value": [ { + "name": "trigger1", + "type": "dataBoxEdgeDevices/triggers", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/triggers/trigger1", + "kind": "FileEvent", "properties": { "customContextTag": "CustomContextTags-1235346475", - "sourceInfo": { - "shareId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/shares/share1" - }, "sinkInfo": { "roleId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/roles/role1" + }, + "sourceInfo": { + "shareId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/shares/share1" } - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/triggers/trigger1", - "name": "trigger1", - "type": "dataBoxEdgeDevices/triggers", - "kind": "FileEvent" + } } ] } } - } + }, + "operationId": "Triggers_ListByDataBoxEdgeDevice", + "title": "TriggerGetAllInDevice" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/TriggerPut.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/TriggerPut.json index 9f501b1f88d4..968dcf8c2eff 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/TriggerPut.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/TriggerPut.json @@ -1,53 +1,55 @@ { "parameters": { - "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", - "deviceName": "testedgedevice", "name": "trigger1", - "Content-Type": [ - "application/json; charset=utf-8" - ], "Content-Length": [ "200" ], - "x-ms-client-request-id": [ - "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + "Content-Type": [ + "application/json; charset=utf-8" ], "accept-language": [ "en-US" ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "trigger": { + "kind": "FileEvent", "properties": { "customContextTag": "CustomContextTags-1235346475", - "sourceInfo": { - "shareId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/shares/share1" - }, "sinkInfo": { "roleId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/roles/role1" + }, + "sourceInfo": { + "shareId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/shares/share1" } - }, - "kind": "FileEvent" - } + } + }, + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] }, "responses": { "200": { "body": { + "name": "trigger1", + "type": "dataBoxEdgeDevices/triggers", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/triggers/trigger1", + "kind": "FileEvent", "properties": { "customContextTag": "CustomContextTags-1235346475", - "sourceInfo": { - "shareId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/shares/share1" - }, "sinkInfo": { "roleId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/roles/role1" + }, + "sourceInfo": { + "shareId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/shares/share1" } - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/triggers/trigger1", - "name": "trigger1", - "type": "dataBoxEdgeDevices/triggers", - "kind": "FileEvent" + } } }, "202": {} - } + }, + "operationId": "Triggers_CreateOrUpdate", + "title": "TriggerPut" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/TriggerSupportPackage.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/TriggerSupportPackage.json index 6534772a9e3e..6ee5db6d3aff 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/TriggerSupportPackage.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/TriggerSupportPackage.json @@ -1,23 +1,23 @@ { "parameters": { - "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", - "deviceName": "testedgedevice", "name": "159a00c7-8543-4343-9435-263ac87df3bb", - "x-ms-client-request-id": [ - "a93b39a3-1ff4-42b8-a56f-43368d47e37a" - ], "accept-language": [ "en-US" ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "triggerSupportPackageRequest": { "properties": { - "minimumTimeStamp": "2018-12-18T02:18:51.4270267Z", + "include": "DefaultWithDumps", "maximumTimeStamp": "2018-12-18T02:19:51.4270267Z", - "include": "DefaultWithDumps" + "minimumTimeStamp": "2018-12-18T02:18:51.4270267Z" } - } + }, + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] }, "responses": { "200": {}, @@ -26,5 +26,7 @@ "location": "https://foo.com/TriggerSupportPackage" } } - } + }, + "operationId": "SupportPackages_TriggerSupportPackage", + "title": "TriggerSupportPackage" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/UpdateDiagnosticProactiveLogCollectionSettings.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/UpdateDiagnosticProactiveLogCollectionSettings.json index 4838ce203419..78b4e6808e84 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/UpdateDiagnosticProactiveLogCollectionSettings.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/UpdateDiagnosticProactiveLogCollectionSettings.json @@ -1,33 +1,35 @@ { "parameters": { - "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", - "deviceName": "testedgedevice", "name": "159a00c7-8543-4343-9435-263ac87df3bb", - "x-ms-client-request-id": [ - "a93b39a3-1ff4-42b8-a56f-43368d47e37a" - ], "accept-language": [ "en-US" ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", "proactiveLogCollectionSettings": { "properties": { "userConsent": "Enabled" } - } + }, + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] }, "responses": { - "202": {}, "200": { "body": { + "name": "default", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/diagnosticSettings", + "id": "/subscriptions/0d44739e-0563-474f-97e7-24a0cdb23b29/resourceGroups/GroupForDataBoxEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/dbe-autobot-5428209/diagnosticProactiveLogCollectionSettings/default", "properties": { "userConsent": "Disabled" - }, - "id": "/subscriptions/0d44739e-0563-474f-97e7-24a0cdb23b29/resourceGroups/GroupForDataBoxEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/dbe-autobot-5428209/diagnosticProactiveLogCollectionSettings/default", - "name": "default", - "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/diagnosticSettings" + } } - } - } + }, + "202": {} + }, + "operationId": "DiagnosticSettings_UpdateDiagnosticProactiveLogCollectionSettings", + "title": "UpdateDiagnosticProactiveLogCollectionSettings" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/UpdateDiagnosticRemoteSupportSettings.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/UpdateDiagnosticRemoteSupportSettings.json index 1d95bdd771ed..ff3ce35e00a5 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/UpdateDiagnosticRemoteSupportSettings.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/UpdateDiagnosticRemoteSupportSettings.json @@ -1,16 +1,11 @@ { "parameters": { - "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", - "deviceName": "testedgedevice", "name": "159a00c7-8543-4343-9435-263ac87df3bb", - "x-ms-client-request-id": [ - "a93b39a3-1ff4-42b8-a56f-43368d47e37a" - ], "accept-language": [ "en-US" ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", "diagnosticRemoteSupportSettings": { "properties": { "remoteSupportSettingsList": [ @@ -21,25 +16,32 @@ } ] } - } + }, + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] }, "responses": { - "202": {}, "200": { "body": { + "name": "default", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/diagnosticSettings", + "id": "/subscriptions/0d44739e-0563-474f-97e7-24a0cdb23b29/resourceGroups/GroupForDataBoxEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/dbe-autobot-154c8a4/diagnosticRemoteSupportSettings/default", "properties": { "remoteSupportSettingsList": [ { - "remoteApplicationType": "Powershell", "accessLevel": "ReadWrite", - "expirationTimeStampInUTC": "2500-09-14T00:00:00+00:00" + "expirationTimeStampInUTC": "2500-09-14T00:00:00+00:00", + "remoteApplicationType": "Powershell" } ] - }, - "id": "/subscriptions/0d44739e-0563-474f-97e7-24a0cdb23b29/resourceGroups/GroupForDataBoxEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/dbe-autobot-154c8a4/diagnosticRemoteSupportSettings/default", - "name": "default", - "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/diagnosticSettings" + } } - } - } + }, + "202": {} + }, + "operationId": "DiagnosticSettings_UpdateDiagnosticRemoteSupportSettings", + "title": "UpdateDiagnosticRemoteSupportSettings" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/UpdateSummaryGet.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/UpdateSummaryGet.json index 1910da5cca95..b5d391b61270 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/UpdateSummaryGet.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/UpdateSummaryGet.json @@ -1,45 +1,47 @@ { "parameters": { - "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", - "deviceName": "testedgedevice", - "x-ms-client-request-id": [ - "a93b39a3-1ff4-42b8-a56f-43368d47e37a" - ], "accept-language": [ "en-US" ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", "parameters": { "properties": { "certificate": "MIIC9DCCAdygAwIBAgIQWJae7GNjiI9Mcv/gJyrOPTANBgkqhkiG9w0BAQUFADASMRAwDgYDVQQDDAdXaW5kb3dzMB4XDTE4MTEyNzAwMTA0NVoXDTIxMTEyODAwMTA0NVowEjEQMA4GA1UEAwwHV2luZG93czCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKxkRExqxf0qH1avnyORptIbRC2yQwqe3EIbJ2FPKr5jtAppGeX/dGKrFSnX+7/0HFr77aJHafdpEAtOiLyJ4zCAVs0obZCCIq4qJdmjYUTU0UXH/w/YzXfQA0d9Zh9AN+NJBX9xj05NzgsT24fkgsK2v6mWJQXT7YcWAsl5sEYPnx1e+MrupNyVSL/RUJmrS+etJSysHtFeWRhsUhVAs1DD5ExJvBLU3WH0IsojEvpXcjrutB5/MDQNrd/StGI6WovoSSPH7FyT9tgERx+q+Yg3YUGzfaIPCctlrRGehcdtzdNoKd0rsX62yCq0U6POoSfwe22NJu41oAUMd7e6R8cCAwEAAaNGMEQwEwYDVR0lBAwwCgYIKwYBBQUHAwIwHQYDVR0OBBYEFDd0VxnS3LnMIfwc7xW4b4IZWG5GMA4GA1UdDwEB/wQEAwIFIDANBgkqhkiG9w0BAQUFAAOCAQEAPQRby2u9celvtvL/DLEb5Vt3/tPStRQC5MyTD62L5RT/q8E6EMCXVZNkXF5WlWucLJi/18tY+9PNgP9xWLJh7kpSWlWdi9KPtwMqKDlEH8L2TnQdjimt9XuiCrTnoFy/1X2BGLY/rCaUJNSd15QCkz2xeW+Z+YSk2GwAc/A/4YfNpqSIMfNuPrT76o02VdD9WmJUA3fS/HY0sU9qgQRS/3F5/0EPS+HYQ0SvXCK9tggcCd4O050ytNBMJC9qMOJ7yE0iOrFfOJSCfDAuPhn/rHFh79Kn1moF+/CE+nc0/2RPiLC8r54/rt5dYyyxJDfXg0a3VrrX39W69WZGW5OXiw==" } - } + }, + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] }, "responses": { "200": { "body": { + "name": "default", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/updateSummary", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/updateSummary/default", "properties": { + "deviceLastScannedDateTime": "2021-03-17T19:51:51.7864634Z", "deviceVersionNumber": "2.1.1377.2170", "friendlyDeviceVersionName": "Azure Stack Edge 2010", - "deviceLastScannedDateTime": "2021-03-17T19:51:51.7864634Z", "lastCompletedScanJobDateTime": "2021-03-17T19:47:46.1595547Z", "lastDownloadJobStatus": "Invalid", "lastInstallJobStatus": "Invalid", + "ongoingUpdateOperation": "Install", + "rebootBehavior": "NeverReboots", "totalNumberOfUpdatesAvailable": 1, "totalNumberOfUpdatesPendingDownload": 1, "totalNumberOfUpdatesPendingInstall": 1, - "rebootBehavior": "NeverReboots", - "ongoingUpdateOperation": "Install", + "totalUpdateSizeInBytes": 4260898192, "updateTitles": [ "Azure Stack Edge Update 2101 Package 1 of 2 for Pro-GPU, Pro R, Mini R" - ], - "totalUpdateSizeInBytes": 4260898192.0 - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/updateSummary/default", - "name": "default", - "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/updateSummary" + ] + } } } - } + }, + "operationId": "Devices_GetUpdateSummary", + "title": "UpdateSummaryGet" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/UploadCertificatePost.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/UploadCertificatePost.json index 516d9f36fa4d..b05bf4f4b13f 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/UploadCertificatePost.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/UploadCertificatePost.json @@ -1,38 +1,40 @@ { "parameters": { - "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", - "deviceName": "testedgedevice", - "Content-Type": [ - "application/json; charset=utf-8" - ], "Content-Length": [ "200" ], - "x-ms-client-request-id": [ - "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + "Content-Type": [ + "application/json; charset=utf-8" ], "accept-language": [ "en-US" ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", "parameters": { "properties": { "certificate": "MIIC9DCCAdygAwIBAgIQWJae7GNjiI9Mcv/gJyrOPTANBgkqhkiG9w0BAQUFADASMRAwDgYDVQQDDAdXaW5kb3dzMB4XDTE4MTEyNzAwMTA0NVoXDTIxMTEyODAwMTA0NVowEjEQMA4GA1UEAwwHV2luZG93czCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKxkRExqxf0qH1avnyORptIbRC2yQwqe3EIbJ2FPKr5jtAppGeX/dGKrFSnX+7/0HFr77aJHafdpEAtOiLyJ4zCAVs0obZCCIq4qJdmjYUTU0UXH/w/YzXfQA0d9Zh9AN+NJBX9xj05NzgsT24fkgsK2v6mWJQXT7YcWAsl5sEYPnx1e+MrupNyVSL/RUJmrS+etJSysHtFeWRhsUhVAs1DD5ExJvBLU3WH0IsojEvpXcjrutB5/MDQNrd/StGI6WovoSSPH7FyT9tgERx+q+Yg3YUGzfaIPCctlrRGehcdtzdNoKd0rsX62yCq0U6POoSfwe22NJu41oAUMd7e6R8cCAwEAAaNGMEQwEwYDVR0lBAwwCgYIKwYBBQUHAwIwHQYDVR0OBBYEFDd0VxnS3LnMIfwc7xW4b4IZWG5GMA4GA1UdDwEB/wQEAwIFIDANBgkqhkiG9w0BAQUFAAOCAQEAPQRby2u9celvtvL/DLEb5Vt3/tPStRQC5MyTD62L5RT/q8E6EMCXVZNkXF5WlWucLJi/18tY+9PNgP9xWLJh7kpSWlWdi9KPtwMqKDlEH8L2TnQdjimt9XuiCrTnoFy/1X2BGLY/rCaUJNSd15QCkz2xeW+Z+YSk2GwAc/A/4YfNpqSIMfNuPrT76o02VdD9WmJUA3fS/HY0sU9qgQRS/3F5/0EPS+HYQ0SvXCK9tggcCd4O050ytNBMJC9qMOJ7yE0iOrFfOJSCfDAuPhn/rHFh79Kn1moF+/CE+nc0/2RPiLC8r54/rt5dYyyxJDfXg0a3VrrX39W69WZGW5OXiw==" } - } + }, + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] }, "responses": { "200": { "body": { - "authType": "AzureActiveDirectory", - "resourceId": "392799901267771", "aadAuthority": "https://login.windows.net", "aadTenantId": "100b019d-4626-4a9e-a83c-9cff8fe41909", + "authType": "AzureActiveDirectory", + "azureManagementEndpointAudience": "https://wus-bvtgateway.ext.trafficmanager.net/", + "resourceId": "392799901267771", "servicePrincipalClientId": "ffd8a688-82b1-4e5a-a4c1-7ede8c928e68", - "servicePrincipalObjectId": "cef6d40c-24e6-4a6f-bb9e-3ec60b4adec4", - "azureManagementEndpointAudience": "https://wus-bvtgateway.ext.trafficmanager.net/" + "servicePrincipalObjectId": "cef6d40c-24e6-4a6f-bb9e-3ec60b4adec4" } } - } + }, + "operationId": "Devices_UploadCertificate", + "title": "UploadCertificatePost" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/UserDelete.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/UserDelete.json index 49fb4e7a9f7b..6acef61f0f8e 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/UserDelete.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/UserDelete.json @@ -1,21 +1,21 @@ { "parameters": { - "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", - "deviceName": "testedgedevice", "name": "user1", - "Content-Type": [ - "application/json; charset=utf-8" - ], "Content-Length": [ "200" ], - "x-ms-client-request-id": [ - "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + "Content-Type": [ + "application/json; charset=utf-8" ], "accept-language": [ "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" ] }, "responses": { @@ -26,5 +26,7 @@ } }, "204": {} - } + }, + "operationId": "Users_Delete", + "title": "UserDelete" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/UserGet.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/UserGet.json index c8032c68ac55..5f5254efb6de 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/UserGet.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/UserGet.json @@ -1,28 +1,30 @@ { "parameters": { + "name": "user1", + "accept-language": [ + "en-US" + ], "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", "deviceName": "testedgedevice", - "name": "user1", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "x-ms-client-request-id": [ "a93b39a3-1ff4-42b8-a56f-43368d47e37a" - ], - "accept-language": [ - "en-US" ] }, "responses": { "200": { + "202": {}, "body": { + "name": "user1", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/users", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/users/user1", "properties": { "userType": "Share" - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/users/user1", - "name": "user1", - "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/users" - }, - "202": {} + } + } } - } + }, + "operationId": "Users_Get", + "title": "UserGet" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/UserGetAllInDevice.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/UserGetAllInDevice.json index 7363eaa1c297..b3032471d4c3 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/UserGetAllInDevice.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/UserGetAllInDevice.json @@ -1,14 +1,14 @@ { "parameters": { + "accept-language": [ + "en-US" + ], "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "x-ms-client-request-id": [ "a93b39a3-1ff4-42b8-a56f-43368d47e37a" - ], - "accept-language": [ - "en-US" ] }, "responses": { @@ -16,23 +16,25 @@ "body": { "value": [ { + "name": "user2", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/users", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/users/user2", "properties": { "userType": "Share" - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/users/user2", - "name": "user2", - "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/users" + } }, { + "name": "user1", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/users", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/users/user1", "properties": { "userType": "Share" - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/users/user1", - "name": "user1", - "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/users" + } } ] } } - } + }, + "operationId": "Users_ListByDataBoxEdgeDevice", + "title": "UserGetAllInDevice" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/UserPut.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/UserPut.json index 28ab157f662f..084d0aa12d2c 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/UserPut.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/UserPut.json @@ -1,44 +1,46 @@ { "parameters": { - "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", - "deviceName": "testedgedevice", "name": "user1", - "Content-Type": [ - "application/json; charset=utf-8" - ], "Content-Length": [ "200" ], - "x-ms-client-request-id": [ - "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + "Content-Type": [ + "application/json; charset=utf-8" ], "accept-language": [ "en-US" ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "user": { "properties": { "encryptedPassword": { - "value": "", "encryptionAlgorithm": "None", - "encryptionCertThumbprint": "blah" + "encryptionCertThumbprint": "blah", + "value": "" }, "userType": "Share" } - } + }, + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] }, "responses": { "200": { "body": { + "name": "user1", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/users", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/users/user1", "properties": { "userType": "Share" - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/users/user1", - "name": "user1", - "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/users" + } } }, "202": {} - } + }, + "operationId": "Users_CreateOrUpdate", + "title": "UserPut" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/suppressions.yaml b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/suppressions.yaml index 6bb87fbad61d..1d6b9ee995c5 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/suppressions.yaml +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/suppressions.yaml @@ -49,7 +49,4 @@ reason: Brownfield service not ready to migrate - tool: TypeSpecRequirement path: ./stable/2023-07-01/*.json - reason: Brownfield service not ready to migrate -- tool: TypeSpecRequirement - path: ./stable/2023-12-01/*.json reason: Brownfield service not ready to migrate \ No newline at end of file diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/tspconfig.yaml b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/tspconfig.yaml new file mode 100644 index 000000000000..a6c4ad51f866 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/tspconfig.yaml @@ -0,0 +1,45 @@ +parameters: + "service-dir": + default: "sdk/databoxedge" +emit: + - "@azure-tools/typespec-autorest" +options: + "@azure-tools/typespec-autorest": + omit-unreachable-types: true + emitter-output-dir: "{project-root}" + azure-resource-provider-folder: "resource-manager" + output-file: "{version-status}/{version}/databoxedge.json" + arm-types-dir: "{project-root}/../../../../common-types/resource-management" + emit-lro-options: "all" + examples-dir: "{project-root}/examples" + "@azure-tools/typespec-python": + emitter-output-dir: "{output-dir}/{service-dir}/azure-mgmt-databoxedge" + namespace: "azure.mgmt.databoxedge" + generate-test: true + generate-sample: true + flavor: "azure" + "@azure-tools/typespec-java": + emitter-output-dir: "{output-dir}/{service-dir}/azure-resourcemanager-databoxedge" + namespace: "com.azure.resourcemanager.databoxedge" + service-name: "DataBoxEdge" # human-readable service name, whitespace allowed + flavor: azure + "@azure-tools/typespec-ts": + emitter-output-dir: "{output-dir}/{service-dir}/arm-databoxedge" + is-modular-library: true + flavor: "azure" + experimental-extensible-enums: true + package-details: + name: "@azure/arm-databoxedge" + "@azure-tools/typespec-go": + service-dir: "sdk/resourcemanager/databoxedge" + emitter-output-dir: "{output-dir}/{service-dir}/armdataboxedge" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armdataboxedge" + fix-const-stuttering: false + flavor: "azure" + generate-samples: true + generate-fakes: true + head-as-boolean: true + inject-spans: true +linter: + extends: + - "@azure-tools/typespec-azure-rulesets/resource-manager"