Skip to content

Commit

Permalink
Generated from ec2e4144b42fa2a546ba98a753a4064b9519c651
Browse files Browse the repository at this point in the history
Address CI failures #3.
  • Loading branch information
SDK Automation committed Feb 13, 2020
1 parent 16fdb6e commit ac7741a
Show file tree
Hide file tree
Showing 15 changed files with 793 additions and 1 deletion.
2 changes: 2 additions & 0 deletions sdk/storage/arm-storage/src/models/blobContainersMappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ export {
DateAfterModification,
DeleteRetentionPolicy,
Encryption,
EncryptionScope,
EncryptionScopeKeyVaultProperties,
EncryptionService,
EncryptionServices,
Endpoints,
Expand Down
2 changes: 2 additions & 0 deletions sdk/storage/arm-storage/src/models/blobServicesMappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ export {
DateAfterModification,
DeleteRetentionPolicy,
Encryption,
EncryptionScope,
EncryptionScopeKeyVaultProperties,
EncryptionService,
EncryptionServices,
Endpoints,
Expand Down
71 changes: 71 additions & 0 deletions sdk/storage/arm-storage/src/models/encryptionScopesMappers.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/

export {
ActiveDirectoryProperties,
AzureEntityResource,
AzureFilesIdentityBasedAuthentication,
BaseResource,
BlobContainer,
BlobRestoreParameters,
BlobRestoreRange,
BlobRestoreStatus,
BlobServiceProperties,
ChangeFeed,
CloudError,
CorsRule,
CorsRules,
CustomDomain,
DateAfterCreation,
DateAfterModification,
DeleteRetentionPolicy,
Encryption,
EncryptionScope,
EncryptionScopeKeyVaultProperties,
EncryptionScopeListResult,
EncryptionService,
EncryptionServices,
Endpoints,
ErrorResponse,
FileServiceProperties,
FileShare,
FileShareItem,
GeoReplicationStats,
Identity,
ImmutabilityPolicy,
ImmutabilityPolicyProperties,
IPRule,
KeyVaultProperties,
LegalHoldProperties,
ListContainerItem,
ManagementPolicy,
ManagementPolicyAction,
ManagementPolicyBaseBlob,
ManagementPolicyDefinition,
ManagementPolicyFilter,
ManagementPolicyRule,
ManagementPolicySchema,
ManagementPolicySnapShot,
NetworkRuleSet,
PrivateEndpoint,
PrivateEndpointConnection,
PrivateLinkResource,
PrivateLinkServiceConnectionState,
ProxyResource,
Resource,
RestorePolicyProperties,
RoutingPreference,
Sku,
StorageAccount,
StorageAccountInternetEndpoints,
StorageAccountMicrosoftEndpoints,
TagProperty,
TrackedResource,
UpdateHistoryProperty,
VirtualNetworkRule
} from "../models/mappers";
2 changes: 2 additions & 0 deletions sdk/storage/arm-storage/src/models/fileServicesMappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ export {
DateAfterModification,
DeleteRetentionPolicy,
Encryption,
EncryptionScope,
EncryptionScopeKeyVaultProperties,
EncryptionService,
EncryptionServices,
Endpoints,
Expand Down
2 changes: 2 additions & 0 deletions sdk/storage/arm-storage/src/models/fileSharesMappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ export {
DateAfterModification,
DeleteRetentionPolicy,
Encryption,
EncryptionScope,
EncryptionScopeKeyVaultProperties,
EncryptionService,
EncryptionServices,
Endpoints,
Expand Down
181 changes: 180 additions & 1 deletion sdk/storage/arm-storage/src/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1458,6 +1458,50 @@ export interface PrivateLinkResourceListResult {
value?: PrivateLinkResource[];
}

/**
* The key vault properties for the encryption scope. This is a required field if encryption scope
* 'source' attribute is set to 'Microsoft.KeyVault'.
*/
export interface EncryptionScopeKeyVaultProperties {
/**
* The object identifier for a key vault key object. When applied, the encryption scope will use
* the key referenced by the identifier to enable customer-managed key support on this encryption
* scope.
*/
keyUri?: string;
}

/**
* The Encryption Scope resource.
*/
export interface EncryptionScope extends Resource {
/**
* The provider for the encryption scope. Possible values (case-insensitive): Microsoft.Storage,
* Microsoft.KeyVault. Possible values include: 'Microsoft.Storage', 'Microsoft.KeyVault'
*/
source?: EncryptionScopeSource;
/**
* The state of the encryption scope. Possible values (case-insensitive): Enabled, Disabled.
* Possible values include: 'Enabled', 'Disabled'
*/
state?: EncryptionScopeState;
/**
* Gets the creation date and time of the encryption scope in UTC.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly creationTime?: Date;
/**
* Gets the last modification date and time of the encryption scope in UTC.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly lastModifiedTime?: Date;
/**
* The key vault properties for the encryption scope. This is a required field if encryption
* scope 'source' attribute is set to 'Microsoft.KeyVault'.
*/
keyVaultProperties?: EncryptionScopeKeyVaultProperties;
}

/**
* An error response from the storage resource provider.
*/
Expand Down Expand Up @@ -1863,7 +1907,11 @@ export interface BlobServiceProperties extends Resource {
*/
deleteRetentionPolicy?: DeleteRetentionPolicy;
/**
* Automatic Snapshot is enabled if set to true.
* Versioning is enabled if set to true.
*/
isVersioningEnabled?: boolean;
/**
* Deprecated in favor of isVersioningEnabled property.
*/
automaticSnapshotPolicyEnabled?: boolean;
/**
Expand Down Expand Up @@ -2264,6 +2312,21 @@ export interface StorageAccountListResult extends Array<StorageAccount> {
export interface UsageListResult extends Array<Usage> {
}

/**
* @interface
* List of encryption scopes requested, and if paging is required, a URL to the next page of
* encryption scopes.
* @extends Array<EncryptionScope>
*/
export interface EncryptionScopeListResult extends Array<EncryptionScope> {
/**
* Request URL that can be used to query next page of encryption scopes. Returned when total
* number of requested encryption scopes exceeds the maximum page size.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly nextLink?: string;
}

/**
* @interface
* An interface representing the BlobServiceItems.
Expand Down Expand Up @@ -2530,6 +2593,22 @@ export type HttpProtocol = 'https,http' | 'https';
*/
export type SignedResource = 'b' | 'c' | 'f' | 's';

/**
* Defines values for EncryptionScopeSource.
* Possible values include: 'Microsoft.Storage', 'Microsoft.KeyVault'
* @readonly
* @enum {string}
*/
export type EncryptionScopeSource = 'Microsoft.Storage' | 'Microsoft.KeyVault';

/**
* Defines values for EncryptionScopeState.
* Possible values include: 'Enabled', 'Disabled'
* @readonly
* @enum {string}
*/
export type EncryptionScopeState = 'Enabled' | 'Disabled';

/**
* Defines values for PublicAccess.
* Possible values include: 'Container', 'Blob', 'None'
Expand Down Expand Up @@ -3042,6 +3121,106 @@ export type PrivateLinkResourcesListByStorageAccountResponse = PrivateLinkResour
};
};

/**
* Contains response data for the put operation.
*/
export type EncryptionScopesPutResponse = EncryptionScope & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
/**
* The response body as text (string format)
*/
bodyAsText: string;

/**
* The response body as parsed JSON or XML
*/
parsedBody: EncryptionScope;
};
};

/**
* Contains response data for the patch operation.
*/
export type EncryptionScopesPatchResponse = EncryptionScope & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
/**
* The response body as text (string format)
*/
bodyAsText: string;

/**
* The response body as parsed JSON or XML
*/
parsedBody: EncryptionScope;
};
};

/**
* Contains response data for the get operation.
*/
export type EncryptionScopesGetResponse = EncryptionScope & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
/**
* The response body as text (string format)
*/
bodyAsText: string;

/**
* The response body as parsed JSON or XML
*/
parsedBody: EncryptionScope;
};
};

/**
* Contains response data for the list operation.
*/
export type EncryptionScopesListResponse = EncryptionScopeListResult & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
/**
* The response body as text (string format)
*/
bodyAsText: string;

/**
* The response body as parsed JSON or XML
*/
parsedBody: EncryptionScopeListResult;
};
};

/**
* Contains response data for the listNext operation.
*/
export type EncryptionScopesListNextResponse = EncryptionScopeListResult & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
/**
* The response body as text (string format)
*/
bodyAsText: string;

/**
* The response body as parsed JSON or XML
*/
parsedBody: EncryptionScopeListResult;
};
};

/**
* Contains response data for the list operation.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ export {
DateAfterModification,
DeleteRetentionPolicy,
Encryption,
EncryptionScope,
EncryptionScopeKeyVaultProperties,
EncryptionService,
EncryptionServices,
Endpoints,
Expand Down
Loading

0 comments on commit ac7741a

Please sign in to comment.