openapi-directory
Version:
Building & bundling https://github.com/APIs-guru/openapi-directory for easy use from JS
1 lines • 91.9 kB
JSON
{"openapi":"3.0.0","info":{"description":"The Admin Storage Management Client.","title":"StorageManagementClient","version":"2015-12-01-preview","x-apisguru-categories":["cloud"],"x-logo":{"url":"https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png"},"x-origin":[{"format":"swagger","url":"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2015-12-01/farms.json","version":"2.0"}],"x-providerName":"azure.com","x-serviceName":"azsadmin-farms","x-tags":["Azure","Microsoft"]},"security":[{"azure_auth":["user_impersonation"]}],"paths":{"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Storage.Admin/farms":{"get":{"description":"Returns a list of all storage farms.","operationId":"Farms_List","parameters":[{"description":"Subscription Id.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string"},"examples":{"Returns a list of all storage farms.":{"value":"9ad61516-995c-4873-a21f-7e44904f0ed2"}}},{"description":"Resource group name.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"Returns a list of all storage farms.":{"value":"System.local"}}},{"description":"REST Api Version.","in":"query","name":"api-version","required":true,"schema":{"type":"string"},"examples":{"Returns a list of all storage farms.":{"value":"2015-12-01-preview"}}}],"responses":{"200":{"description":"OK -- The list of storage farms has been returned.","content":{"application/json":{"schema":{"description":"Pageable list of storage farms.","properties":{"nextLink":{"description":"URI to the next page.","readOnly":true,"type":"string"},"value":{"description":"List of storage farms.","items":{"allOf":[{"description":"Base resource object.","properties":{"id":{"description":"Resource ID.","readOnly":true,"type":"string"},"location":{"description":"Resource location.","readOnly":true,"type":"string"},"name":{"description":"Resource Name.","readOnly":true,"type":"string"},"tags":{"additionalProperties":{"type":"string"},"description":"Resource tags.","readOnly":true,"type":"object"},"type":{"description":"Resource type.","readOnly":true,"type":"string"}},"type":"object","x-ms-azure-resource":true}],"description":"Storage farm.","properties":{"properties":{"description":"The properties of storage farm.","properties":{"farmId":{"description":"Farm identifier.","readOnly":true,"type":"string"},"settings":{"description":"Storage farm settings.","properties":{"bandwidthThrottleIsEnabled":{"description":"Switch of bandwidth throttle enablement.","readOnly":true,"type":"boolean"},"corsAllowedOriginsList":{"description":"The list of allowed origins.","readOnly":true,"type":"string"},"dataCenterUriHostSuffixes":{"description":"The suffixes of URI of hosts in data center.","readOnly":true,"type":"string"},"defaultEgressThresholdInGbps":{"description":"Default egress threshold (in Gbps).","format":"float","readOnly":true,"type":"number"},"defaultIngressThresholdInGbps":{"description":"Default ingress threshold (in Gbps).","format":"float","readOnly":true,"type":"number"},"defaultIntranetEgressThresholdInGbps":{"description":"Default Intranet egress threshold (in Gbps).","format":"float","readOnly":true,"type":"number"},"defaultIntranetIngressThresholdInGbps":{"description":"Default Intranet ingress threshold (in Gbps).","format":"float","readOnly":true,"type":"number"},"defaultRequestThresholdInTps":{"description":"Default request threshold (in TPS).","format":"float","readOnly":true,"type":"number"},"defaultThrottleProbabilityDecayIntervalInSeconds":{"description":"Interval (in seconds) of default throttle probability decay.","format":"int32","readOnly":true,"type":"integer"},"defaultTotalEgressThresholdInGbps":{"description":"Default total egress threshold (in Gbps).","format":"float","readOnly":true,"type":"number"},"defaultTotalIngressThresholdInGbps":{"description":"Default total ingress threshold (in Gbps).","format":"float","readOnly":true,"type":"number"},"feedbackRefreshIntervalInSeconds":{"description":"Interval (in seconds) of feedback refresh.","format":"int32","readOnly":true,"type":"integer"},"gracePeriodForFullThrottlingInRefreshIntervals":{"description":"Grace period for full throttling in refresh intervals.","format":"int32","readOnly":true,"type":"integer"},"gracePeriodMaxThrottleProbability":{"description":"Maximum probability of throttle in grace period.","format":"float","readOnly":true,"type":"number"},"hostStyleHttpPort":{"description":"Host style HTTP port.","format":"int32","readOnly":true,"type":"integer"},"hostStyleHttpsPort":{"description":"Host style HTTPs port.","format":"int32","readOnly":true,"type":"integer"},"minimumEgressThresholdInGbps":{"description":"Minimum egress threshold (in Gbps).","format":"float","readOnly":true,"type":"number"},"minimumIngressThresholdInGbps":{"description":"Minimum ingress threshold (in Gbps).","format":"float","readOnly":true,"type":"number"},"minimumIntranetEgressThresholdInGbps":{"description":"Minimum Intranet egress threshold (in Gbps).","format":"float","readOnly":true,"type":"number"},"minimumIntranetIngressThresholdInGbps":{"description":"Minimum Intranet ingress threshold (in Gbps).","format":"float","readOnly":true,"type":"number"},"minimumRequestThresholdInTps":{"description":"Minimum request threshold (in TPS).","format":"float","readOnly":true,"type":"number"},"minimumTotalEgressThresholdInGbps":{"description":"Minimum total egress threshold (in Gbp","format":"float","readOnly":true,"type":"number"},"minimumTotalIngressThresholdInGbps":{"description":"Minimum total ingress threshold (in Gbps).","format":"float","readOnly":true,"type":"number"},"numberOfAccountsToSync":{"description":"Number of accounts to sync.","format":"int32","readOnly":true,"type":"integer"},"overallEgressThresholdInGbps":{"description":"Overall egress threshold (in Gbps).","format":"float","readOnly":true,"type":"number"},"overallIngressThresholdInGbps":{"description":"Overall ingress threshold (in Gbps)","format":"float","readOnly":true,"type":"number"},"overallIntranetEgressThresholdInGbps":{"description":"Overall Intranet egress threshold (in Gbps).","format":"float","readOnly":true,"type":"number"},"overallIntranetIngressThresholdInGbps":{"description":"Overall Intranet ingress threshold (in Gbps).","format":"float","readOnly":true,"type":"number"},"overallRequestThresholdInTps":{"description":"Overall request threshold (in TPS).","format":"float","readOnly":true,"type":"number"},"overallTotalEgressThresholdInGbps":{"description":"Overall total egress threshold (in Gbps).","format":"float","readOnly":true,"type":"number"},"overallTotalIngressThresholdInGbps":{"description":"Overall total ingress threshold (in Gbps).","format":"float","readOnly":true,"type":"number"},"retentionPeriodForDeletedStorageAccountsInDays":{"description":"The retention period (in days) for deleted storage account.","format":"int32","readOnly":true,"type":"integer"},"settingsPollingIntervalInSecond":{"description":"The polling interval (in second).","format":"int32","readOnly":true,"type":"integer"},"toleranceFactorForEgress":{"description":"Tolerance factor for egress.","format":"float","readOnly":true,"type":"number"},"toleranceFactorForIngress":{"description":"Tolerance factor for ingress.","format":"float","readOnly":true,"type":"number"},"toleranceFactorForIntranetEgress":{"description":"Tolerance factor for Intranet egress.","format":"float","readOnly":true,"type":"number"},"toleranceFactorForIntranetIngress":{"description":"Tolerance factor for Intranet ingress.","format":"float","readOnly":true,"type":"number"},"toleranceFactorForTotalEgress":{"description":"Tolerance factor for total egress.","format":"float","readOnly":true,"type":"number"},"toleranceFactorForTotalIngress":{"description":"Tolerance factor for total ingress.","format":"float","readOnly":true,"type":"number"},"toleranceFactorForTps":{"description":"Tolerance factor for TPS.","format":"float","readOnly":true,"type":"number"},"usageCollectionIntervalInSeconds":{"description":"Interval (in seconds) of storage usage collection.","format":"int32","readOnly":true,"type":"integer"}},"type":"object"},"settingsStore":{"description":"The settings of storage farm.","readOnly":true,"type":"string"},"version":{"description":"Resource version.","readOnly":true,"type":"string"}},"type":"object"}},"type":"object"},"type":"array"}},"type":"object"},"examples":{"Returns a list of all storage farms.":{"$ref":"#/components/examples/Returns_a_list_of_all_storage_farms."}}}}}},"tags":["Farms"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Storage.Admin/farms/{farmId}":{"get":{"description":"Returns the Storage properties and settings for a specified storage farm.","operationId":"Farms_Get","parameters":[{"description":"Subscription Id.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string"},"examples":{"Returns the Storage properties and settings for a specified storage farm.":{"value":"9ad61516-995c-4873-a21f-7e44904f0ed2"}}},{"description":"Resource group name.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"Returns the Storage properties and settings for a specified storage farm.":{"value":"System.local"}}},{"description":"Farm Id.","in":"path","name":"farmId","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"Returns the Storage properties and settings for a specified storage farm.":{"value":"3cf03497-c44a-4e51-a56f-3987d88c70af"}}},{"description":"REST Api Version.","in":"query","name":"api-version","required":true,"schema":{"type":"string"},"examples":{"Returns the Storage properties and settings for a specified storage farm.":{"value":"2015-12-01-preview"}}}],"responses":{"200":{"description":"OK -- The farm has been returned.","content":{"application/json":{"schema":{"allOf":[{"description":"Base resource object.","properties":{"id":{"description":"Resource ID.","readOnly":true,"type":"string"},"location":{"description":"Resource location.","readOnly":true,"type":"string"},"name":{"description":"Resource Name.","readOnly":true,"type":"string"},"tags":{"additionalProperties":{"type":"string"},"description":"Resource tags.","readOnly":true,"type":"object"},"type":{"description":"Resource type.","readOnly":true,"type":"string"}},"type":"object","x-ms-azure-resource":true}],"description":"Storage farm.","properties":{"properties":{"description":"The properties of storage farm.","properties":{"farmId":{"description":"Farm identifier.","readOnly":true,"type":"string"},"settings":{"description":"Storage farm settings.","properties":{"bandwidthThrottleIsEnabled":{"description":"Switch of bandwidth throttle enablement.","readOnly":true,"type":"boolean"},"corsAllowedOriginsList":{"description":"The list of allowed origins.","readOnly":true,"type":"string"},"dataCenterUriHostSuffixes":{"description":"The suffixes of URI of hosts in data center.","readOnly":true,"type":"string"},"defaultEgressThresholdInGbps":{"description":"Default egress threshold (in Gbps).","format":"float","readOnly":true,"type":"number"},"defaultIngressThresholdInGbps":{"description":"Default ingress threshold (in Gbps).","format":"float","readOnly":true,"type":"number"},"defaultIntranetEgressThresholdInGbps":{"description":"Default Intranet egress threshold (in Gbps).","format":"float","readOnly":true,"type":"number"},"defaultIntranetIngressThresholdInGbps":{"description":"Default Intranet ingress threshold (in Gbps).","format":"float","readOnly":true,"type":"number"},"defaultRequestThresholdInTps":{"description":"Default request threshold (in TPS).","format":"float","readOnly":true,"type":"number"},"defaultThrottleProbabilityDecayIntervalInSeconds":{"description":"Interval (in seconds) of default throttle probability decay.","format":"int32","readOnly":true,"type":"integer"},"defaultTotalEgressThresholdInGbps":{"description":"Default total egress threshold (in Gbps).","format":"float","readOnly":true,"type":"number"},"defaultTotalIngressThresholdInGbps":{"description":"Default total ingress threshold (in Gbps).","format":"float","readOnly":true,"type":"number"},"feedbackRefreshIntervalInSeconds":{"description":"Interval (in seconds) of feedback refresh.","format":"int32","readOnly":true,"type":"integer"},"gracePeriodForFullThrottlingInRefreshIntervals":{"description":"Grace period for full throttling in refresh intervals.","format":"int32","readOnly":true,"type":"integer"},"gracePeriodMaxThrottleProbability":{"description":"Maximum probability of throttle in grace period.","format":"float","readOnly":true,"type":"number"},"hostStyleHttpPort":{"description":"Host style HTTP port.","format":"int32","readOnly":true,"type":"integer"},"hostStyleHttpsPort":{"description":"Host style HTTPs port.","format":"int32","readOnly":true,"type":"integer"},"minimumEgressThresholdInGbps":{"description":"Minimum egress threshold (in Gbps).","format":"float","readOnly":true,"type":"number"},"minimumIngressThresholdInGbps":{"description":"Minimum ingress threshold (in Gbps).","format":"float","readOnly":true,"type":"number"},"minimumIntranetEgressThresholdInGbps":{"description":"Minimum Intranet egress threshold (in Gbps).","format":"float","readOnly":true,"type":"number"},"minimumIntranetIngressThresholdInGbps":{"description":"Minimum Intranet ingress threshold (in Gbps).","format":"float","readOnly":true,"type":"number"},"minimumRequestThresholdInTps":{"description":"Minimum request threshold (in TPS).","format":"float","readOnly":true,"type":"number"},"minimumTotalEgressThresholdInGbps":{"description":"Minimum total egress threshold (in Gbp","format":"float","readOnly":true,"type":"number"},"minimumTotalIngressThresholdInGbps":{"description":"Minimum total ingress threshold (in Gbps).","format":"float","readOnly":true,"type":"number"},"numberOfAccountsToSync":{"description":"Number of accounts to sync.","format":"int32","readOnly":true,"type":"integer"},"overallEgressThresholdInGbps":{"description":"Overall egress threshold (in Gbps).","format":"float","readOnly":true,"type":"number"},"overallIngressThresholdInGbps":{"description":"Overall ingress threshold (in Gbps)","format":"float","readOnly":true,"type":"number"},"overallIntranetEgressThresholdInGbps":{"description":"Overall Intranet egress threshold (in Gbps).","format":"float","readOnly":true,"type":"number"},"overallIntranetIngressThresholdInGbps":{"description":"Overall Intranet ingress threshold (in Gbps).","format":"float","readOnly":true,"type":"number"},"overallRequestThresholdInTps":{"description":"Overall request threshold (in TPS).","format":"float","readOnly":true,"type":"number"},"overallTotalEgressThresholdInGbps":{"description":"Overall total egress threshold (in Gbps).","format":"float","readOnly":true,"type":"number"},"overallTotalIngressThresholdInGbps":{"description":"Overall total ingress threshold (in Gbps).","format":"float","readOnly":true,"type":"number"},"retentionPeriodForDeletedStorageAccountsInDays":{"description":"The retention period (in days) for deleted storage account.","format":"int32","readOnly":true,"type":"integer"},"settingsPollingIntervalInSecond":{"description":"The polling interval (in second).","format":"int32","readOnly":true,"type":"integer"},"toleranceFactorForEgress":{"description":"Tolerance factor for egress.","format":"float","readOnly":true,"type":"number"},"toleranceFactorForIngress":{"description":"Tolerance factor for ingress.","format":"float","readOnly":true,"type":"number"},"toleranceFactorForIntranetEgress":{"description":"Tolerance factor for Intranet egress.","format":"float","readOnly":true,"type":"number"},"toleranceFactorForIntranetIngress":{"description":"Tolerance factor for Intranet ingress.","format":"float","readOnly":true,"type":"number"},"toleranceFactorForTotalEgress":{"description":"Tolerance factor for total egress.","format":"float","readOnly":true,"type":"number"},"toleranceFactorForTotalIngress":{"description":"Tolerance factor for total ingress.","format":"float","readOnly":true,"type":"number"},"toleranceFactorForTps":{"description":"Tolerance factor for TPS.","format":"float","readOnly":true,"type":"number"},"usageCollectionIntervalInSeconds":{"description":"Interval (in seconds) of storage usage collection.","format":"int32","readOnly":true,"type":"integer"}},"type":"object"},"settingsStore":{"description":"The settings of storage farm.","readOnly":true,"type":"string"},"version":{"description":"Resource version.","readOnly":true,"type":"string"}},"type":"object"}},"type":"object"},"examples":{"Returns the Storage properties and settings for a specified storage farm.":{"$ref":"#/components/examples/Returns_the_Storage_properties_and_settings_for_a_specified_storage_farm."}}}}},"404":{"description":"NOT FOUND -- The specified farm was not found."}},"tags":["Farms"]},"patch":{"description":"Update an existing storage farm.","operationId":"Farms_Update","parameters":[{"description":"Subscription Id.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string"},"examples":{"Update an existing storage farm.":{"value":"9ad61516-995c-4873-a21f-7e44904f0ed2"}}},{"description":"REST Api Version.","in":"query","name":"api-version","required":true,"schema":{"type":"string"},"examples":{"Update an existing storage farm.":{"value":"2015-12-01-preview"}}},{"description":"Resource group name.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"Update an existing storage farm.":{"value":"System.local"}}},{"description":"Farm Id.","in":"path","name":"farmId","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"Update an existing storage farm.":{"value":"3cf03497-c44a-4e51-a56f-3987d88c70af"}}}],"requestBody":{"content":{"application/json":{"schema":{"allOf":[{"description":"Base resource object.","properties":{"id":{"description":"Resource ID.","readOnly":true,"type":"string"},"location":{"description":"Resource location.","readOnly":true,"type":"string"},"name":{"description":"Resource Name.","readOnly":true,"type":"string"},"tags":{"additionalProperties":{"type":"string"},"description":"Resource tags.","readOnly":true,"type":"object"},"type":{"description":"Resource type.","readOnly":true,"type":"string"}},"type":"object","x-ms-azure-resource":true}],"description":"Storage farm.","properties":{"properties":{"description":"The properties of storage farm.","properties":{"farmId":{"description":"Farm identifier.","readOnly":true,"type":"string"},"settings":{"description":"Storage farm settings.","properties":{"bandwidthThrottleIsEnabled":{"description":"Switch of bandwidth throttle enablement.","readOnly":true,"type":"boolean"},"corsAllowedOriginsList":{"description":"The list of allowed origins.","readOnly":true,"type":"string"},"dataCenterUriHostSuffixes":{"description":"The suffixes of URI of hosts in data center.","readOnly":true,"type":"string"},"defaultEgressThresholdInGbps":{"description":"Default egress threshold (in Gbps).","format":"float","readOnly":true,"type":"number"},"defaultIngressThresholdInGbps":{"description":"Default ingress threshold (in Gbps).","format":"float","readOnly":true,"type":"number"},"defaultIntranetEgressThresholdInGbps":{"description":"Default Intranet egress threshold (in Gbps).","format":"float","readOnly":true,"type":"number"},"defaultIntranetIngressThresholdInGbps":{"description":"Default Intranet ingress threshold (in Gbps).","format":"float","readOnly":true,"type":"number"},"defaultRequestThresholdInTps":{"description":"Default request threshold (in TPS).","format":"float","readOnly":true,"type":"number"},"defaultThrottleProbabilityDecayIntervalInSeconds":{"description":"Interval (in seconds) of default throttle probability decay.","format":"int32","readOnly":true,"type":"integer"},"defaultTotalEgressThresholdInGbps":{"description":"Default total egress threshold (in Gbps).","format":"float","readOnly":true,"type":"number"},"defaultTotalIngressThresholdInGbps":{"description":"Default total ingress threshold (in Gbps).","format":"float","readOnly":true,"type":"number"},"feedbackRefreshIntervalInSeconds":{"description":"Interval (in seconds) of feedback refresh.","format":"int32","readOnly":true,"type":"integer"},"gracePeriodForFullThrottlingInRefreshIntervals":{"description":"Grace period for full throttling in refresh intervals.","format":"int32","readOnly":true,"type":"integer"},"gracePeriodMaxThrottleProbability":{"description":"Maximum probability of throttle in grace period.","format":"float","readOnly":true,"type":"number"},"hostStyleHttpPort":{"description":"Host style HTTP port.","format":"int32","readOnly":true,"type":"integer"},"hostStyleHttpsPort":{"description":"Host style HTTPs port.","format":"int32","readOnly":true,"type":"integer"},"minimumEgressThresholdInGbps":{"description":"Minimum egress threshold (in Gbps).","format":"float","readOnly":true,"type":"number"},"minimumIngressThresholdInGbps":{"description":"Minimum ingress threshold (in Gbps).","format":"float","readOnly":true,"type":"number"},"minimumIntranetEgressThresholdInGbps":{"description":"Minimum Intranet egress threshold (in Gbps).","format":"float","readOnly":true,"type":"number"},"minimumIntranetIngressThresholdInGbps":{"description":"Minimum Intranet ingress threshold (in Gbps).","format":"float","readOnly":true,"type":"number"},"minimumRequestThresholdInTps":{"description":"Minimum request threshold (in TPS).","format":"float","readOnly":true,"type":"number"},"minimumTotalEgressThresholdInGbps":{"description":"Minimum total egress threshold (in Gbp","format":"float","readOnly":true,"type":"number"},"minimumTotalIngressThresholdInGbps":{"description":"Minimum total ingress threshold (in Gbps).","format":"float","readOnly":true,"type":"number"},"numberOfAccountsToSync":{"description":"Number of accounts to sync.","format":"int32","readOnly":true,"type":"integer"},"overallEgressThresholdInGbps":{"description":"Overall egress threshold (in Gbps).","format":"float","readOnly":true,"type":"number"},"overallIngressThresholdInGbps":{"description":"Overall ingress threshold (in Gbps)","format":"float","readOnly":true,"type":"number"},"overallIntranetEgressThresholdInGbps":{"description":"Overall Intranet egress threshold (in Gbps).","format":"float","readOnly":true,"type":"number"},"overallIntranetIngressThresholdInGbps":{"description":"Overall Intranet ingress threshold (in Gbps).","format":"float","readOnly":true,"type":"number"},"overallRequestThresholdInTps":{"description":"Overall request threshold (in TPS).","format":"float","readOnly":true,"type":"number"},"overallTotalEgressThresholdInGbps":{"description":"Overall total egress threshold (in Gbps).","format":"float","readOnly":true,"type":"number"},"overallTotalIngressThresholdInGbps":{"description":"Overall total ingress threshold (in Gbps).","format":"float","readOnly":true,"type":"number"},"retentionPeriodForDeletedStorageAccountsInDays":{"description":"The retention period (in days) for deleted storage account.","format":"int32","readOnly":true,"type":"integer"},"settingsPollingIntervalInSecond":{"description":"The polling interval (in second).","format":"int32","readOnly":true,"type":"integer"},"toleranceFactorForEgress":{"description":"Tolerance factor for egress.","format":"float","readOnly":true,"type":"number"},"toleranceFactorForIngress":{"description":"Tolerance factor for ingress.","format":"float","readOnly":true,"type":"number"},"toleranceFactorForIntranetEgress":{"description":"Tolerance factor for Intranet egress.","format":"float","readOnly":true,"type":"number"},"toleranceFactorForIntranetIngress":{"description":"Tolerance factor for Intranet ingress.","format":"float","readOnly":true,"type":"number"},"toleranceFactorForTotalEgress":{"description":"Tolerance factor for total egress.","format":"float","readOnly":true,"type":"number"},"toleranceFactorForTotalIngress":{"description":"Tolerance factor for total ingress.","format":"float","readOnly":true,"type":"number"},"toleranceFactorForTps":{"description":"Tolerance factor for TPS.","format":"float","readOnly":true,"type":"number"},"usageCollectionIntervalInSeconds":{"description":"Interval (in seconds) of storage usage collection.","format":"int32","readOnly":true,"type":"integer"}},"type":"object"},"settingsStore":{"description":"The settings of storage farm.","readOnly":true,"type":"string"},"version":{"description":"Resource version.","readOnly":true,"type":"string"}},"type":"object"}},"type":"object"}}},"description":"Farm to update.","required":true},"responses":{"200":{"description":"OK -- The properties and settings of storage farm have been updated.","content":{"application/json":{"schema":{"allOf":[{"description":"Base resource object.","properties":{"id":{"description":"Resource ID.","readOnly":true,"type":"string"},"location":{"description":"Resource location.","readOnly":true,"type":"string"},"name":{"description":"Resource Name.","readOnly":true,"type":"string"},"tags":{"additionalProperties":{"type":"string"},"description":"Resource tags.","readOnly":true,"type":"object"},"type":{"description":"Resource type.","readOnly":true,"type":"string"}},"type":"object","x-ms-azure-resource":true}],"description":"Storage farm.","properties":{"properties":{"description":"The properties of storage farm.","properties":{"farmId":{"description":"Farm identifier.","readOnly":true,"type":"string"},"settings":{"description":"Storage farm settings.","properties":{"bandwidthThrottleIsEnabled":{"description":"Switch of bandwidth throttle enablement.","readOnly":true,"type":"boolean"},"corsAllowedOriginsList":{"description":"The list of allowed origins.","readOnly":true,"type":"string"},"dataCenterUriHostSuffixes":{"description":"The suffixes of URI of hosts in data center.","readOnly":true,"type":"string"},"defaultEgressThresholdInGbps":{"description":"Default egress threshold (in Gbps).","format":"float","readOnly":true,"type":"number"},"defaultIngressThresholdInGbps":{"description":"Default ingress threshold (in Gbps).","format":"float","readOnly":true,"type":"number"},"defaultIntranetEgressThresholdInGbps":{"description":"Default Intranet egress threshold (in Gbps).","format":"float","readOnly":true,"type":"number"},"defaultIntranetIngressThresholdInGbps":{"description":"Default Intranet ingress threshold (in Gbps).","format":"float","readOnly":true,"type":"number"},"defaultRequestThresholdInTps":{"description":"Default request threshold (in TPS).","format":"float","readOnly":true,"type":"number"},"defaultThrottleProbabilityDecayIntervalInSeconds":{"description":"Interval (in seconds) of default throttle probability decay.","format":"int32","readOnly":true,"type":"integer"},"defaultTotalEgressThresholdInGbps":{"description":"Default total egress threshold (in Gbps).","format":"float","readOnly":true,"type":"number"},"defaultTotalIngressThresholdInGbps":{"description":"Default total ingress threshold (in Gbps).","format":"float","readOnly":true,"type":"number"},"feedbackRefreshIntervalInSeconds":{"description":"Interval (in seconds) of feedback refresh.","format":"int32","readOnly":true,"type":"integer"},"gracePeriodForFullThrottlingInRefreshIntervals":{"description":"Grace period for full throttling in refresh intervals.","format":"int32","readOnly":true,"type":"integer"},"gracePeriodMaxThrottleProbability":{"description":"Maximum probability of throttle in grace period.","format":"float","readOnly":true,"type":"number"},"hostStyleHttpPort":{"description":"Host style HTTP port.","format":"int32","readOnly":true,"type":"integer"},"hostStyleHttpsPort":{"description":"Host style HTTPs port.","format":"int32","readOnly":true,"type":"integer"},"minimumEgressThresholdInGbps":{"description":"Minimum egress threshold (in Gbps).","format":"float","readOnly":true,"type":"number"},"minimumIngressThresholdInGbps":{"description":"Minimum ingress threshold (in Gbps).","format":"float","readOnly":true,"type":"number"},"minimumIntranetEgressThresholdInGbps":{"description":"Minimum Intranet egress threshold (in Gbps).","format":"float","readOnly":true,"type":"number"},"minimumIntranetIngressThresholdInGbps":{"description":"Minimum Intranet ingress threshold (in Gbps).","format":"float","readOnly":true,"type":"number"},"minimumRequestThresholdInTps":{"description":"Minimum request threshold (in TPS).","format":"float","readOnly":true,"type":"number"},"minimumTotalEgressThresholdInGbps":{"description":"Minimum total egress threshold (in Gbp","format":"float","readOnly":true,"type":"number"},"minimumTotalIngressThresholdInGbps":{"description":"Minimum total ingress threshold (in Gbps).","format":"float","readOnly":true,"type":"number"},"numberOfAccountsToSync":{"description":"Number of accounts to sync.","format":"int32","readOnly":true,"type":"integer"},"overallEgressThresholdInGbps":{"description":"Overall egress threshold (in Gbps).","format":"float","readOnly":true,"type":"number"},"overallIngressThresholdInGbps":{"description":"Overall ingress threshold (in Gbps)","format":"float","readOnly":true,"type":"number"},"overallIntranetEgressThresholdInGbps":{"description":"Overall Intranet egress threshold (in Gbps).","format":"float","readOnly":true,"type":"number"},"overallIntranetIngressThresholdInGbps":{"description":"Overall Intranet ingress threshold (in Gbps).","format":"float","readOnly":true,"type":"number"},"overallRequestThresholdInTps":{"description":"Overall request threshold (in TPS).","format":"float","readOnly":true,"type":"number"},"overallTotalEgressThresholdInGbps":{"description":"Overall total egress threshold (in Gbps).","format":"float","readOnly":true,"type":"number"},"overallTotalIngressThresholdInGbps":{"description":"Overall total ingress threshold (in Gbps).","format":"float","readOnly":true,"type":"number"},"retentionPeriodForDeletedStorageAccountsInDays":{"description":"The retention period (in days) for deleted storage account.","format":"int32","readOnly":true,"type":"integer"},"settingsPollingIntervalInSecond":{"description":"The polling interval (in second).","format":"int32","readOnly":true,"type":"integer"},"toleranceFactorForEgress":{"description":"Tolerance factor for egress.","format":"float","readOnly":true,"type":"number"},"toleranceFactorForIngress":{"description":"Tolerance factor for ingress.","format":"float","readOnly":true,"type":"number"},"toleranceFactorForIntranetEgress":{"description":"Tolerance factor for Intranet egress.","format":"float","readOnly":true,"type":"number"},"toleranceFactorForIntranetIngress":{"description":"Tolerance factor for Intranet ingress.","format":"float","readOnly":true,"type":"number"},"toleranceFactorForTotalEgress":{"description":"Tolerance factor for total egress.","format":"float","readOnly":true,"type":"number"},"toleranceFactorForTotalIngress":{"description":"Tolerance factor for total ingress.","format":"float","readOnly":true,"type":"number"},"toleranceFactorForTps":{"description":"Tolerance factor for TPS.","format":"float","readOnly":true,"type":"number"},"usageCollectionIntervalInSeconds":{"description":"Interval (in seconds) of storage usage collection.","format":"int32","readOnly":true,"type":"integer"}},"type":"object"},"settingsStore":{"description":"The settings of storage farm.","readOnly":true,"type":"string"},"version":{"description":"Resource version.","readOnly":true,"type":"string"}},"type":"object"}},"type":"object"},"examples":{"Update an existing storage farm.":{"$ref":"#/components/examples/Update_an_existing_storage_farm."}}}}}},"tags":["Farms"]},"put":{"description":"Create a new storage farm.","operationId":"Farms_Create","parameters":[{"description":"Subscription Id.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string"},"examples":{"Create a new storage farm.":{"value":"9ad61516-995c-4873-a21f-7e44904f0ed2"}}},{"description":"Resource group name.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"Create a new storage farm.":{"value":"System.local"}}},{"description":"Farm Id.","in":"path","name":"farmId","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"Create a new storage farm.":{"value":"3cf03497-c44a-4e51-a56f-3987d88c70af"}}},{"description":"REST Api Version.","in":"query","name":"api-version","required":true,"schema":{"type":"string"},"examples":{"Create a new storage farm.":{"value":"2015-12-01-preview"}}}],"requestBody":{"content":{"application/json":{"schema":{"allOf":[{"description":"Base resource object.","properties":{"id":{"description":"Resource ID.","readOnly":true,"type":"string"},"location":{"description":"Resource location.","readOnly":true,"type":"string"},"name":{"description":"Resource Name.","readOnly":true,"type":"string"},"tags":{"additionalProperties":{"type":"string"},"description":"Resource tags.","readOnly":true,"type":"object"},"type":{"description":"Resource type.","readOnly":true,"type":"string"}},"type":"object","x-ms-azure-resource":true}],"description":"Storage farm properties.","properties":{"properties":{"description":"Setting access string.","properties":{"settingAccessString":{"description":"Setting access string.","type":"string"}},"type":"object"}},"type":"object"}}},"description":"Parameters used to create a farm","required":true},"responses":{"200":{"description":"OK -- The new storage farm has been created.","content":{"application/json":{"schema":{"allOf":[{"description":"Base resource object.","properties":{"id":{"description":"Resource ID.","readOnly":true,"type":"string"},"location":{"description":"Resource location.","readOnly":true,"type":"string"},"name":{"description":"Resource Name.","readOnly":true,"type":"string"},"tags":{"additionalProperties":{"type":"string"},"description":"Resource tags.","readOnly":true,"type":"object"},"type":{"description":"Resource type.","readOnly":true,"type":"string"}},"type":"object","x-ms-azure-resource":true}],"description":"Storage farm.","properties":{"properties":{"description":"The properties of storage farm.","properties":{"farmId":{"description":"Farm identifier.","readOnly":true,"type":"string"},"settings":{"description":"Storage farm settings.","properties":{"bandwidthThrottleIsEnabled":{"description":"Switch of bandwidth throttle enablement.","readOnly":true,"type":"boolean"},"corsAllowedOriginsList":{"description":"The list of allowed origins.","readOnly":true,"type":"string"},"dataCenterUriHostSuffixes":{"description":"The suffixes of URI of hosts in data center.","readOnly":true,"type":"string"},"defaultEgressThresholdInGbps":{"description":"Default egress threshold (in Gbps).","format":"float","readOnly":true,"type":"number"},"defaultIngressThresholdInGbps":{"description":"Default ingress threshold (in Gbps).","format":"float","readOnly":true,"type":"number"},"defaultIntranetEgressThresholdInGbps":{"description":"Default Intranet egress threshold (in Gbps).","format":"float","readOnly":true,"type":"number"},"defaultIntranetIngressThresholdInGbps":{"description":"Default Intranet ingress threshold (in Gbps).","format":"float","readOnly":true,"type":"number"},"defaultRequestThresholdInTps":{"description":"Default request threshold (in TPS).","format":"float","readOnly":true,"type":"number"},"defaultThrottleProbabilityDecayIntervalInSeconds":{"description":"Interval (in seconds) of default throttle probability decay.","format":"int32","readOnly":true,"type":"integer"},"defaultTotalEgressThresholdInGbps":{"description":"Default total egress threshold (in Gbps).","format":"float","readOnly":true,"type":"number"},"defaultTotalIngressThresholdInGbps":{"description":"Default total ingress threshold (in Gbps).","format":"float","readOnly":true,"type":"number"},"feedbackRefreshIntervalInSeconds":{"description":"Interval (in seconds) of feedback refresh.","format":"int32","readOnly":true,"type":"integer"},"gracePeriodForFullThrottlingInRefreshIntervals":{"description":"Grace period for full throttling in refresh intervals.","format":"int32","readOnly":true,"type":"integer"},"gracePeriodMaxThrottleProbability":{"description":"Maximum probability of throttle in grace period.","format":"float","readOnly":true,"type":"number"},"hostStyleHttpPort":{"description":"Host style HTTP port.","format":"int32","readOnly":true,"type":"integer"},"hostStyleHttpsPort":{"description":"Host style HTTPs port.","format":"int32","readOnly":true,"type":"integer"},"minimumEgressThresholdInGbps":{"description":"Minimum egress threshold (in Gbps).","format":"float","readOnly":true,"type":"number"},"minimumIngressThresholdInGbps":{"description":"Minimum ingress threshold (in Gbps).","format":"float","readOnly":true,"type":"number"},"minimumIntranetEgressThresholdInGbps":{"description":"Minimum Intranet egress threshold (in Gbps).","format":"float","readOnly":true,"type":"number"},"minimumIntranetIngressThresholdInGbps":{"description":"Minimum Intranet ingress threshold (in Gbps).","format":"float","readOnly":true,"type":"number"},"minimumRequestThresholdInTps":{"description":"Minimum request threshold (in TPS).","format":"float","readOnly":true,"type":"number"},"minimumTotalEgressThresholdInGbps":{"description":"Minimum total egress threshold (in Gbp","format":"float","readOnly":true,"type":"number"},"minimumTotalIngressThresholdInGbps":{"description":"Minimum total ingress threshold (in Gbps).","format":"float","readOnly":true,"type":"number"},"numberOfAccountsToSync":{"description":"Number of accounts to sync.","format":"int32","readOnly":true,"type":"integer"},"overallEgressThresholdInGbps":{"description":"Overall egress threshold (in Gbps).","format":"float","readOnly":true,"type":"number"},"overallIngressThresholdInGbps":{"description":"Overall ingress threshold (in Gbps)","format":"float","readOnly":true,"type":"number"},"overallIntranetEgressThresholdInGbps":{"description":"Overall Intranet egress threshold (in Gbps).","format":"float","readOnly":true,"type":"number"},"overallIntranetIngressThresholdInGbps":{"description":"Overall Intranet ingress threshold (in Gbps).","format":"float","readOnly":true,"type":"number"},"overallRequestThresholdInTps":{"description":"Overall request threshold (in TPS).","format":"float","readOnly":true,"type":"number"},"overallTotalEgressThresholdInGbps":{"description":"Overall total egress threshold (in Gbps).","format":"float","readOnly":true,"type":"number"},"overallTotalIngressThresholdInGbps":{"description":"Overall total ingress threshold (in Gbps).","format":"float","readOnly":true,"type":"number"},"retentionPeriodForDeletedStorageAccountsInDays":{"description":"The retention period (in days) for deleted storage account.","format":"int32","readOnly":true,"type":"integer"},"settingsPollingIntervalInSecond":{"description":"The polling interval (in second).","format":"int32","readOnly":true,"type":"integer"},"toleranceFactorForEgress":{"description":"Tolerance factor for egress.","format":"float","readOnly":true,"type":"number"},"toleranceFactorForIngress":{"description":"Tolerance factor for ingress.","format":"float","readOnly":true,"type":"number"},"toleranceFactorForIntranetEgress":{"description":"Tolerance factor for Intranet egress.","format":"float","readOnly":true,"type":"number"},"toleranceFactorForIntranetIngress":{"description":"Tolerance factor for Intranet ingress.","format":"float","readOnly":true,"type":"number"},"toleranceFactorForTotalEgress":{"description":"Tolerance factor for total egress.","format":"float","readOnly":true,"type":"number"},"toleranceFactorForTotalIngress":{"description":"Tolerance factor for total ingress.","format":"float","readOnly":true,"type":"number"},"toleranceFactorForTps":{"description":"Tolerance factor for TPS.","format":"float","readOnly":true,"type":"number"},"usageCollectionIntervalInSeconds":{"description":"Interval (in seconds) of storage usage collection.","format":"int32","readOnly":true,"type":"integer"}},"type":"object"},"settingsStore":{"description":"The settings of storage farm.","readOnly":true,"type":"string"},"version":{"description":"Resource version.","readOnly":true,"type":"string"}},"type":"object"}},"type":"object"},"examples":{"Create a new storage farm.":{"$ref":"#/components/examples/Create_a_new_storage_farm."}}}}}},"tags":["Farms"]}},"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Storage.Admin/farms/{farmId}/metricdefinitions":{"get":{"description":"Returns a list of metric definitions for a storage farm.","operationId":"Farms_ListMetricDefinitions","parameters":[{"description":"Subscription Id.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string"},"examples":{"Returns a list of metric definitions for a storage farm.":{"value":"9ad61516-995c-4873-a21f-7e44904f0ed2"}}},{"description":"Resource group name.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"Returns a list of metric definitions for a storage farm.":{"value":"System.local"}}},{"description":"Farm Id.","in":"path","name":"farmId","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"Returns a list of metric definitions for a storage farm.":{"value":"3cf03497-c44a-4e51-a56f-3987d88c70af"}}},{"description":"REST Api Version.","in":"query","name":"api-version","required":true,"schema":{"type":"string"},"examples":{"Returns a list of metric definitions for a storage farm.":{"value":"2015-12-01-preview"}}}],"responses":{"200":{"description":"OK -- The list of metric definitions has been returned.","content":{"application/json":{"schema":{"description":"Pageable list of metric definitions.","properties":{"nextLink":{"description":"URI to the next page.","readOnly":true,"type":"string"},"value":{"description":"List of metric definitions.","items":{"description":"Metric definition.","properties":{"metricAvailabilities":{"description":"Metric availabilities.","items":{"description":"Metric availability.","properties":{"retention":{"description":"Retention of metric.","type":"string"},"timeGrain":{"description":"Time grain.","type":"string"}},"type":"object"},"readOnly":true,"type":"array"},"name":{"description":"Localizable string.","properties":{"localizedValue":{"description":"Localized value of the string.","type":"string"},"value":{"description":"Value of the string.","type":"string"}},"type":"object"},"primaryAggregationType":{"description":"Aggregate type.","enum":["None","Average","Total","Minimum","Maximum","Last"],"readOnly":true,"type":"string","x-ms-enum":{"modelAsString":true,"name":"AggregateType"}},"unit":{"description":"Metric unit.","enum":["Count","Bytes","Seconds","CountPerSecond","BytesPerSecond"],"type":"string","x-ms-enum":{"modelAsString":true,"name":"MetricUnit"}}},"type":"object"},"readOnly":true,"type":"array"}},"type":"object"},"examples":{"Returns a list of metric definitions for a storage farm.":{"$ref":"#/components/examples/Returns_a_list_of_metric_definitions_for_a_storage_farm."}}}}},"404":{"description":"NOT FOUND -- The specified farm was not found."}},"tags":["Farms"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Storage.Admin/farms/{farmId}/metrics":{"get":{"description":"Returns a list of storage farm metrics.","operationId":"Farms_ListMetrics","parameters":[{"description":"Subscription Id.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string"},"examples":{"Returns a list of storage farm metrics.":{"value":"9ad61516-995c-4873-a21f-7e44904f0ed2"}}},{"description":"Resource group name.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"Returns a list of storage farm metrics.":{"value":"System.local"}}},{"description":"Farm Id.","in":"path","name":"farmId","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"Returns a list of storage farm metrics.":{"value":"3cf03497-c44a-4e51-a56f-3987d88c70af"}}},{"description":"REST Api Version.","in":"query","name":"api-version","required":true,"schema":{"type":"string"},"examples":{"Returns a list of storage farm metrics.":{"value":"2015-12-01-preview"}}}],"responses":{"200":{"description":"OK -- The list of metrics has been returned.","content":{"application/json":{"schema":{"description":"Pageable list of metrics.","properties":{"nextLink":{"description":"URI to the next page.","readOnly":true,"type":"string"},"value":{"description":"List of metrics.","items":{"description":"Metric information.","properties":{"endTime":{"description":"Metric end time.","format":"date-time","readOnly":true,"type":"string"},"metricUnit":{"description":"Metric unit.","enum":["Count","Bytes","Seconds","CountPerSecond","BytesPerSecond"],"type":"string","x-ms-enum":{"modelAsString":true,"name":"MetricUnit"}},"metricValues":{"description":"List of metric values.","items":{"description":"Metric value.","properties":{"average":{"description":"Average value of metric.","format":"float","readOnly":true,"type":"number"},"count":{"description":"Count of metric values.","format":"int32","readOnly":true,"type":"integer"},"maximum":{"description":"Maximum value of metric.","format":"float","readOnly":true,"type":"number"},"minimum":{"description":"Minimum value of metric.","format":"float","readOnly":true,"type":"number"},"properties":{"description":"Metric value properties.","readOnly":true,"type":"string"},"timeStamp":{"description":"Timestamp of metric value.","format":"date-time","readOnly":true,"type":"string"},"total":{"description":"Total value of metric.","format":"float","readOnly":true,"type":"number"}}},"readOnly":true,"type":"array"},"name":{"description":"Localizable string.","properties":{"localizedValue":{"description":"Localized value of the string.","type":"string"},"value":{"description":"Value of the string.","type":"string"}},"type":"object"},"startTime":{"description":"Metric start time.","format":"date-time","readOnly":true,"type":"string"},"timeGrain":{"description":"Metric time grain.","readOnly":true,"type":"string"}},"type":"object"},"readOnly":true,"type":"array"}},"type":"object"},"examples":{"Returns a list of storage farm metrics.":{"$ref":"#/components/examples/Returns_a_list_of_storage_farm_metrics."}}}}},"404":{"description":"NOT FOUND -- The specified farm was not found."}},"tags":["Farms"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Storage.Admin/farms/{farmId}/ondemandgc":{"post":{"description":"Start garbage collection on deleted storage objects.","operationId":"Farms_StartGarbageCollection","parameters":[{"description":"Subscription Id.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string"},"examples":{"Start garbage collection on deleted storage objects.":{"value":"9ad61516-995c-4873-a21f-7e44904f0ed2"}}},{"description":"Resource group name.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"Start garbage collection on deleted storage objects.":{"value":"System.local"}}},{"description":"Farm Id.","in":"path","name":"farmId","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"Start garbage collection on deleted storage objects.":{"value":"3cf03497-c44a-4e51-a56f-3987d88c70af"}}},{"description":"REST Api Version.","in":"query","name":"api-version","required":true,"schema":{"type":"string"},"examples":{"Start garbage collection on deleted storage objects.":{"value":"2015-12-01-preview"}}}],"responses":{"200":{"description":"OK -- Garbage collection has completed."},"202":{"description":"ACCEPTED -- Garbage collection has started."}},"tags":["Farms"],"x-ms-long-running-operation":true}},"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Storage.Admin/farms/{farmId}/operationresults/{operationId}":{"get":{"description":"Returns the state of the garbage collection job.","operationId":"Farms_GetGarbageCollectionState","parameters":[{"description":"Subscription Id.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string"},"examples":{"Returns the state of the garbage collection job.":{"value":"9ad61516-995c-4873-a21f-7e44904f0ed2"}}},{"description":"Resource group name.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"Returns the state of the garbage collection job.":{"value":"System.local"}}},{"description":"Farm Id.","in":"path","name":"farmId","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"Returns the state of the garbage collection job.":{"value":"3cf03497-c44a-4e51-a56f-3987d88c70af"}}},{"description":"REST Api Version.","in":"query","name":"api-version","required":true,"schema":{"type":"string"},"examples":{"Returns the state of the garbage collection job.":{"value":"2015-12-01-preview"}}},{"description":"Operation Id.","in":"path","name":"operationId","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"Returns the state of the garbage collection job.":{"value":"5ad334a7-4f51-141a-b52f-39a7df8d7033"}}}],"responses":{"200":{"description":"OK -- The state of garbage collection ha