Skip to content

Commit

Permalink
Generated from 409af1f
Browse files Browse the repository at this point in the history
  • Loading branch information
SwaggerToSDK Automation committed Nov 2, 2016
1 parent 0175749 commit 82dae2d
Show file tree
Hide file tree
Showing 17 changed files with 110 additions and 96 deletions.
Expand Up @@ -20,7 +20,7 @@ class CheckNameAvailabilityResult(Model):
:ivar name_available: Gets a boolean value that indicates whether the
name is available for you to use. If true, the name is available. If
false, the name has already been taken or invalid and cannot be used.
false, the name has already been taken or is invalid and cannot be used.
:vartype name_available: bool
:ivar reason: Gets the reason that a storage account name could not be
used. The Reason element is only returned if NameAvailable is false.
Expand Down
6 changes: 3 additions & 3 deletions azure-mgmt-storage/azure/mgmt/storage/models/custom_domain.py
Expand Up @@ -16,11 +16,11 @@ class CustomDomain(Model):
"""The custom domain assigned to this storage account. This can be set via
Update.
:param name: Gets or sets the custom domain name. Name is the CNAME
source.
:param name: Gets or sets the custom domain name assigned to the storage
account. Name is the CNAME source.
:type name: str
:param use_sub_domain: Indicates whether indirect CName validation is
enabled. Default value is false. This should only be set on updates
enabled. Default value is false. This should only be set on updates.
:type use_sub_domain: bool
"""

Expand Down
8 changes: 4 additions & 4 deletions azure-mgmt-storage/azure/mgmt/storage/models/encryption.py
Expand Up @@ -13,16 +13,16 @@


class Encryption(Model):
"""The encryption settings on the account.
"""The encryption settings on the storage account.
Variables are only populated by the server, and will be ignored when
sending a request.
:param services: Gets the services which are encrypted.
:param services: List of services which support encryption.
:type services: :class:`EncryptionServices
<azure.mgmt.storage.models.EncryptionServices>`
:ivar key_source: Gets the encryption keySource(provider). Possible
values (case-insensitive): Microsoft.Storage. Default value:
:ivar key_source: The encryption keySource (provider). Possible values
(case-insensitive): Microsoft.Storage. Default value:
"Microsoft.Storage" .
:vartype key_source: str
"""
Expand Down
Expand Up @@ -13,19 +13,18 @@


class EncryptionService(Model):
"""An encrypted service.
"""A service that allows server-side encryption to be used.
Variables are only populated by the server, and will be ignored when
sending a request.
:param enabled: A boolean indicating whether or not the service is
encrypted.
:param enabled: A boolean indicating whether or not the service encrypts
the data as it is stored.
:type enabled: bool
:ivar last_enabled_time: Gets a time value indicating when was the
encryption enabled by the user last time. We return this value only when
encryption is enabled. There might be some unencrypted blobs which were
written after this time. This time is just to give a rough estimate of
when encryption was enabled.
:ivar last_enabled_time: Gets a rough estimate of the date/time when the
encryption was last enabled by the user. Only returned when encryption
is enabled. There might be some unencrypted blobs which were written
after this time, as it is just a rough estimate.
:vartype last_enabled_time: datetime
"""

Expand Down
Expand Up @@ -13,9 +13,9 @@


class EncryptionServices(Model):
"""The encrypted services.
"""A list of services that support encryption.
:param blob: The blob service.
:param blob: The encryption function of the blob storage service.
:type blob: :class:`EncryptionService
<azure.mgmt.storage.models.EncryptionService>`
"""
Expand Down
2 changes: 1 addition & 1 deletion azure-mgmt-storage/azure/mgmt/storage/models/endpoints.py
Expand Up @@ -13,7 +13,7 @@


class Endpoints(Model):
"""The URIs that are used to perform a retrieval of a public blob, queue or
"""The URIs that are used to perform a retrieval of a public blob, queue, or
table object.
Variables are only populated by the server, and will be ignored when
Expand Down
3 changes: 2 additions & 1 deletion azure-mgmt-storage/azure/mgmt/storage/models/resource.py
Expand Up @@ -26,7 +26,8 @@ class Resource(Model):
:vartype type: str
:param location: Resource location
:type location: str
:param tags: Resource tags
:param tags: Tags assigned to a resource; can be used for viewing and
grouping a resource (across resource groups).
:type tags: dict
"""

Expand Down
2 changes: 1 addition & 1 deletion azure-mgmt-storage/azure/mgmt/storage/models/sku.py
Expand Up @@ -18,7 +18,7 @@ class Sku(Model):
Variables are only populated by the server, and will be ignored when
sending a request.
:param name: Gets or sets the sku name. Required for account creation,
:param name: Gets or sets the sku name. Required for account creation;
optional for update. Note that in older versions, sku name was called
accountType. Possible values include: 'Standard_LRS', 'Standard_GRS',
'Standard_RAGRS', 'Standard_ZRS', 'Premium_LRS'
Expand Down
38 changes: 19 additions & 19 deletions azure-mgmt-storage/azure/mgmt/storage/models/storage_account.py
Expand Up @@ -26,7 +26,8 @@ class StorageAccount(Resource):
:vartype type: str
:param location: Resource location
:type location: str
:param tags: Resource tags
:param tags: Tags assigned to a resource; can be used for viewing and
grouping a resource (across resource groups).
:type tags: dict
:ivar sku: Gets the SKU.
:vartype sku: :class:`Sku <azure.mgmt.storage.models.Sku>`
Expand All @@ -39,12 +40,12 @@ class StorageAccount(Resource):
:vartype provisioning_state: str or :class:`ProvisioningState
<azure.mgmt.storage.models.ProvisioningState>`
:ivar primary_endpoints: Gets the URLs that are used to perform a
retrieval of a public blob, queue or table object.Note that StandardZRS
and PremiumLRS accounts only return the blob endpoint.
retrieval of a public blob, queue, or table object. Note that
Standard_ZRS and Premium_LRS accounts only return the blob endpoint.
:vartype primary_endpoints: :class:`Endpoints
<azure.mgmt.storage.models.Endpoints>`
:ivar primary_location: Gets the location of the primary for the storage
account.
:ivar primary_location: Gets the location of the primary data center for
the storage account.
:vartype primary_location: str
:ivar status_of_primary: Gets the status indicating whether the primary
location of the storage account is available or unavailable. Possible
Expand All @@ -55,39 +56,38 @@ class StorageAccount(Resource):
instance of a failover to the secondary location. Only the most recent
timestamp is retained. This element is not returned if there has never
been a failover instance. Only available if the accountType is
StandardGRS or StandardRAGRS.
Standard_GRS or Standard_RAGRS.
:vartype last_geo_failover_time: datetime
:ivar secondary_location: Gets the location of the geo replicated
:ivar secondary_location: Gets the location of the geo-replicated
secondary for the storage account. Only available if the accountType is
StandardGRS or StandardRAGRS.
Standard_GRS or Standard_RAGRS.
:vartype secondary_location: str
:ivar status_of_secondary: Gets the status indicating whether the
secondary location of the storage account is available or unavailable.
Only available if the accountType is StandardGRS or StandardRAGRS.
Only available if the SKU name is Standard_GRS or Standard_RAGRS.
Possible values include: 'Available', 'Unavailable'
:vartype status_of_secondary: str or :class:`AccountStatus
<azure.mgmt.storage.models.AccountStatus>`
:ivar creation_time: Gets the creation date and time of the storage
account in UTC.
:vartype creation_time: datetime
:ivar custom_domain: Gets the user assigned custom domain assigned to
this storage account.
:ivar custom_domain: Gets the custom domain the user assigned to this
storage account.
:vartype custom_domain: :class:`CustomDomain
<azure.mgmt.storage.models.CustomDomain>`
:ivar secondary_endpoints: Gets the URLs that are used to perform a
retrieval of a public blob, queue or table object from the secondary
location of the storage account. Only available if the accountType is
StandardRAGRS.
retrieval of a public blob, queue, or table object from the secondary
location of the storage account. Only available if the SKU name is
Standard_RAGRS.
:vartype secondary_endpoints: :class:`Endpoints
<azure.mgmt.storage.models.Endpoints>`
:ivar encryption: Gets the encryption settings on the account. If
unspecified the account is unencrypted.
unspecified, the account is unencrypted.
:vartype encryption: :class:`Encryption
<azure.mgmt.storage.models.Encryption>`
:ivar access_tier: The access tier used for billing. Access tier cannot
be changed more than once every 7 days (168 hours). Access tier cannot
be set for StandardLRS, StandardGRS, StandardRAGRS, or PremiumLRS
account types. Possible values include: 'Hot', 'Cool'
:ivar access_tier: Required for storage accounts where kind =
BlobStorage. The access tier used for billing. Possible values include:
'Hot', 'Cool'
:vartype access_tier: str or :class:`AccessTier
<azure.mgmt.storage.models.AccessTier>`
"""
Expand Down
Expand Up @@ -13,9 +13,9 @@


class StorageAccountCreateParameters(Model):
"""The parameters to provide for the account.
"""The parameters used when creating a storage account.
:param sku: Required. Gets or sets the sku type.
:param sku: Required. Gets or sets the sku name.
:type sku: :class:`Sku <azure.mgmt.storage.models.Sku>`
:param kind: Required. Indicates the type of storage account. Possible
values include: 'Storage', 'BlobStorage'
Expand All @@ -24,13 +24,13 @@ class StorageAccountCreateParameters(Model):
This will be one of the supported and registered Azure Geo Regions (e.g.
West US, East US, Southeast Asia, etc.). The geo region of a resource
cannot be changed once it is created, but if an identical geo region is
specified on update the request will succeed.
specified on update, the request will succeed.
:type location: str
:param tags: Gets or sets a list of key value pairs that describe the
resource. These tags can be used in viewing and grouping this resource
resource. These tags can be used for viewing and grouping this resource
(across resource groups). A maximum of 15 tags can be provided for a
resource. Each tag must have a key no greater than 128 characters and
value no greater than 256 characters.
resource. Each tag must have a key with a length no greater than 128
characters and a value with a length no greater than 256 characters.
:type tags: dict
:param custom_domain: User domain assigned to the storage account. Name
is the CNAME source. Only one custom domain is supported per storage
Expand All @@ -39,15 +39,13 @@ class StorageAccountCreateParameters(Model):
:type custom_domain: :class:`CustomDomain
<azure.mgmt.storage.models.CustomDomain>`
:param encryption: Provides the encryption settings on the account. If
left unspecified the account encryption settings will remain. The
default setting is unencrypted.
left unspecified the account encryption settings will remain the same.
The default setting is unencrypted.
:type encryption: :class:`Encryption
<azure.mgmt.storage.models.Encryption>`
:param access_tier: Required for StandardBlob accounts. The access tier
used for billing. Access tier cannot be changed more than once every 7
days (168 hours). Access tier cannot be set for StandardLRS,
StandardGRS, StandardRAGRS, or PremiumLRS account types. Possible values
include: 'Hot', 'Cool'
:param access_tier: Required for storage accounts where kind =
BlobStorage. The access tier used for billing. Possible values include:
'Hot', 'Cool'
:type access_tier: str or :class:`AccessTier
<azure.mgmt.storage.models.AccessTier>`
"""
Expand Down
Expand Up @@ -20,10 +20,10 @@ class StorageAccountKey(Model):
:ivar key_name: Name of the key.
:vartype key_name: str
:ivar value: Base 64 encoded value of the key.
:ivar value: Base 64-encoded value of the key.
:vartype value: str
:ivar permissions: Permissions for the key. Possible values include:
'READ', 'FULL'
:ivar permissions: Permissions for the key -- read-only or full
permissions. Possible values include: 'READ', 'FULL'
:vartype permissions: str or :class:`KeyPermission
<azure.mgmt.storage.models.KeyPermission>`
"""
Expand Down
Expand Up @@ -13,12 +13,13 @@


class StorageAccountListKeysResult(Model):
"""The ListKeys operation response.
"""The response from the ListKeys operation.
Variables are only populated by the server, and will be ignored when
sending a request.
:ivar keys: Gets the list of account keys and their properties.
:ivar keys: Gets the list of storage account keys and their properties
for the specified storage account.
:vartype keys: list of :class:`StorageAccountKey
<azure.mgmt.storage.models.StorageAccountKey>`
"""
Expand Down
Expand Up @@ -13,32 +13,32 @@


class StorageAccountUpdateParameters(Model):
"""The parameters to provide for the account.
"""The parameters that can be provided when updating the storage account
properties.
:param sku: Gets or sets the sku type. Note that sku cannot be updated to
StandardZRS or ProvisionedLRS, nor can accounts of that sku type be
updated to any other value.
:param sku: Gets or sets the SKU name. Note that the SKU name cannot be
updated to Standard_ZRS or Premium_LRS, nor can accounts of those sku
names be updated to any other value.
:type sku: :class:`Sku <azure.mgmt.storage.models.Sku>`
:param tags: Gets or sets a list of key value pairs that describe the
resource. These tags can be used in viewing and grouping this resource
(across resource groups). A maximum of 15 tags can be provided for a
resource. Each tag must have a key no greater than 128 characters and
value no greater than 256 characters.
resource. Each tag must have a key no greater in length than 128
characters and a value no greater in length than 256 characters.
:type tags: dict
:param custom_domain: User domain assigned to the storage account. Name
is the CNAME source. Only one custom domain is supported per storage
account at this time. To clear the existing custom domain, use an empty
string for the custom domain name property.
:param custom_domain: Custom domain assigned to the storage account by
the user. Name is the CNAME source. Only one custom domain is supported
per storage account at this time. To clear the existing custom domain,
use an empty string for the custom domain name property.
:type custom_domain: :class:`CustomDomain
<azure.mgmt.storage.models.CustomDomain>`
:param encryption: Provides the encryption settings on the account. The
default setting is unencrypted.
:type encryption: :class:`Encryption
<azure.mgmt.storage.models.Encryption>`
:param access_tier: The access tier used for billing. Access tier cannot
be changed more than once every 7 days (168 hours). Access tier cannot
be set for StandardLRS, StandardGRS, StandardRAGRS, or PremiumLRS
account types. Possible values include: 'Hot', 'Cool'
:param access_tier: Required for storage accounts where kind =
BlobStorage. The access tier used for billing. Possible values include:
'Hot', 'Cool'
:type access_tier: str or :class:`AccessTier
<azure.mgmt.storage.models.AccessTier>`
"""
Expand Down
2 changes: 1 addition & 1 deletion azure-mgmt-storage/azure/mgmt/storage/models/usage_name.py
Expand Up @@ -13,7 +13,7 @@


class UsageName(Model):
"""The Usage Names.
"""The usage names that can be used; currently limited to StorageAccount.
Variables are only populated by the server, and will be ignored when
sending a request.
Expand Down

0 comments on commit 82dae2d

Please sign in to comment.