Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export class AzureDigitalTwinsManagementClientContext extends msRestAzure.AzureS

super(credentials, options);

this.apiVersion = '2020-03-01-preview';
this.apiVersion = '2020-10-31';
this.acceptLanguage = 'en-US';
this.longRunningOperationRetryTimeout = 30;
this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ export {
DigitalTwinsEndpointResourceListResult,
DigitalTwinsEndpointResourceProperties,
DigitalTwinsResource,
DigitalTwinsSkuInfo,
ErrorDefinition,
ErrorResponse,
EventGrid,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ export {
DigitalTwinsEndpointResourceProperties,
DigitalTwinsPatchDescription,
DigitalTwinsResource,
DigitalTwinsSkuInfo,
ErrorDefinition,
ErrorResponse,
EventGrid,
Expand Down
86 changes: 44 additions & 42 deletions sdk/digitaltwins/arm-digitaltwins/src/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,6 @@ import * as msRest from "@azure/ms-rest-js";

export { BaseResource, CloudError };

/**
* Information about the SKU of the DigitalTwinsInstance.
*/
export interface DigitalTwinsSkuInfo {
}

/**
* The common properties of a DigitalTwinsInstance.
*/
Expand Down Expand Up @@ -56,13 +50,13 @@ export interface DigitalTwinsDescription extends DigitalTwinsResource {
*/
readonly createdTime?: Date;
/**
* Time when DigitalTwinsInstance was created.
* Time when DigitalTwinsInstance was updated.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly lastUpdatedTime?: Date;
/**
* The provisioning state. Possible values include: 'Provisioning', 'Deleting', 'Succeeded',
* 'Failed', 'Canceled'
* 'Failed', 'Canceled', 'Deleted', 'Warning', 'Suspending', 'Restoring', 'Moving'
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly provisioningState?: ProvisioningState;
Expand Down Expand Up @@ -153,6 +147,16 @@ export interface Operation {
* Operation properties display
*/
display?: OperationDisplay;
/**
* The intended executor of the operation.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly origin?: string;
/**
* If the operation is a data action (for data plane rbac).
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly isDataAction?: boolean;
}

/**
Expand All @@ -173,10 +177,6 @@ export interface CheckNameResult {
* Specifies a Boolean value that indicates if the name is available.
*/
nameAvailable?: boolean;
/**
* The name that was checked.
*/
name?: string;
/**
* Message indicating an unavailable name due to a conflict, or a description of the naming rules
* that are violated.
Expand All @@ -190,7 +190,7 @@ export interface CheckNameResult {
}

/**
* Definition of a Resource.
* Definition of a resource.
*/
export interface ExternalResource {
/**
Expand Down Expand Up @@ -225,7 +225,7 @@ export interface DigitalTwinsEndpointResourceProperties {
endpointType: "DigitalTwinsEndpointResourceProperties";
/**
* The provisioning state. Possible values include: 'Provisioning', 'Deleting', 'Succeeded',
* 'Failed', 'Canceled'
* 'Failed', 'Canceled', 'Deleted', 'Warning', 'Suspending', 'Restoring', 'Moving', 'Disabled'
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly provisioningState?: EndpointProvisioningState;
Expand All @@ -235,9 +235,9 @@ export interface DigitalTwinsEndpointResourceProperties {
*/
readonly createdTime?: Date;
/**
* The resource tags.
* Dead letter storage secret. Will be obfuscated during read.
*/
tags?: { [propertyName: string]: string };
deadLetterSecret?: string;
}

/**
Expand All @@ -251,7 +251,7 @@ export interface DigitalTwinsEndpointResource extends BaseResource {
}

/**
* properties related to servicebus.
* Properties related to ServiceBus.
*/
export interface ServiceBus {
/**
Expand All @@ -260,7 +260,7 @@ export interface ServiceBus {
endpointType: "ServiceBus";
/**
* The provisioning state. Possible values include: 'Provisioning', 'Deleting', 'Succeeded',
* 'Failed', 'Canceled'
* 'Failed', 'Canceled', 'Deleted', 'Warning', 'Suspending', 'Restoring', 'Moving', 'Disabled'
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly provisioningState?: EndpointProvisioningState;
Expand All @@ -270,21 +270,21 @@ export interface ServiceBus {
*/
readonly createdTime?: Date;
/**
* The resource tags.
* Dead letter storage secret. Will be obfuscated during read.
*/
tags?: { [propertyName: string]: string };
deadLetterSecret?: string;
/**
* PrimaryConnectionString of the endpoint. Will be obfuscated during read
* PrimaryConnectionString of the endpoint. Will be obfuscated during read.
*/
primaryConnectionString: string;
/**
* SecondaryConnectionString of the endpoint. Will be obfuscated during read
* SecondaryConnectionString of the endpoint. Will be obfuscated during read.
*/
secondaryConnectionString: string;
secondaryConnectionString?: string;
}

/**
* properties related to eventhub.
* Properties related to EventHub.
*/
export interface EventHub {
/**
Expand All @@ -293,7 +293,7 @@ export interface EventHub {
endpointType: "EventHub";
/**
* The provisioning state. Possible values include: 'Provisioning', 'Deleting', 'Succeeded',
* 'Failed', 'Canceled'
* 'Failed', 'Canceled', 'Deleted', 'Warning', 'Suspending', 'Restoring', 'Moving', 'Disabled'
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly provisioningState?: EndpointProvisioningState;
Expand All @@ -303,21 +303,21 @@ export interface EventHub {
*/
readonly createdTime?: Date;
/**
* The resource tags.
* Dead letter storage secret. Will be obfuscated during read.
*/
tags?: { [propertyName: string]: string };
deadLetterSecret?: string;
/**
* PrimaryConnectionString of the endpoint. Will be obfuscated during read
* PrimaryConnectionString of the endpoint. Will be obfuscated during read.
*/
connectionStringPrimaryKey: string;
/**
* SecondaryConnectionString of the endpoint. Will be obfuscated during read
* SecondaryConnectionString of the endpoint. Will be obfuscated during read.
*/
connectionStringSecondaryKey: string;
connectionStringSecondaryKey?: string;
}

/**
* properties related to eventgrid.
* Properties related to EventGrid.
*/
export interface EventGrid {
/**
Expand All @@ -326,7 +326,7 @@ export interface EventGrid {
endpointType: "EventGrid";
/**
* The provisioning state. Possible values include: 'Provisioning', 'Deleting', 'Succeeded',
* 'Failed', 'Canceled'
* 'Failed', 'Canceled', 'Deleted', 'Warning', 'Suspending', 'Restoring', 'Moving', 'Disabled'
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly provisioningState?: EndpointProvisioningState;
Expand All @@ -336,21 +336,21 @@ export interface EventGrid {
*/
readonly createdTime?: Date;
/**
* The resource tags.
* Dead letter storage secret. Will be obfuscated during read.
*/
tags?: { [propertyName: string]: string };
deadLetterSecret?: string;
/**
* EventGrid Topic Endpoint
*/
topicEndpoint?: string;
topicEndpoint: string;
/**
* EventGrid secondary accesskey. Will be obfuscated during read
* EventGrid secondary accesskey. Will be obfuscated during read.
*/
accessKey1: string;
/**
* EventGrid secondary accesskey. Will be obfuscated during read
* EventGrid secondary accesskey. Will be obfuscated during read.
*/
accessKey2: string;
accessKey2?: string;
}

/**
Expand Down Expand Up @@ -439,11 +439,12 @@ export interface OperationListResult extends Array<Operation> {

/**
* Defines values for ProvisioningState.
* Possible values include: 'Provisioning', 'Deleting', 'Succeeded', 'Failed', 'Canceled'
* Possible values include: 'Provisioning', 'Deleting', 'Succeeded', 'Failed', 'Canceled',
* 'Deleted', 'Warning', 'Suspending', 'Restoring', 'Moving'
* @readonly
* @enum {string}
*/
export type ProvisioningState = 'Provisioning' | 'Deleting' | 'Succeeded' | 'Failed' | 'Canceled';
export type ProvisioningState = 'Provisioning' | 'Deleting' | 'Succeeded' | 'Failed' | 'Canceled' | 'Deleted' | 'Warning' | 'Suspending' | 'Restoring' | 'Moving';

/**
* Defines values for Reason.
Expand All @@ -455,11 +456,12 @@ export type Reason = 'Invalid' | 'AlreadyExists';

/**
* Defines values for EndpointProvisioningState.
* Possible values include: 'Provisioning', 'Deleting', 'Succeeded', 'Failed', 'Canceled'
* Possible values include: 'Provisioning', 'Deleting', 'Succeeded', 'Failed', 'Canceled',
* 'Deleted', 'Warning', 'Suspending', 'Restoring', 'Moving', 'Disabled'
* @readonly
* @enum {string}
*/
export type EndpointProvisioningState = 'Provisioning' | 'Deleting' | 'Succeeded' | 'Failed' | 'Canceled';
export type EndpointProvisioningState = 'Provisioning' | 'Deleting' | 'Succeeded' | 'Failed' | 'Canceled' | 'Deleted' | 'Warning' | 'Suspending' | 'Restoring' | 'Moving' | 'Disabled';

/**
* Contains response data for the get operation.
Expand Down
Loading