diff --git a/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/IWorkflowTriggersOperations.cs b/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/IWorkflowTriggersOperations.cs index 0daf9dc43e2f..025ca103811f 100644 --- a/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/IWorkflowTriggersOperations.cs +++ b/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/IWorkflowTriggersOperations.cs @@ -123,13 +123,13 @@ public partial interface IWorkflowTriggersOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// /// Thrown when a required parameter is null /// - Task> RunWithHttpMessagesAsync(string resourceGroupName, string workflowName, string triggerName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task RunWithHttpMessagesAsync(string resourceGroupName, string workflowName, string triggerName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// Get the trigger schema as JSON. /// diff --git a/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/IWorkflowsOperations.cs b/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/IWorkflowsOperations.cs index aea8bbc88cf0..99b5ced22ad2 100644 --- a/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/IWorkflowsOperations.cs +++ b/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/IWorkflowsOperations.cs @@ -133,9 +133,6 @@ public partial interface IWorkflowsOperations /// /// The workflow name. /// - /// - /// The workflow. - /// /// /// The headers that will be added to request. /// @@ -151,7 +148,7 @@ public partial interface IWorkflowsOperations /// /// Thrown when a required parameter is null /// - Task> UpdateWithHttpMessagesAsync(string resourceGroupName, string workflowName, Workflow workflow, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> UpdateWithHttpMessagesAsync(string resourceGroupName, string workflowName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// Deletes a workflow. /// @@ -323,7 +320,7 @@ public partial interface IWorkflowsOperations /// /// Thrown when a required parameter is null /// - Task MoveWithHttpMessagesAsync(string resourceGroupName, string workflowName, Workflow move, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task MoveWithHttpMessagesAsync(string resourceGroupName, string workflowName, WorkflowReference move, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// Regenerates the callback URL access key for request triggers. /// @@ -386,8 +383,8 @@ public partial interface IWorkflowsOperations /// /// The workflow name. /// - /// - /// The workflow definition. + /// + /// The workflow. /// /// /// The headers that will be added to request. @@ -401,7 +398,7 @@ public partial interface IWorkflowsOperations /// /// Thrown when a required parameter is null /// - Task ValidateByLocationWithHttpMessagesAsync(string resourceGroupName, string location, string workflowName, Workflow workflow, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task ValidateByLocationWithHttpMessagesAsync(string resourceGroupName, string location, string workflowName, Workflow validate, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// Moves an existing workflow. /// @@ -426,7 +423,7 @@ public partial interface IWorkflowsOperations /// /// Thrown when a required parameter is null /// - Task BeginMoveWithHttpMessagesAsync(string resourceGroupName, string workflowName, Workflow move, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task BeginMoveWithHttpMessagesAsync(string resourceGroupName, string workflowName, WorkflowReference move, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// Gets a list of workflows by subscription. /// diff --git a/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/Models/ApiResourceMetadata.cs b/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/Models/ApiResourceMetadata.cs index e2305c004dc0..3decd34be30e 100644 --- a/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/Models/ApiResourceMetadata.cs +++ b/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/Models/ApiResourceMetadata.cs @@ -46,7 +46,8 @@ public ApiResourceMetadata() /// values include: 'NotSpecified', 'Accepted', 'Running', 'Ready', /// 'Creating', 'Created', 'Deleting', 'Deleted', 'Canceled', 'Failed', /// 'Succeeded', 'Moving', 'Updating', 'Registering', 'Registered', - /// 'Unregistering', 'Unregistered', 'Completed' + /// 'Unregistering', 'Unregistered', 'Completed', 'Renewing', + /// 'Pending', 'Waiting', 'InProgress' /// The connector deployment /// parameters metadata. public ApiResourceMetadata(string source = default(string), string brandColor = default(string), string hideKey = default(string), IDictionary tags = default(IDictionary), string apiType = default(string), WsdlService wsdlService = default(WsdlService), string wsdlImportMethod = default(string), string connectionType = default(string), string provisioningState = default(string), ApiDeploymentParameterMetadataSet deploymentParameters = default(ApiDeploymentParameterMetadataSet)) @@ -124,7 +125,8 @@ public ApiResourceMetadata() /// 'NotSpecified', 'Accepted', 'Running', 'Ready', 'Creating', /// 'Created', 'Deleting', 'Deleted', 'Canceled', 'Failed', /// 'Succeeded', 'Moving', 'Updating', 'Registering', 'Registered', - /// 'Unregistering', 'Unregistered', 'Completed' + /// 'Unregistering', 'Unregistered', 'Completed', 'Renewing', + /// 'Pending', 'Waiting', 'InProgress' /// [JsonProperty(PropertyName = "provisioningState")] public string ProvisioningState { get; set; } diff --git a/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/Models/ApiResourceProperties.cs b/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/Models/ApiResourceProperties.cs index 5bf4089f5644..936de578de8a 100644 --- a/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/Models/ApiResourceProperties.cs +++ b/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/Models/ApiResourceProperties.cs @@ -49,7 +49,8 @@ public ApiResourceProperties() /// values include: 'NotSpecified', 'Accepted', 'Running', 'Ready', /// 'Creating', 'Created', 'Deleting', 'Deleted', 'Canceled', 'Failed', /// 'Succeeded', 'Moving', 'Updating', 'Registering', 'Registered', - /// 'Unregistering', 'Unregistered', 'Completed' + /// 'Unregistering', 'Unregistered', 'Completed', 'Renewing', + /// 'Pending', 'Waiting', 'InProgress' /// The category. Possible values include: /// 'NotSpecified', 'Enterprise', 'Standard', 'Premium' public ApiResourceProperties(string name = default(string), IDictionary connectionParameters = default(IDictionary), ApiResourceMetadata metadata = default(ApiResourceMetadata), IList runtimeUrls = default(IList), ApiResourceGeneralInformation generalInformation = default(ApiResourceGeneralInformation), IList capabilities = default(IList), ApiResourceBackendService backendService = default(ApiResourceBackendService), ApiResourcePolicies policies = default(ApiResourcePolicies), string apiDefinitionUrl = default(string), ApiResourceDefinitions apiDefinitions = default(ApiResourceDefinitions), ResourceReference integrationServiceEnvironment = default(ResourceReference), string provisioningState = default(string), string category = default(string)) @@ -146,7 +147,8 @@ public ApiResourceProperties() /// 'NotSpecified', 'Accepted', 'Running', 'Ready', 'Creating', /// 'Created', 'Deleting', 'Deleted', 'Canceled', 'Failed', /// 'Succeeded', 'Moving', 'Updating', 'Registering', 'Registered', - /// 'Unregistering', 'Unregistered', 'Completed' + /// 'Unregistering', 'Unregistered', 'Completed', 'Renewing', + /// 'Pending', 'Waiting', 'InProgress' /// [JsonProperty(PropertyName = "provisioningState")] public string ProvisioningState { get; set; } diff --git a/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/Models/FlowAccessControlConfiguration.cs b/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/Models/FlowAccessControlConfiguration.cs new file mode 100644 index 000000000000..6afa2772e651 --- /dev/null +++ b/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/Models/FlowAccessControlConfiguration.cs @@ -0,0 +1,84 @@ +// +// 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. +// + +namespace Microsoft.Azure.Management.Logic.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// The access control configuration. + /// + public partial class FlowAccessControlConfiguration + { + /// + /// Initializes a new instance of the FlowAccessControlConfiguration + /// class. + /// + public FlowAccessControlConfiguration() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the FlowAccessControlConfiguration + /// class. + /// + /// The access control configuration for + /// invoking workflow triggers. + /// The access control configuration for + /// accessing workflow run contents. + /// The access control configuration for workflow + /// actions. + /// The access control configuration + /// for workflow management. + public FlowAccessControlConfiguration(FlowAccessControlConfigurationPolicy triggers = default(FlowAccessControlConfigurationPolicy), FlowAccessControlConfigurationPolicy contents = default(FlowAccessControlConfigurationPolicy), FlowAccessControlConfigurationPolicy actions = default(FlowAccessControlConfigurationPolicy), FlowAccessControlConfigurationPolicy workflowManagement = default(FlowAccessControlConfigurationPolicy)) + { + Triggers = triggers; + Contents = contents; + Actions = actions; + WorkflowManagement = workflowManagement; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets the access control configuration for invoking workflow + /// triggers. + /// + [JsonProperty(PropertyName = "triggers")] + public FlowAccessControlConfigurationPolicy Triggers { get; set; } + + /// + /// Gets or sets the access control configuration for accessing + /// workflow run contents. + /// + [JsonProperty(PropertyName = "contents")] + public FlowAccessControlConfigurationPolicy Contents { get; set; } + + /// + /// Gets or sets the access control configuration for workflow actions. + /// + [JsonProperty(PropertyName = "actions")] + public FlowAccessControlConfigurationPolicy Actions { get; set; } + + /// + /// Gets or sets the access control configuration for workflow + /// management. + /// + [JsonProperty(PropertyName = "workflowManagement")] + public FlowAccessControlConfigurationPolicy WorkflowManagement { get; set; } + + } +} diff --git a/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/Models/FlowAccessControlConfigurationPolicy.cs b/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/Models/FlowAccessControlConfigurationPolicy.cs new file mode 100644 index 000000000000..62801cd8b822 --- /dev/null +++ b/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/Models/FlowAccessControlConfigurationPolicy.cs @@ -0,0 +1,65 @@ +// +// 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. +// + +namespace Microsoft.Azure.Management.Logic.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// The access control configuration policy. + /// + public partial class FlowAccessControlConfigurationPolicy + { + /// + /// Initializes a new instance of the + /// FlowAccessControlConfigurationPolicy class. + /// + public FlowAccessControlConfigurationPolicy() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the + /// FlowAccessControlConfigurationPolicy class. + /// + /// The allowed caller IP + /// address ranges. + /// The authentication + /// policies for workflow. + public FlowAccessControlConfigurationPolicy(IList allowedCallerIpAddresses = default(IList), OpenAuthenticationAccessPolicies openAuthenticationPolicies = default(OpenAuthenticationAccessPolicies)) + { + AllowedCallerIpAddresses = allowedCallerIpAddresses; + OpenAuthenticationPolicies = openAuthenticationPolicies; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets the allowed caller IP address ranges. + /// + [JsonProperty(PropertyName = "allowedCallerIpAddresses")] + public IList AllowedCallerIpAddresses { get; set; } + + /// + /// Gets or sets the authentication policies for workflow. + /// + [JsonProperty(PropertyName = "openAuthenticationPolicies")] + public OpenAuthenticationAccessPolicies OpenAuthenticationPolicies { get; set; } + + } +} diff --git a/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/Models/IntegrationAccount.cs b/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/Models/IntegrationAccount.cs index 0406ec7d4ca4..f5a13cd7c25e 100644 --- a/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/Models/IntegrationAccount.cs +++ b/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/Models/IntegrationAccount.cs @@ -39,18 +39,16 @@ public IntegrationAccount() /// Gets the resource type. /// The resource location. /// The resource tags. - /// The integration account properties. /// The integration service /// environment. /// The workflow state. Possible values include: /// 'NotSpecified', 'Completed', 'Enabled', 'Disabled', 'Deleted', /// 'Suspended' /// The sku. - public IntegrationAccount(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary tags = default(IDictionary), object properties = default(object), IntegrationServiceEnvironment integrationServiceEnvironment = default(IntegrationServiceEnvironment), string state = default(string), IntegrationAccountSku sku = default(IntegrationAccountSku)) + public IntegrationAccount(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary tags = default(IDictionary), IntegrationServiceEnvironment integrationServiceEnvironment = default(IntegrationServiceEnvironment), string state = default(string), IntegrationAccountSku sku = default(IntegrationAccountSku)) : base(id, name, type, location, tags) { IntegrationServiceEnvironment = integrationServiceEnvironment; - Properties = properties; State = state; Sku = sku; CustomInit(); @@ -61,13 +59,6 @@ public IntegrationAccount() /// partial void CustomInit(); - - /// - /// Gets or sets the integration account properties. - /// - [JsonProperty(PropertyName = "properties")] - public object Properties { get; set; } - /// /// Gets or sets the integration service environment. /// diff --git a/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/Models/IntegrationServiceEnvironmenEncryptionConfiguration.cs b/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/Models/IntegrationServiceEnvironmenEncryptionConfiguration.cs new file mode 100644 index 000000000000..4546988fcf94 --- /dev/null +++ b/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/Models/IntegrationServiceEnvironmenEncryptionConfiguration.cs @@ -0,0 +1,54 @@ +// +// 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. +// + +namespace Microsoft.Azure.Management.Logic.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// The encryption configuration for the integration service environment. + /// + public partial class IntegrationServiceEnvironmenEncryptionConfiguration + { + /// + /// Initializes a new instance of the + /// IntegrationServiceEnvironmenEncryptionConfiguration class. + /// + public IntegrationServiceEnvironmenEncryptionConfiguration() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the + /// IntegrationServiceEnvironmenEncryptionConfiguration class. + /// + /// The encryption key + /// reference. + public IntegrationServiceEnvironmenEncryptionConfiguration(IntegrationServiceEnvironmenEncryptionKeyReference encryptionKeyReference = default(IntegrationServiceEnvironmenEncryptionKeyReference)) + { + EncryptionKeyReference = encryptionKeyReference; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets the encryption key reference. + /// + [JsonProperty(PropertyName = "encryptionKeyReference")] + public IntegrationServiceEnvironmenEncryptionKeyReference EncryptionKeyReference { get; set; } + + } +} diff --git a/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/Models/IntegrationServiceEnvironmenEncryptionKeyReference.cs b/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/Models/IntegrationServiceEnvironmenEncryptionKeyReference.cs new file mode 100644 index 000000000000..53399e099080 --- /dev/null +++ b/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/Models/IntegrationServiceEnvironmenEncryptionKeyReference.cs @@ -0,0 +1,70 @@ +// +// 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. +// + +namespace Microsoft.Azure.Management.Logic.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// The encryption key details for the integration service environment. + /// + public partial class IntegrationServiceEnvironmenEncryptionKeyReference + { + /// + /// Initializes a new instance of the + /// IntegrationServiceEnvironmenEncryptionKeyReference class. + /// + public IntegrationServiceEnvironmenEncryptionKeyReference() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the + /// IntegrationServiceEnvironmenEncryptionKeyReference class. + /// + /// The key vault reference. + /// Gets the key name in the Key Vault. + /// Gets the version of the key specified in + /// the keyName property. + public IntegrationServiceEnvironmenEncryptionKeyReference(ResourceReference keyVault = default(ResourceReference), string keyName = default(string), string keyVersion = default(string)) + { + KeyVault = keyVault; + KeyName = keyName; + KeyVersion = keyVersion; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets the key vault reference. + /// + [JsonProperty(PropertyName = "keyVault")] + public ResourceReference KeyVault { get; set; } + + /// + /// Gets the key name in the Key Vault. + /// + [JsonProperty(PropertyName = "keyName")] + public string KeyName { get; set; } + + /// + /// Gets the version of the key specified in the keyName property. + /// + [JsonProperty(PropertyName = "keyVersion")] + public string KeyVersion { get; set; } + + } +} diff --git a/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/Models/IntegrationServiceEnvironmentProperties.cs b/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/Models/IntegrationServiceEnvironmentProperties.cs index 5c3ad225dce2..cc1c6b4c008e 100644 --- a/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/Models/IntegrationServiceEnvironmentProperties.cs +++ b/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/Models/IntegrationServiceEnvironmentProperties.cs @@ -35,7 +35,8 @@ public IntegrationServiceEnvironmentProperties() /// values include: 'NotSpecified', 'Accepted', 'Running', 'Ready', /// 'Creating', 'Created', 'Deleting', 'Deleted', 'Canceled', 'Failed', /// 'Succeeded', 'Moving', 'Updating', 'Registering', 'Registered', - /// 'Unregistering', 'Unregistered', 'Completed' + /// 'Unregistering', 'Unregistered', 'Completed', 'Renewing', + /// 'Pending', 'Waiting', 'InProgress' /// The integration service environment state. /// Possible values include: 'NotSpecified', 'Completed', 'Enabled', /// 'Disabled', 'Deleted', 'Suspended' @@ -45,13 +46,16 @@ public IntegrationServiceEnvironmentProperties() /// configuration. /// The network /// configuration. - public IntegrationServiceEnvironmentProperties(string provisioningState = default(string), string state = default(string), string integrationServiceEnvironmentId = default(string), FlowEndpointsConfiguration endpointsConfiguration = default(FlowEndpointsConfiguration), NetworkConfiguration networkConfiguration = default(NetworkConfiguration)) + /// The encryption + /// configuration. + public IntegrationServiceEnvironmentProperties(string provisioningState = default(string), string state = default(string), string integrationServiceEnvironmentId = default(string), FlowEndpointsConfiguration endpointsConfiguration = default(FlowEndpointsConfiguration), NetworkConfiguration networkConfiguration = default(NetworkConfiguration), IntegrationServiceEnvironmenEncryptionConfiguration encryptionConfiguration = default(IntegrationServiceEnvironmenEncryptionConfiguration)) { ProvisioningState = provisioningState; State = state; IntegrationServiceEnvironmentId = integrationServiceEnvironmentId; EndpointsConfiguration = endpointsConfiguration; NetworkConfiguration = networkConfiguration; + EncryptionConfiguration = encryptionConfiguration; CustomInit(); } @@ -65,7 +69,8 @@ public IntegrationServiceEnvironmentProperties() /// 'NotSpecified', 'Accepted', 'Running', 'Ready', 'Creating', /// 'Created', 'Deleting', 'Deleted', 'Canceled', 'Failed', /// 'Succeeded', 'Moving', 'Updating', 'Registering', 'Registered', - /// 'Unregistering', 'Unregistered', 'Completed' + /// 'Unregistering', 'Unregistered', 'Completed', 'Renewing', + /// 'Pending', 'Waiting', 'InProgress' /// [JsonProperty(PropertyName = "provisioningState")] public string ProvisioningState { get; set; } @@ -96,5 +101,11 @@ public IntegrationServiceEnvironmentProperties() [JsonProperty(PropertyName = "networkConfiguration")] public NetworkConfiguration NetworkConfiguration { get; set; } + /// + /// Gets or sets the encryption configuration. + /// + [JsonProperty(PropertyName = "encryptionConfiguration")] + public IntegrationServiceEnvironmenEncryptionConfiguration EncryptionConfiguration { get; set; } + } } diff --git a/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/Models/IpAddressRange.cs b/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/Models/IpAddressRange.cs new file mode 100644 index 000000000000..f53d7b9b014d --- /dev/null +++ b/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/Models/IpAddressRange.cs @@ -0,0 +1,51 @@ +// +// 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. +// + +namespace Microsoft.Azure.Management.Logic.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// The ip address range. + /// + public partial class IpAddressRange + { + /// + /// Initializes a new instance of the IpAddressRange class. + /// + public IpAddressRange() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the IpAddressRange class. + /// + /// The IP address range. + public IpAddressRange(string addressRange = default(string)) + { + AddressRange = addressRange; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets the IP address range. + /// + [JsonProperty(PropertyName = "addressRange")] + public string AddressRange { get; set; } + + } +} diff --git a/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/Models/OpenAuthenticationAccessPolicies.cs b/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/Models/OpenAuthenticationAccessPolicies.cs new file mode 100644 index 000000000000..2d01966172f0 --- /dev/null +++ b/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/Models/OpenAuthenticationAccessPolicies.cs @@ -0,0 +1,55 @@ +// +// 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. +// + +namespace Microsoft.Azure.Management.Logic.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// AuthenticationPolicy of type Open. + /// + public partial class OpenAuthenticationAccessPolicies + { + /// + /// Initializes a new instance of the OpenAuthenticationAccessPolicies + /// class. + /// + public OpenAuthenticationAccessPolicies() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the OpenAuthenticationAccessPolicies + /// class. + /// + /// Open authentication policies. + public OpenAuthenticationAccessPolicies(IDictionary policies = default(IDictionary)) + { + Policies = policies; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets open authentication policies. + /// + [JsonProperty(PropertyName = "policies")] + public IDictionary Policies { get; set; } + + } +} diff --git a/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/Models/OpenAuthenticationAccessPolicy.cs b/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/Models/OpenAuthenticationAccessPolicy.cs new file mode 100644 index 000000000000..c490ba1df0ea --- /dev/null +++ b/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/Models/OpenAuthenticationAccessPolicy.cs @@ -0,0 +1,64 @@ +// +// 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. +// + +namespace Microsoft.Azure.Management.Logic.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Open authentication access policy defined by user. + /// + public partial class OpenAuthenticationAccessPolicy + { + /// + /// Initializes a new instance of the OpenAuthenticationAccessPolicy + /// class. + /// + public OpenAuthenticationAccessPolicy() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the OpenAuthenticationAccessPolicy + /// class. + /// + /// Type of provider for OAuth. Possible values + /// include: 'AAD' + /// The access policy claims. + public OpenAuthenticationAccessPolicy(string type = default(string), IList claims = default(IList)) + { + Type = type; + Claims = claims; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets type of provider for OAuth. Possible values include: 'AAD' + /// + [JsonProperty(PropertyName = "type")] + public string Type { get; private set; } + + /// + /// Gets or sets the access policy claims. + /// + [JsonProperty(PropertyName = "claims")] + public IList Claims { get; set; } + + } +} diff --git a/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/Models/OpenAuthenticationPolicyClaim.cs b/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/Models/OpenAuthenticationPolicyClaim.cs new file mode 100644 index 000000000000..2cc7390faa14 --- /dev/null +++ b/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/Models/OpenAuthenticationPolicyClaim.cs @@ -0,0 +1,61 @@ +// +// 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. +// + +namespace Microsoft.Azure.Management.Logic.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// Open authentication policy claim. + /// + public partial class OpenAuthenticationPolicyClaim + { + /// + /// Initializes a new instance of the OpenAuthenticationPolicyClaim + /// class. + /// + public OpenAuthenticationPolicyClaim() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the OpenAuthenticationPolicyClaim + /// class. + /// + /// The name of the claim. + /// The value of the claim. + public OpenAuthenticationPolicyClaim(string name = default(string), string value = default(string)) + { + Name = name; + Value = value; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets the name of the claim. + /// + [JsonProperty(PropertyName = "name")] + public string Name { get; set; } + + /// + /// Gets or sets the value of the claim. + /// + [JsonProperty(PropertyName = "value")] + public string Value { get; set; } + + } +} diff --git a/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/Models/OpenAuthenticationProviderType.cs b/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/Models/OpenAuthenticationProviderType.cs new file mode 100644 index 000000000000..561ffdb15f59 --- /dev/null +++ b/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/Models/OpenAuthenticationProviderType.cs @@ -0,0 +1,21 @@ +// +// 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. +// + +namespace Microsoft.Azure.Management.Logic.Models +{ + + /// + /// Defines values for OpenAuthenticationProviderType. + /// + public static class OpenAuthenticationProviderType + { + public const string AAD = "AAD"; + } +} diff --git a/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/Models/Operation.cs b/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/Models/Operation.cs index 363bc4506890..ba0cc2cbed53 100644 --- a/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/Models/Operation.cs +++ b/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/Models/Operation.cs @@ -29,14 +29,18 @@ public Operation() /// /// Initializes a new instance of the Operation class. /// + /// Operation: origin /// Operation name: /// {provider}/{resource}/{operation} /// The object that represents the /// operation. - public Operation(string name = default(string), OperationDisplay display = default(OperationDisplay)) + /// The properties. + public Operation(string origin = default(string), string name = default(string), OperationDisplay display = default(OperationDisplay), object properties = default(object)) { + Origin = origin; Name = name; Display = display; + Properties = properties; CustomInit(); } @@ -45,6 +49,12 @@ public Operation() /// partial void CustomInit(); + /// + /// Gets or sets operation: origin + /// + [JsonProperty(PropertyName = "origin")] + public string Origin { get; set; } + /// /// Gets or sets operation name: {provider}/{resource}/{operation} /// @@ -57,5 +67,11 @@ public Operation() [JsonProperty(PropertyName = "display")] public OperationDisplay Display { get; set; } + /// + /// Gets or sets the properties. + /// + [JsonProperty(PropertyName = "properties")] + public object Properties { get; set; } + } } diff --git a/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/Models/OperationDisplay.cs b/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/Models/OperationDisplay.cs index 7c60ed299944..56504cfc0f63 100644 --- a/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/Models/OperationDisplay.cs +++ b/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/Models/OperationDisplay.cs @@ -34,11 +34,13 @@ public OperationDisplay() /// performed: Profile, endpoint, etc. /// Operation type: Read, write, delete, /// etc. - public OperationDisplay(string provider = default(string), string resource = default(string), string operation = default(string)) + /// Operation: description. + public OperationDisplay(string provider = default(string), string resource = default(string), string operation = default(string), string description = default(string)) { Provider = provider; Resource = resource; Operation = operation; + Description = description; CustomInit(); } @@ -66,5 +68,11 @@ public OperationDisplay() [JsonProperty(PropertyName = "operation")] public string Operation { get; set; } + /// + /// Gets or sets operation: description. + /// + [JsonProperty(PropertyName = "description")] + public string Description { get; set; } + } } diff --git a/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/Models/SetTriggerStateActionDefinition.cs b/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/Models/SetTriggerStateActionDefinition.cs index f18abbbe2086..0a5d537bdf8c 100644 --- a/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/Models/SetTriggerStateActionDefinition.cs +++ b/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/Models/SetTriggerStateActionDefinition.cs @@ -33,7 +33,7 @@ public SetTriggerStateActionDefinition() /// class. /// /// The source. - public SetTriggerStateActionDefinition(WorkflowTrigger source) + public SetTriggerStateActionDefinition(WorkflowTriggerReference source) { Source = source; CustomInit(); @@ -48,7 +48,7 @@ public SetTriggerStateActionDefinition(WorkflowTrigger source) /// Gets or sets the source. /// [JsonProperty(PropertyName = "source")] - public WorkflowTrigger Source { get; set; } + public WorkflowTriggerReference Source { get; set; } /// /// Validate the object. diff --git a/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/Models/TrackingEvent.cs b/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/Models/TrackingEvent.cs index 8179db7b4358..083b994cddd6 100644 --- a/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/Models/TrackingEvent.cs +++ b/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/Models/TrackingEvent.cs @@ -43,12 +43,14 @@ public TrackingEvent() /// 'EdifactInterchangeAcknowledgment', /// 'EdifactFunctionalGroupAcknowledgment', /// 'EdifactTransactionSetAcknowledgment' + /// The record. /// The error. - public TrackingEvent(EventLevel eventLevel, System.DateTime eventTime, string recordType, TrackingEventErrorInfo error = default(TrackingEventErrorInfo)) + public TrackingEvent(EventLevel eventLevel, System.DateTime eventTime, string recordType, object record = default(object), TrackingEventErrorInfo error = default(TrackingEventErrorInfo)) { EventLevel = eventLevel; EventTime = eventTime; RecordType = recordType; + Record = record; Error = error; CustomInit(); } @@ -85,6 +87,12 @@ public TrackingEvent() [JsonProperty(PropertyName = "recordType")] public string RecordType { get; set; } + /// + /// Gets or sets the record. + /// + [JsonProperty(PropertyName = "record")] + public object Record { get; set; } + /// /// Gets or sets the error. /// diff --git a/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/Models/Workflow.cs b/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/Models/Workflow.cs index d9038287dc40..826b24fcddd5 100644 --- a/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/Models/Workflow.cs +++ b/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/Models/Workflow.cs @@ -43,7 +43,8 @@ public Workflow() /// Possible values include: 'NotSpecified', 'Accepted', 'Running', /// 'Ready', 'Creating', 'Created', 'Deleting', 'Deleted', 'Canceled', /// 'Failed', 'Succeeded', 'Moving', 'Updating', 'Registering', - /// 'Registered', 'Unregistering', 'Unregistered', 'Completed' + /// 'Registered', 'Unregistering', 'Unregistered', 'Completed', + /// 'Renewing', 'Pending', 'Waiting', 'InProgress' /// Gets the created time. /// Gets the changed time. /// The state. Possible values include: @@ -53,12 +54,15 @@ public Workflow() /// Gets the access endpoint. /// The endpoints /// configuration. + /// The access control + /// configuration. /// The sku. /// The integration account. - /// The integration service environment. + /// The integration service + /// environment. /// The definition. /// The parameters. - public Workflow(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary tags = default(IDictionary), string provisioningState = default(string), System.DateTime? createdTime = default(System.DateTime?), System.DateTime? changedTime = default(System.DateTime?), string state = default(string), string version = default(string), string accessEndpoint = default(string), FlowEndpointsConfiguration endpointsConfiguration = default(FlowEndpointsConfiguration), Sku sku = default(Sku), ResourceReference integrationAccount = default(ResourceReference), ResourceReference integrationServiceEnvironment = default(ResourceReference), object definition = default(object), IDictionary parameters = default(IDictionary)) + public Workflow(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary tags = default(IDictionary), string provisioningState = default(string), System.DateTime? createdTime = default(System.DateTime?), System.DateTime? changedTime = default(System.DateTime?), string state = default(string), string version = default(string), string accessEndpoint = default(string), FlowEndpointsConfiguration endpointsConfiguration = default(FlowEndpointsConfiguration), FlowAccessControlConfiguration accessControl = default(FlowAccessControlConfiguration), Sku sku = default(Sku), ResourceReference integrationAccount = default(ResourceReference), ResourceReference integrationServiceEnvironment = default(ResourceReference), object definition = default(object), IDictionary parameters = default(IDictionary)) : base(id, name, type, location, tags) { ProvisioningState = provisioningState; @@ -68,6 +72,7 @@ public Workflow() Version = version; AccessEndpoint = accessEndpoint; EndpointsConfiguration = endpointsConfiguration; + AccessControl = accessControl; Sku = sku; IntegrationAccount = integrationAccount; IntegrationServiceEnvironment = integrationServiceEnvironment; @@ -86,7 +91,8 @@ public Workflow() /// 'NotSpecified', 'Accepted', 'Running', 'Ready', 'Creating', /// 'Created', 'Deleting', 'Deleted', 'Canceled', 'Failed', /// 'Succeeded', 'Moving', 'Updating', 'Registering', 'Registered', - /// 'Unregistering', 'Unregistered', 'Completed' + /// 'Unregistering', 'Unregistered', 'Completed', 'Renewing', + /// 'Pending', 'Waiting', 'InProgress' /// [JsonProperty(PropertyName = "properties.provisioningState")] public string ProvisioningState { get; private set; } @@ -129,10 +135,16 @@ public Workflow() public FlowEndpointsConfiguration EndpointsConfiguration { get; set; } /// - /// Gets or sets the sku. + /// Gets or sets the access control configuration. + /// + [JsonProperty(PropertyName = "properties.accessControl")] + public FlowAccessControlConfiguration AccessControl { get; set; } + + /// + /// Gets the sku. /// [JsonProperty(PropertyName = "properties.sku")] - public Sku Sku { get; set; } + public Sku Sku { get; private set; } /// /// Gets or sets the integration account. diff --git a/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/Models/WorkflowProvisioningState.cs b/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/Models/WorkflowProvisioningState.cs index 860b09873c89..9da23cabcf63 100644 --- a/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/Models/WorkflowProvisioningState.cs +++ b/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/Models/WorkflowProvisioningState.cs @@ -34,5 +34,9 @@ public static class WorkflowProvisioningState public const string Unregistering = "Unregistering"; public const string Unregistered = "Unregistered"; public const string Completed = "Completed"; + public const string Renewing = "Renewing"; + public const string Pending = "Pending"; + public const string Waiting = "Waiting"; + public const string InProgress = "InProgress"; } } diff --git a/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/Models/WorkflowReference.cs b/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/Models/WorkflowReference.cs new file mode 100644 index 000000000000..03102d116e05 --- /dev/null +++ b/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/Models/WorkflowReference.cs @@ -0,0 +1,46 @@ +// +// 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. +// + +namespace Microsoft.Azure.Management.Logic.Models +{ + using System.Linq; + + /// + /// The workflow reference. + /// + public partial class WorkflowReference : ResourceReference + { + /// + /// Initializes a new instance of the WorkflowReference class. + /// + public WorkflowReference() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the WorkflowReference class. + /// + /// The resource id. + /// Gets the resource name. + /// Gets the resource type. + public WorkflowReference(string id = default(string), string name = default(string), string type = default(string)) + : base(id, name, type) + { + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + } +} diff --git a/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/Models/WorkflowRunAction.cs b/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/Models/WorkflowRunAction.cs index bac3cf0f5dc7..6ee0b25c4169 100644 --- a/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/Models/WorkflowRunAction.cs +++ b/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/Models/WorkflowRunAction.cs @@ -52,7 +52,7 @@ public WorkflowRunAction() /// Gets the retry histories. /// Gets the workflow run action name. /// Gets the workflow run action type. - public WorkflowRunAction(string id = default(string), System.DateTime? startTime = default(System.DateTime?), System.DateTime? endTime = default(System.DateTime?), string status = default(string), string code = default(string), object error = default(object), string trackingId = default(string), Correlation correlation = default(Correlation), ContentLink inputsLink = default(ContentLink), ContentLink outputsLink = default(ContentLink), object trackedProperties = default(object), IList retryHistory = default(IList), string name = default(string), string type = default(string)) + public WorkflowRunAction(string id = default(string), System.DateTime? startTime = default(System.DateTime?), System.DateTime? endTime = default(System.DateTime?), string status = default(string), string code = default(string), object error = default(object), string trackingId = default(string), RunActionCorrelation correlation = default(RunActionCorrelation), ContentLink inputsLink = default(ContentLink), ContentLink outputsLink = default(ContentLink), object trackedProperties = default(object), IList retryHistory = default(IList), string name = default(string), string type = default(string)) : base(id) { StartTime = startTime; @@ -118,7 +118,7 @@ public WorkflowRunAction() /// Gets or sets the correlation properties. /// [JsonProperty(PropertyName = "properties.correlation")] - public Correlation Correlation { get; set; } + public RunActionCorrelation Correlation { get; set; } /// /// Gets the link to inputs. diff --git a/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/Models/WorkflowTriggerHistory.cs b/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/Models/WorkflowTriggerHistory.cs index 5faddd7097e7..d05c070179a5 100644 --- a/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/Models/WorkflowTriggerHistory.cs +++ b/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/Models/WorkflowTriggerHistory.cs @@ -35,6 +35,7 @@ public WorkflowTriggerHistory() /// The resource id. /// Gets the start time. /// Gets the end time. + /// The scheduled time. /// Gets the status. Possible values include: /// 'NotSpecified', 'Paused', 'Running', 'Waiting', 'Succeeded', /// 'Skipped', 'Suspended', 'Cancelled', 'Failed', 'Faulted', @@ -51,11 +52,12 @@ public WorkflowTriggerHistory() /// Gets the reference to workflow run. /// Gets the workflow trigger history name. /// Gets the workflow trigger history type. - public WorkflowTriggerHistory(string id = default(string), System.DateTime? startTime = default(System.DateTime?), System.DateTime? endTime = default(System.DateTime?), string status = default(string), string code = default(string), object error = default(object), string trackingId = default(string), Correlation correlation = default(Correlation), ContentLink inputsLink = default(ContentLink), ContentLink outputsLink = default(ContentLink), bool? fired = default(bool?), ResourceReference run = default(ResourceReference), string name = default(string), string type = default(string)) + public WorkflowTriggerHistory(string id = default(string), System.DateTime? startTime = default(System.DateTime?), System.DateTime? endTime = default(System.DateTime?), System.DateTime? scheduledTime = default(System.DateTime?), string status = default(string), string code = default(string), object error = default(object), string trackingId = default(string), Correlation correlation = default(Correlation), ContentLink inputsLink = default(ContentLink), ContentLink outputsLink = default(ContentLink), bool? fired = default(bool?), ResourceReference run = default(ResourceReference), string name = default(string), string type = default(string)) : base(id) { StartTime = startTime; EndTime = endTime; + ScheduledTime = scheduledTime; Status = status; Code = code; Error = error; @@ -87,6 +89,12 @@ public WorkflowTriggerHistory() [JsonProperty(PropertyName = "properties.endTime")] public System.DateTime? EndTime { get; private set; } + /// + /// Gets the scheduled time. + /// + [JsonProperty(PropertyName = "properties.scheduledTime")] + public System.DateTime? ScheduledTime { get; private set; } + /// /// Gets the status. Possible values include: 'NotSpecified', 'Paused', /// 'Running', 'Waiting', 'Succeeded', 'Skipped', 'Suspended', diff --git a/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/Models/WorkflowTriggerReference.cs b/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/Models/WorkflowTriggerReference.cs new file mode 100644 index 000000000000..922b053a093e --- /dev/null +++ b/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/Models/WorkflowTriggerReference.cs @@ -0,0 +1,63 @@ +// +// 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. +// + +namespace Microsoft.Azure.Management.Logic.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// The workflow trigger reference. + /// + public partial class WorkflowTriggerReference : ResourceReference + { + /// + /// Initializes a new instance of the WorkflowTriggerReference class. + /// + public WorkflowTriggerReference() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the WorkflowTriggerReference class. + /// + /// The resource id. + /// Gets the resource name. + /// Gets the resource type. + /// The workflow name. + /// The workflow trigger name. + public WorkflowTriggerReference(string id = default(string), string name = default(string), string type = default(string), string flowName = default(string), string triggerName = default(string)) + : base(id, name, type) + { + FlowName = flowName; + TriggerName = triggerName; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets the workflow name. + /// + [JsonProperty(PropertyName = "flowName")] + public string FlowName { get; set; } + + /// + /// Gets or sets the workflow trigger name. + /// + [JsonProperty(PropertyName = "triggerName")] + public string TriggerName { get; set; } + + } +} diff --git a/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/Models/WorkflowVersion.cs b/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/Models/WorkflowVersion.cs index f12d6d12421b..b0fa1adbf74b 100644 --- a/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/Models/WorkflowVersion.cs +++ b/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/Models/WorkflowVersion.cs @@ -39,6 +39,12 @@ public WorkflowVersion() /// Gets the resource type. /// The resource location. /// The resource tags. + /// The provisioning state. Possible + /// values include: 'NotSpecified', 'Accepted', 'Running', 'Ready', + /// 'Creating', 'Created', 'Deleting', 'Deleted', 'Canceled', 'Failed', + /// 'Succeeded', 'Moving', 'Updating', 'Registering', 'Registered', + /// 'Unregistering', 'Unregistered', 'Completed', 'Renewing', + /// 'Pending', 'Waiting', 'InProgress' /// Gets the created time. /// Gets the changed time. /// The state. Possible values include: @@ -46,18 +52,25 @@ public WorkflowVersion() /// 'Suspended' /// Gets the version. /// Gets the access endpoint. + /// The endpoints + /// configuration. + /// The access control + /// configuration. /// The sku. /// The integration account. /// The definition. /// The parameters. - public WorkflowVersion(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary tags = default(IDictionary), System.DateTime? createdTime = default(System.DateTime?), System.DateTime? changedTime = default(System.DateTime?), string state = default(string), string version = default(string), string accessEndpoint = default(string), Sku sku = default(Sku), ResourceReference integrationAccount = default(ResourceReference), object definition = default(object), IDictionary parameters = default(IDictionary)) + public WorkflowVersion(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary tags = default(IDictionary), string provisioningState = default(string), System.DateTime? createdTime = default(System.DateTime?), System.DateTime? changedTime = default(System.DateTime?), string state = default(string), string version = default(string), string accessEndpoint = default(string), FlowEndpointsConfiguration endpointsConfiguration = default(FlowEndpointsConfiguration), FlowAccessControlConfiguration accessControl = default(FlowAccessControlConfiguration), Sku sku = default(Sku), ResourceReference integrationAccount = default(ResourceReference), object definition = default(object), IDictionary parameters = default(IDictionary)) : base(id, name, type, location, tags) { + ProvisioningState = provisioningState; CreatedTime = createdTime; ChangedTime = changedTime; State = state; Version = version; AccessEndpoint = accessEndpoint; + EndpointsConfiguration = endpointsConfiguration; + AccessControl = accessControl; Sku = sku; IntegrationAccount = integrationAccount; Definition = definition; @@ -70,6 +83,17 @@ public WorkflowVersion() /// partial void CustomInit(); + /// + /// Gets the provisioning state. Possible values include: + /// 'NotSpecified', 'Accepted', 'Running', 'Ready', 'Creating', + /// 'Created', 'Deleting', 'Deleted', 'Canceled', 'Failed', + /// 'Succeeded', 'Moving', 'Updating', 'Registering', 'Registered', + /// 'Unregistering', 'Unregistered', 'Completed', 'Renewing', + /// 'Pending', 'Waiting', 'InProgress' + /// + [JsonProperty(PropertyName = "properties.provisioningState")] + public string ProvisioningState { get; private set; } + /// /// Gets the created time. /// @@ -102,10 +126,22 @@ public WorkflowVersion() public string AccessEndpoint { get; private set; } /// - /// Gets or sets the sku. + /// Gets or sets the endpoints configuration. + /// + [JsonProperty(PropertyName = "properties.endpointsConfiguration")] + public FlowEndpointsConfiguration EndpointsConfiguration { get; set; } + + /// + /// Gets or sets the access control configuration. + /// + [JsonProperty(PropertyName = "properties.accessControl")] + public FlowAccessControlConfiguration AccessControl { get; set; } + + /// + /// Gets the sku. /// [JsonProperty(PropertyName = "properties.sku")] - public Sku Sku { get; set; } + public Sku Sku { get; private set; } /// /// Gets or sets the integration account. diff --git a/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/SdkInfo_LogicManagementClient.cs b/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/SdkInfo_LogicManagementClient.cs index 9719785c0c64..18116d24911a 100644 --- a/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/SdkInfo_LogicManagementClient.cs +++ b/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/SdkInfo_LogicManagementClient.cs @@ -49,16 +49,5 @@ public static IEnumerable> ApiInfo_LogicManagement }.AsEnumerable(); } } - // BEGIN: Code Generation Metadata Section - public static readonly String AutoRestVersion = "latest"; - public static readonly String AutoRestBootStrapperVersion = "autorest@2.0.4283"; - public static readonly String AutoRestCmdExecuted = "cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/logic/resource-manager/readme.md --csharp --version=latest --reflect-api-versions --csharp-sdks-folder=C:\\dev\\azure-sdk-for-net\\sdk"; - public static readonly String GithubForkName = "Azure"; - public static readonly String GithubBranchName = "master"; - public static readonly String GithubCommidId = "411d4cf447639289e4ee1efa4d066df2773ebccd"; - public static readonly String CodeGenerationErrors = ""; - public static readonly String GithubRepoName = "azure-rest-api-specs"; - // END: Code Generation Metadata Section } } - diff --git a/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/WorkflowTriggersOperations.cs b/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/WorkflowTriggersOperations.cs index 734c117ac4fb..b7b6b57268a4 100644 --- a/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/WorkflowTriggersOperations.cs +++ b/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/WorkflowTriggersOperations.cs @@ -651,7 +651,7 @@ internal WorkflowTriggersOperations(LogicManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -663,7 +663,7 @@ internal WorkflowTriggersOperations(LogicManagementClient client) /// /// A response object containing the response body and response headers. /// - public async Task> RunWithHttpMessagesAsync(string resourceGroupName, string workflowName, string triggerName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task RunWithHttpMessagesAsync(string resourceGroupName, string workflowName, string triggerName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (Client.SubscriptionId == null) { @@ -768,13 +768,13 @@ internal WorkflowTriggersOperations(LogicManagementClient client) HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if (!_httpResponse.IsSuccessStatusCode) + if ((int)_statusCode != 200 && (int)_statusCode != 202) { - var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - object _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { ex.Body = _errorBody; @@ -798,27 +798,13 @@ internal WorkflowTriggersOperations(LogicManagementClient client) throw ex; } // Create Result - var _result = new AzureOperationResponse(); + var _result = new AzureOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; if (_httpResponse.Headers.Contains("x-ms-request-id")) { _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); } - string _defaultResponseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_defaultResponseContent, Client.DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _defaultResponseContent, ex); - } if (_shouldTrace) { ServiceClientTracing.Exit(_invocationId, _result); diff --git a/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/WorkflowTriggersOperationsExtensions.cs b/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/WorkflowTriggersOperationsExtensions.cs index 29bcdaeb13ee..c1376883137f 100644 --- a/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/WorkflowTriggersOperationsExtensions.cs +++ b/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/WorkflowTriggersOperationsExtensions.cs @@ -172,9 +172,9 @@ public static void Reset(this IWorkflowTriggersOperations operations, string res /// /// The workflow trigger name. /// - public static object Run(this IWorkflowTriggersOperations operations, string resourceGroupName, string workflowName, string triggerName) + public static void Run(this IWorkflowTriggersOperations operations, string resourceGroupName, string workflowName, string triggerName) { - return operations.RunAsync(resourceGroupName, workflowName, triggerName).GetAwaiter().GetResult(); + operations.RunAsync(resourceGroupName, workflowName, triggerName).GetAwaiter().GetResult(); } /// @@ -195,12 +195,9 @@ public static object Run(this IWorkflowTriggersOperations operations, string res /// /// The cancellation token. /// - public static async Task RunAsync(this IWorkflowTriggersOperations operations, string resourceGroupName, string workflowName, string triggerName, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task RunAsync(this IWorkflowTriggersOperations operations, string resourceGroupName, string workflowName, string triggerName, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.RunWithHttpMessagesAsync(resourceGroupName, workflowName, triggerName, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } + (await operations.RunWithHttpMessagesAsync(resourceGroupName, workflowName, triggerName, null, cancellationToken).ConfigureAwait(false)).Dispose(); } /// diff --git a/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/WorkflowsOperations.cs b/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/WorkflowsOperations.cs index ba0a24f458b2..19c817cbf251 100644 --- a/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/WorkflowsOperations.cs +++ b/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/WorkflowsOperations.cs @@ -857,9 +857,6 @@ internal WorkflowsOperations(LogicManagementClient client) /// /// The workflow name. /// - /// - /// The workflow. - /// /// /// Headers that will be added to request. /// @@ -881,7 +878,7 @@ internal WorkflowsOperations(LogicManagementClient client) /// /// A response object containing the response body and response headers. /// - public async Task> UpdateWithHttpMessagesAsync(string resourceGroupName, string workflowName, Workflow workflow, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> UpdateWithHttpMessagesAsync(string resourceGroupName, string workflowName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (Client.SubscriptionId == null) { @@ -899,10 +896,6 @@ internal WorkflowsOperations(LogicManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); } - if (workflow == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "workflow"); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -912,7 +905,6 @@ internal WorkflowsOperations(LogicManagementClient client) Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("workflowName", workflowName); - tracingParameters.Add("workflow", workflow); tracingParameters.Add("cancellationToken", cancellationToken); ServiceClientTracing.Enter(_invocationId, this, "Update", tracingParameters); } @@ -965,12 +957,6 @@ internal WorkflowsOperations(LogicManagementClient client) // Serialize Request string _requestContent = null; - if(workflow != null) - { - _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(workflow, Client.SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } // Set Credentials if (Client.Credentials != null) { @@ -2182,7 +2168,7 @@ internal WorkflowsOperations(LogicManagementClient client) /// /// The cancellation token. /// - public async Task MoveWithHttpMessagesAsync(string resourceGroupName, string workflowName, Workflow move, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task MoveWithHttpMessagesAsync(string resourceGroupName, string workflowName, WorkflowReference move, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Send request AzureOperationResponse _response = await BeginMoveWithHttpMessagesAsync(resourceGroupName, workflowName, move, customHeaders, cancellationToken).ConfigureAwait(false); @@ -2573,8 +2559,8 @@ internal WorkflowsOperations(LogicManagementClient client) /// /// The workflow name. /// - /// - /// The workflow definition. + /// + /// The workflow. /// /// /// Headers that will be added to request. @@ -2594,7 +2580,7 @@ internal WorkflowsOperations(LogicManagementClient client) /// /// A response object containing the response body and response headers. /// - public async Task ValidateByLocationWithHttpMessagesAsync(string resourceGroupName, string location, string workflowName, Workflow workflow, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task ValidateByLocationWithHttpMessagesAsync(string resourceGroupName, string location, string workflowName, Workflow validate, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (Client.SubscriptionId == null) { @@ -2612,20 +2598,18 @@ internal WorkflowsOperations(LogicManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "workflowName"); } - if (Client.ApiVersion == null) + if (validate == null) { - throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + throw new ValidationException(ValidationRules.CannotBeNull, "validate"); } - if (workflow == null) + if (validate != null) { - throw new ValidationException(ValidationRules.CannotBeNull, "workflow"); + validate.Validate(); } - - if (workflow != null) + if (Client.ApiVersion == null) { - workflow.Validate(); + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); } - // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -2636,7 +2620,7 @@ internal WorkflowsOperations(LogicManagementClient client) tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("location", location); tracingParameters.Add("workflowName", workflowName); - tracingParameters.Add("workflow", workflow); + tracingParameters.Add("validate", validate); tracingParameters.Add("cancellationToken", cancellationToken); ServiceClientTracing.Enter(_invocationId, this, "ValidateByLocation", tracingParameters); } @@ -2690,13 +2674,12 @@ internal WorkflowsOperations(LogicManagementClient client) // Serialize Request string _requestContent = null; - if(workflow != null) + if(validate != null) { - _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(workflow, Client.SerializationSettings); + _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(validate, Client.SerializationSettings); _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); } - // Set Credentials if (Client.Credentials != null) { @@ -2791,7 +2774,7 @@ internal WorkflowsOperations(LogicManagementClient client) /// /// A response object containing the response body and response headers. /// - public async Task BeginMoveWithHttpMessagesAsync(string resourceGroupName, string workflowName, Workflow move, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task BeginMoveWithHttpMessagesAsync(string resourceGroupName, string workflowName, WorkflowReference move, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (Client.SubscriptionId == null) { @@ -2809,10 +2792,6 @@ internal WorkflowsOperations(LogicManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "move"); } - if (move != null) - { - move.Validate(); - } if (Client.ApiVersion == null) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); diff --git a/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/WorkflowsOperationsExtensions.cs b/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/WorkflowsOperationsExtensions.cs index f4b27ef92f2c..5647b3015603 100644 --- a/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/WorkflowsOperationsExtensions.cs +++ b/sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/WorkflowsOperationsExtensions.cs @@ -194,12 +194,9 @@ public static Workflow CreateOrUpdate(this IWorkflowsOperations operations, stri /// /// The workflow name. /// - /// - /// The workflow. - /// - public static Workflow Update(this IWorkflowsOperations operations, string resourceGroupName, string workflowName, Workflow workflow) + public static Workflow Update(this IWorkflowsOperations operations, string resourceGroupName, string workflowName) { - return operations.UpdateAsync(resourceGroupName, workflowName, workflow).GetAwaiter().GetResult(); + return operations.UpdateAsync(resourceGroupName, workflowName).GetAwaiter().GetResult(); } /// @@ -214,15 +211,12 @@ public static Workflow Update(this IWorkflowsOperations operations, string resou /// /// The workflow name. /// - /// - /// The workflow. - /// /// /// The cancellation token. /// - public static async Task UpdateAsync(this IWorkflowsOperations operations, string resourceGroupName, string workflowName, Workflow workflow, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task UpdateAsync(this IWorkflowsOperations operations, string resourceGroupName, string workflowName, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.UpdateWithHttpMessagesAsync(resourceGroupName, workflowName, workflow, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.UpdateWithHttpMessagesAsync(resourceGroupName, workflowName, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -486,7 +480,7 @@ public static object ListSwagger(this IWorkflowsOperations operations, string re /// /// The workflow to move. /// - public static void Move(this IWorkflowsOperations operations, string resourceGroupName, string workflowName, Workflow move) + public static void Move(this IWorkflowsOperations operations, string resourceGroupName, string workflowName, WorkflowReference move) { operations.MoveAsync(resourceGroupName, workflowName, move).GetAwaiter().GetResult(); } @@ -509,7 +503,7 @@ public static void Move(this IWorkflowsOperations operations, string resourceGro /// /// The cancellation token. /// - public static async Task MoveAsync(this IWorkflowsOperations operations, string resourceGroupName, string workflowName, Workflow move, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task MoveAsync(this IWorkflowsOperations operations, string resourceGroupName, string workflowName, WorkflowReference move, CancellationToken cancellationToken = default(CancellationToken)) { (await operations.MoveWithHttpMessagesAsync(resourceGroupName, workflowName, move, null, cancellationToken).ConfigureAwait(false)).Dispose(); } @@ -615,12 +609,12 @@ public static void ValidateByResourceGroup(this IWorkflowsOperations operations, /// /// The workflow name. /// - /// - /// The workflow definition. + /// + /// The workflow. /// - public static void ValidateByLocation(this IWorkflowsOperations operations, string resourceGroupName, string location, string workflowName, Workflow workflow) + public static void ValidateByLocation(this IWorkflowsOperations operations, string resourceGroupName, string location, string workflowName, Workflow validate) { - operations.ValidateByLocationAsync(resourceGroupName, location, workflowName, workflow).GetAwaiter().GetResult(); + operations.ValidateByLocationAsync(resourceGroupName, location, workflowName, validate).GetAwaiter().GetResult(); } /// @@ -638,15 +632,15 @@ public static void ValidateByLocation(this IWorkflowsOperations operations, stri /// /// The workflow name. /// - /// - /// The workflow definition. + /// + /// The workflow. /// /// /// The cancellation token. /// - public static async Task ValidateByLocationAsync(this IWorkflowsOperations operations, string resourceGroupName, string location, string workflowName, Workflow workflow, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ValidateByLocationAsync(this IWorkflowsOperations operations, string resourceGroupName, string location, string workflowName, Workflow validate, CancellationToken cancellationToken = default(CancellationToken)) { - (await operations.ValidateByLocationWithHttpMessagesAsync(resourceGroupName, location, workflowName, workflow, null, cancellationToken).ConfigureAwait(false)).Dispose(); + (await operations.ValidateByLocationWithHttpMessagesAsync(resourceGroupName, location, workflowName, validate, null, cancellationToken).ConfigureAwait(false)).Dispose(); } /// @@ -664,7 +658,7 @@ public static void ValidateByLocation(this IWorkflowsOperations operations, stri /// /// The workflow to move. /// - public static void BeginMove(this IWorkflowsOperations operations, string resourceGroupName, string workflowName, Workflow move) + public static void BeginMove(this IWorkflowsOperations operations, string resourceGroupName, string workflowName, WorkflowReference move) { operations.BeginMoveAsync(resourceGroupName, workflowName, move).GetAwaiter().GetResult(); } @@ -687,7 +681,7 @@ public static void BeginMove(this IWorkflowsOperations operations, string resour /// /// The cancellation token. /// - public static async Task BeginMoveAsync(this IWorkflowsOperations operations, string resourceGroupName, string workflowName, Workflow move, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task BeginMoveAsync(this IWorkflowsOperations operations, string resourceGroupName, string workflowName, WorkflowReference move, CancellationToken cancellationToken = default(CancellationToken)) { (await operations.BeginMoveWithHttpMessagesAsync(resourceGroupName, workflowName, move, null, cancellationToken).ConfigureAwait(false)).Dispose(); }