From e70c87616eefbdc7ff0dbdc155f1bf711592dd44 Mon Sep 17 00:00:00 2001
From: David Burg <12040431+daviburg@users.noreply.github.com>
Date: Thu, 30 Jul 2026 12:01:00 -0700
Subject: [PATCH 1/2] Regenerate all connector clients from the type-identity
generator fix
Brings the checked-in clients back into sync with the generator.
75 clients change. Four of them - AzureAD, Office365, Pipedrive and Planner -
change because of the type-identity fix, which stops two definitions differing
only by a version affix from collapsing onto one emitted type and silently
dropping one shape. AzureIoTCentral, the fifth affected client, already landed
in #225.
The remaining 71 carry accumulated output from generator fixes that merged after
those files were last regenerated, rather than new behaviour introduced here.
ConnectorNames.cs and ManagedConnectors.cs are deliberately untouched.
Regenerating them from the catalogue snapshot used here would have dropped 25
existing constants, including docusign and jira, because those registries are
built from the connectors actually processed and the snapshot was short 24 of
1619 catalogue entries. Syncing them needs a complete catalogue fetch.
Depends on AzureUX-BPM PR 16618864.
Validation: dotnet build succeeds across all 97 clients, 912 tests pass.
---
CHANGELOG.md | 6 +
.../Generated/ArmExtensions.cs | 80 +-
.../Generated/AzureADExtensions.cs | 16 +-
.../Generated/AzureAutomationExtensions.cs | 276 +-
.../Generated/AzureBlobExtensions.cs | 169 +-
.../Generated/AzureDataFactoryExtensions.cs | 450 +--
.../Generated/AzureEventGridExtensions.cs | 88 +-
.../Generated/AzureMonitorLogsExtensions.cs | 454 ++-
.../Generated/AzureVMExtensions.cs | 514 ++--
.../Generated/AzurequeuesExtensions.cs | 148 +-
.../Generated/AzuretablesExtensions.cs | 160 +-
.../Generated/BoxExtensions.cs | 53 +-
.../Generated/CampfireExtensions.cs | 170 +-
.../CloudmersiveConvertExtensions.cs | 216 +-
.../Generated/CommondataserviceExtensions.cs | 30 +-
.../Generated/DocuSignExtensions.cs | 1957 ++++++------
.../Generated/DocumentdbExtensions.cs | 404 +--
.../Generated/DropboxExtensions.cs | 53 +-
.../Generated/DynamicsAXExtensions.cs | 1291 ++++----
.../Generated/ElfsquadDataExtensions.cs | 268 +-
.../Generated/EtsyExtensions.cs | 102 +-
.../Generated/EventbriteExtensions.cs | 398 +--
.../Generated/EventhubsExtensions.cs | 134 +-
.../ExcelOnlineBusinessExtensions.cs | 443 +--
.../Generated/ExcelOnlineExtensions.cs | 54 +-
.../Generated/FormstackFormsExtensions.cs | 26 +
.../Generated/FtpExtensions.cs | 53 +-
.../Generated/GitHubExtensions.cs | 66 +-
.../Generated/GoogleCalendarExtensions.cs | 131 +-
.../Generated/GoogleDriveExtensions.cs | 90 +-
.../Generated/GoogleTasksExtensions.cs | 66 +-
.../Generated/ImpexiumExtensions.cs | 4 +-
.../Generated/InsightlyExtensions.cs | 42 +-
.../Generated/JedoxOdataHubExtensions.cs | 68 +-
.../Generated/JiraExtensions.cs | 124 +-
.../Generated/KeyVaultExtensions.cs | 18 +-
.../Generated/KustoExtensions.cs | 76 +-
.../Generated/MailChimpExtensions.cs | 72 +-
.../Generated/MicrosoftBookingsExtensions.cs | 54 +
.../Generated/MicrosoftFormsExtensions.cs | 4 +-
.../Generated/MondayExtensions.cs | 1020 +++----
.../Generated/Office365Extensions.cs | 127 +-
.../Generated/Office365GroupsExtensions.cs | 14 +
.../Office365GroupsMailExtensions.cs | 131 +-
.../Generated/Office365UsersExtensions.cs | 26 +-
.../Generated/OneDriveExtensions.cs | 8 +-
.../OneDriveForBusinessExtensions.cs | 6 +-
.../Generated/OnenoteExtensions.cs | 14 +-
.../Generated/OutlookExtensions.cs | 73 +-
.../Generated/PdfCoExtensions.cs | 12 +-
.../Generated/PipedriveExtensions.cs | 264 +-
.../Generated/PlannerExtensions.cs | 270 +-
.../Generated/PowerBIExtensions.cs | 768 +++--
.../Generated/RssExtensions.cs | 4 +-
.../Generated/SalesforceExtensions.cs | 1090 +++----
.../Generated/SeismicPlannerExtensions.cs | 6 +-
.../Generated/SendGridExtensions.cs | 236 +-
.../Generated/ServicebusExtensions.cs | 438 +--
.../Generated/SharePointOnlineExtensions.cs | 2136 +++++++------
.../Generated/ShiftsExtensions.cs | 244 +-
.../Generated/SlackExtensions.cs | 6 +-
.../Generated/SmtpExtensions.cs | 4 +-
.../Generated/StarmindExtensions.cs | 2 +-
.../Generated/TallyfyExtensions.cs | 202 +-
.../Generated/TeamsExtensions.cs | 2656 +++++++++--------
.../Generated/TextRequestExtensions.cs | 26 +
.../Generated/TodoExtensions.cs | 50 +-
.../Generated/TrelloExtensions.cs | 71 +-
.../Generated/TwitterExtensions.cs | 16 +-
.../Generated/TypeformExtensions.cs | 129 +-
.../Generated/UniversalPrintExtensions.cs | 50 +-
.../Generated/WaywedoExtensions.cs | 192 +-
.../Generated/WdatpExtensions.cs | 18 +-
.../Generated/WordOnlineBusinessExtensions.cs | 146 +-
.../Generated/WordPressExtensions.cs | 6 +-
.../Generated/YammerExtensions.cs | 25 +-
76 files changed, 10562 insertions(+), 8752 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 013b2c7..9365203 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -15,6 +15,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Breaking Changes
+- **All connector clients regenerated; version-affixed models are no longer collapsed onto one name** — the generator stripped a version affix from a definition name without knowing which definitions a connector retains, so `FooV1` and `FooV2` both claimed `Foo` and only one type was emitted. The dropped one produced a model that compiled and looked complete while omitting fields the service returns. Names are now decided against the retained definition set: a single claimant still strips the affix, several claimants describing the same wire shape still collapse to one type, and claimants with differing shapes keep their affixes so no shape is lost.
+
+ `AzureIoTCentral` is the clearest case and shipped separately in #225: `Device` became `DeviceV1` and `DeviceV2`, making the `organizations` property reachable. In this regeneration the same fix reaches `AzureAD`, `Office365`, `Pipedrive` and `Planner`. Callers referencing a previously collapsed model name on those clients must move to the affixed name.
+
+ The remaining 71 regenerated clients carry accumulated output from generator fixes that merged after their last regeneration, rather than new behaviour introduced here. (AzureUX-BPM PR 16618864)
+
- **SQL Server metadata methods now address the default dataset; the server- and database-scoped forms moved to `V2` names** — the unversioned operation owns the unversioned method name, matching the Python SDK. Existing callers must rename:
| Before | After |
diff --git a/src/Azure.Connectors.Sdk/Generated/ArmExtensions.cs b/src/Azure.Connectors.Sdk/Generated/ArmExtensions.cs
index 4bf036f..06aea91 100644
--- a/src/Azure.Connectors.Sdk/Generated/ArmExtensions.cs
+++ b/src/Azure.Connectors.Sdk/Generated/ArmExtensions.cs
@@ -30,7 +30,7 @@ namespace Azure.Connectors.Sdk.Arm.Models
#region Types
///
- /// Response for Lists the subscription locations
+ /// Location list operation response.
///
public class LocationListResult
{
@@ -40,7 +40,7 @@ public class LocationListResult
}
///
- /// Item in The locations.
+ /// Location information.
///
public class Location
{
@@ -76,7 +76,7 @@ public class Location
}
///
- /// Response for Read a subscription
+ /// Subscription information.
///
public class Subscription
{
@@ -115,7 +115,7 @@ public class Subscription
}
///
- /// subscriptionPolicies
+ /// Subscription policies.
///
public class SubscriptionPolicies
{
@@ -136,7 +136,7 @@ public class SubscriptionPolicies
}
///
- /// Response for List subscriptions
+ /// Subscription list operation response.
///
public class SubscriptionListResult : IPageable
{
@@ -150,7 +150,7 @@ public class SubscriptionListResult : IPageable
}
///
- /// Response for Read a template deployment
+ /// Deployment information.
///
public class DeploymentExtended
{
@@ -169,7 +169,7 @@ public class DeploymentExtended
}
///
- /// properties
+ /// Deployment properties with additional details.
///
public class DeploymentPropertiesExtended
{
@@ -229,7 +229,7 @@ public class DeploymentPropertiesExtended
}
///
- /// Item in The list of resource providers needed for the deployment.
+ /// Resource provider information.
///
public class Provider
{
@@ -254,7 +254,7 @@ public class Provider
}
///
- /// Item in The collection of provider resource types.
+ /// Resource type managed by the resource provider.
///
public class ProviderResourceType
{
@@ -292,7 +292,7 @@ public class ObjectWithoutType
}
///
- /// Item in The aliases that are supported by this resource type.
+ /// The alias type.
///
public class AliasType
{
@@ -306,7 +306,7 @@ public class AliasType
}
///
- /// Item in The paths for an alias.
+ /// The type of the paths for alias.
///
public class AliasPathType
{
@@ -320,7 +320,7 @@ public class AliasPathType
}
///
- /// Item in The list of deployment dependencies.
+ /// Deployment dependency information.
///
public class Dependency
{
@@ -342,7 +342,7 @@ public class Dependency
}
///
- /// Item in The list of dependencies.
+ /// Deployment dependency information.
///
public class BasicDependency
{
@@ -360,7 +360,7 @@ public class BasicDependency
}
///
- /// templateLink
+ /// Entity representing the reference to the template.
///
public class TemplateLink
{
@@ -374,7 +374,7 @@ public class TemplateLink
}
///
- /// parametersLink
+ /// Entity representing the reference to the deployment paramaters.
///
public class ParametersLink
{
@@ -398,7 +398,7 @@ public class DebugSetting
}
///
- /// Response for Validate a template deployment
+ /// Information from validate template deployment response.
///
public class DeploymentValidateResult
{
@@ -438,7 +438,7 @@ public class ResourceManagementErrorWithDetails
}
///
- /// Response for Export deployment template
+ /// The deployment export result.
///
public class DeploymentExportResult
{
@@ -448,7 +448,7 @@ public class DeploymentExportResult
}
///
- /// Response for List template deployments
+ /// List of deployments.
///
public class DeploymentListResult : IPageable
{
@@ -463,7 +463,7 @@ public class DeploymentListResult : IPageable
}
///
- /// Response for Read a template deployment operation
+ /// Deployment operation information.
///
public class DeploymentOperation
{
@@ -483,7 +483,7 @@ public class DeploymentOperation
}
///
- /// properties
+ /// Deployment operation properties.
///
public class DeploymentOperationProperties
{
@@ -526,7 +526,7 @@ public class DeploymentOperationProperties
}
///
- /// targetResource
+ /// Target resource.
///
public class TargetResource
{
@@ -554,7 +554,7 @@ public class HttpMessage
}
///
- /// Response for Lists template deployment operations
+ /// List of deployment operations.
///
public class DeploymentOperationsListResult : IPageable
{
@@ -569,7 +569,7 @@ public class DeploymentOperationsListResult : IPageable
}
///
- /// Response for List resource providers
+ /// List of resource providers.
///
public class ProviderListResult : IPageable
{
@@ -584,7 +584,7 @@ public class ProviderListResult : IPageable
}
///
- /// Response for List resources by resource group
+ /// List of resources.
///
public class ResourceListResult : IPageable
{
@@ -599,7 +599,7 @@ public class ResourceListResult : IPageable
}
///
- /// Item in The list of resources.
+ /// Resource information.
///
public class GenericResource
{
@@ -653,7 +653,7 @@ public class GenericResource
}
///
- /// plan
+ /// Plan for the resource.
///
public class Plan
{
@@ -675,7 +675,7 @@ public class Plan
}
///
- /// sku
+ /// Sku for the resource.
///
public class Sku
{
@@ -705,7 +705,7 @@ public class Sku
}
///
- /// identity
+ /// Identity for the resource.
///
public class Identity
{
@@ -725,7 +725,7 @@ public class Identity
}
///
- /// Response for Read a resource group
+ /// Resource group information.
///
public class ResourceGroup
{
@@ -758,7 +758,7 @@ public class ResourceGroup
}
///
- /// properties
+ /// The resource group properties.
///
public class ResourceGroupProperties
{
@@ -783,7 +783,7 @@ public class ResourceGroupExportResult
}
///
- /// Response for List resource groups
+ /// List of resource groups.
///
public class ResourceGroupListResult : IPageable
{
@@ -810,7 +810,7 @@ public class ResourcesInvokeInput
}
///
- /// Response for Invoke resource operation
+ /// The response from the action operation.
///
public class ResourcesInvokeResponse
{
@@ -834,7 +834,7 @@ public class ProviderResourcesInvokeInput
}
///
- /// Response for Invoke resource operation in provider
+ /// The response from the operation.
///
public class ProviderResourcesInvokeResponse
{
@@ -846,7 +846,7 @@ public class ProviderResourcesInvokeResponse
}
///
- /// Response for Create or update a subscription resource tag value
+ /// Tag information.
///
public class TagValue
{
@@ -864,7 +864,7 @@ public class TagValue
}
///
- /// count
+ /// Tag count.
///
public class TagCount
{
@@ -878,7 +878,7 @@ public class TagCount
}
///
- /// Response for Create or update a subscription resource tag name
+ /// Tag details.
///
public class TagDetails
{
@@ -900,7 +900,7 @@ public class TagDetails
}
///
- /// Response for List subscription resource tags
+ /// List of subscription tags.
///
public class TagsListResult : IPageable
{
@@ -915,7 +915,7 @@ public class TagsListResult : IPageable
}
///
- /// DeploymentProperties
+ /// Deployment properties.
///
public class DeploymentProperties
{
@@ -945,7 +945,7 @@ public class DeploymentProperties
}
///
- /// Deployment
+ /// Deployment operation parameters.
///
public class Deployment
{
@@ -955,7 +955,7 @@ public class Deployment
}
///
- /// ExportTemplateRequest
+ /// Export resource group template request parameters.
///
public class ExportTemplateRequest
{
diff --git a/src/Azure.Connectors.Sdk/Generated/AzureADExtensions.cs b/src/Azure.Connectors.Sdk/Generated/AzureADExtensions.cs
index 9c49380..d75d6ab 100644
--- a/src/Azure.Connectors.Sdk/Generated/AzureADExtensions.cs
+++ b/src/Azure.Connectors.Sdk/Generated/AzureADExtensions.cs
@@ -317,7 +317,7 @@ public class CreateGroupInput
///
/// Response for Check group membership (V2)
///
- public class GetMemberGroupsResponse
+ public class GetMemberGroupsResponseV2
{
/// value
[JsonPropertyName("value")]
@@ -688,12 +688,12 @@ public static CreateGroupInput CreateGroupInput(
}
///
- /// Creates a new instance of .
+ /// Creates a new instance of .
///
- public static GetMemberGroupsResponse GetMemberGroupsResponse(
+ public static GetMemberGroupsResponseV2 GetMemberGroupsResponseV2(
List value = default)
{
- return new GetMemberGroupsResponse
+ return new GetMemberGroupsResponseV2
{
Value = value,
};
@@ -1217,7 +1217,7 @@ public virtual async Task CreateGroupAsync(CreateGroupInput
/// The request body.
/// Cancellation token.
/// The Check group membership (V2) response.
- public virtual async Task CheckMemberGroupsAsync(string userIdOrPrincipalName, CheckMemberGroupsRequest input, CancellationToken cancellationToken = default)
+ public virtual async Task CheckMemberGroupsAsync(string userIdOrPrincipalName, CheckMemberGroupsRequest input, CancellationToken cancellationToken = default)
{
using var activity = AzureADClient.ConnectorActivitySource.StartActivity("AzureADClient.CheckMemberGroupsAsync");
try
@@ -1226,7 +1226,7 @@ public virtual async Task CheckMemberGroupsAsync(string
throw new ArgumentNullException(nameof(userIdOrPrincipalName));
var path = $"/v2/v1.0/users/{Uri.EscapeDataString(userIdOrPrincipalName.ToString())}/checkMemberGroups";
return await this
- .CallConnectorAsync(HttpMethod.Post, path, input, cancellationToken)
+ .CallConnectorAsync(HttpMethod.Post, path, input, cancellationToken)
.ConfigureAwait(continueOnCapturedContext: false);
}
@@ -1245,7 +1245,7 @@ public virtual async Task CheckMemberGroupsAsync(string
/// The request body.
/// Cancellation token.
/// The Get groups of a user (V2) response.
- public virtual async Task GetMemberGroupsAsync(string userIdOrPrincipalName, GetMemberGroupsRequest input, CancellationToken cancellationToken = default)
+ public virtual async Task GetMemberGroupsAsync(string userIdOrPrincipalName, GetMemberGroupsRequest input, CancellationToken cancellationToken = default)
{
using var activity = AzureADClient.ConnectorActivitySource.StartActivity("AzureADClient.GetMemberGroupsAsync");
try
@@ -1254,7 +1254,7 @@ public virtual async Task GetMemberGroupsAsync(string u
throw new ArgumentNullException(nameof(userIdOrPrincipalName));
var path = $"/v2/v1.0/users/{Uri.EscapeDataString(userIdOrPrincipalName.ToString())}/getMemberGroups";
return await this
- .CallConnectorAsync(HttpMethod.Post, path, input, cancellationToken)
+ .CallConnectorAsync(HttpMethod.Post, path, input, cancellationToken)
.ConfigureAwait(continueOnCapturedContext: false);
}
diff --git a/src/Azure.Connectors.Sdk/Generated/AzureAutomationExtensions.cs b/src/Azure.Connectors.Sdk/Generated/AzureAutomationExtensions.cs
index ed54b28..91c8c06 100644
--- a/src/Azure.Connectors.Sdk/Generated/AzureAutomationExtensions.cs
+++ b/src/Azure.Connectors.Sdk/Generated/AzureAutomationExtensions.cs
@@ -30,7 +30,31 @@ namespace Azure.Connectors.Sdk.AzureAutomation.Models
#region Types
///
- /// Response for List subscriptions
+ /// Response for Get status of job
+ ///
+ public class CreateJobResponse
+ {
+ /// Resource ID of the Job
+ [JsonPropertyName("id")]
+ public string ResourceId { get; set; }
+
+ /// properties
+ [JsonPropertyName("properties")]
+ public JsonElement? Properties { get; set; }
+ }
+
+ ///
+ /// Create job
+ ///
+ public class CreateJobInput
+ {
+ /// properties
+ [JsonPropertyName("properties")]
+ public JsonElement? Properties { get; set; }
+ }
+
+ ///
+ /// Subscription list operation response.
///
public class SubscriptionListResult : IPageable
{
@@ -44,7 +68,7 @@ public class SubscriptionListResult : IPageable
}
///
- /// Item in The subscriptions.
+ /// Subscription information.
///
public class Subscription
{
@@ -79,7 +103,7 @@ public class Subscription
}
///
- /// Response for List resource groups
+ /// List of resource groups.
///
public class ResourceGroupListResult : IPageable
{
@@ -94,7 +118,7 @@ public class ResourceGroupListResult : IPageable
}
///
- /// Item in The list of resource groups.
+ /// Resource group information.
///
public class ResourceGroup
{
@@ -124,20 +148,6 @@ public class AutomationAccountResponse
public List Value { get; set; }
}
- ///
- /// Response for Get status of job
- ///
- public class CreateJobResponse
- {
- /// Resource ID of the Job
- [JsonPropertyName("id")]
- public string ResourceId { get; set; }
-
- /// properties
- [JsonPropertyName("properties")]
- public JsonElement? Properties { get; set; }
- }
-
///
/// Response for List runbooks
///
@@ -148,16 +158,6 @@ public class RunbookListResults
public List Value { get; set; }
}
- ///
- /// Create job
- ///
- public class CreateJobInput
- {
- /// properties
- [JsonPropertyName("properties")]
- public JsonElement? Properties { get; set; }
- }
-
///
/// Extensible enum for known State values.
///
@@ -230,6 +230,32 @@ public StateJsonConverter() { }
///
public static class AzureAutomationModelFactory
{
+ ///
+ /// Creates a new instance of .
+ ///
+ public static CreateJobResponse CreateJobResponse(
+ string resourceId = default,
+ JsonElement? properties = default)
+ {
+ return new CreateJobResponse
+ {
+ ResourceId = resourceId,
+ Properties = properties,
+ };
+ }
+
+ ///
+ /// Creates a new instance of .
+ ///
+ public static CreateJobInput CreateJobInput(
+ JsonElement? properties = default)
+ {
+ return new CreateJobInput
+ {
+ Properties = properties,
+ };
+ }
+
///
/// Creates a new instance of .
///
@@ -308,20 +334,6 @@ public static AutomationAccountResponse AutomationAccountResponse(
};
}
- ///
- /// Creates a new instance of .
- ///
- public static CreateJobResponse CreateJobResponse(
- string resourceId = default,
- JsonElement? properties = default)
- {
- return new CreateJobResponse
- {
- ResourceId = resourceId,
- Properties = properties,
- };
- }
-
///
/// Creates a new instance of .
///
@@ -333,18 +345,6 @@ public static RunbookListResults RunbookListResults(
Value = value,
};
}
-
- ///
- /// Creates a new instance of .
- ///
- public static CreateJobInput CreateJobInput(
- JsonElement? properties = default)
- {
- return new CreateJobInput
- {
- Properties = properties,
- };
- }
}
#endregion Model Factory
@@ -421,64 +421,33 @@ protected AzureAutomationClient() : base() { }
public override string ToString() => base.ToString();
///
- /// List subscriptions
- ///
- /// Discovery method used to populate dynamic parameter values at design time.
- /// Cancellation token.
- /// An async enumerable of items across all pages.
- public virtual AsyncPageable SubscriptionsListAsync(CancellationToken cancellationToken = default)
- {
- var queryParams = new List();
- queryParams.Add("x-ms-api-version=2015-11-01");
- var path = $"/subscriptions" + (queryParams.Count > 0 ? "?" + string.Join("&", queryParams) : "");
- return this.CreatePageable(
- ct => this.CallConnectorAsync(HttpMethod.Get, path, cancellationToken: ct),
- (nextLink, ct) => this.CallConnectorAsync(HttpMethod.Get, nextLink, cancellationToken: ct),
- cancellationToken);
- }
-
- ///
- /// List resource groups
- ///
- /// Discovery method used to populate dynamic parameter values at design time.
- /// Subscription
- /// Cancellation token.
- /// An async enumerable of items across all pages.
- public virtual AsyncPageable ResourceGroupsListAsync([DynamicValues("Subscriptions_List")] string subscription, CancellationToken cancellationToken = default)
- {
- if (subscription is null)
- throw new ArgumentNullException(nameof(subscription));
- var queryParams = new List();
- queryParams.Add("x-ms-api-version=2015-10-31");
- var path = $"/subscriptions/{Uri.EscapeDataString(subscription.ToString())}/resourcegroups" + (queryParams.Count > 0 ? "?" + string.Join("&", queryParams) : "");
- return this.CreatePageable(
- ct => this.CallConnectorAsync(HttpMethod.Get, path, cancellationToken: ct),
- (nextLink, ct) => this.CallConnectorAsync(HttpMethod.Get, nextLink, cancellationToken: ct),
- cancellationToken);
- }
-
- ///
- /// List Automation accounts
+ /// Get job output
///
- /// Discovery method used to populate dynamic parameter values at design time.
+ /// Get outputs of an Azure Automation job.
/// Subscription
/// Resource Group
+ /// Automation Account
+ /// Job ID
/// Cancellation token.
- /// The List Automation accounts response.
- public virtual async Task AutomationAccountsListAsync([DynamicValues("Subscriptions_List")] string subscription, [DynamicValues("ResourceGroups_List")] string resourceGroup, CancellationToken cancellationToken = default)
+ /// The Get job output response.
+ public virtual async Task GetJobOutputAsync([DynamicValues("Subscriptions_List")] string subscription, [DynamicValues("ResourceGroups_List")] string resourceGroup, [DynamicValues("AutomationAccounts_List")] string automationAccount, string jobId, CancellationToken cancellationToken = default)
{
- using var activity = AzureAutomationClient.ConnectorActivitySource.StartActivity("AzureAutomationClient.AutomationAccountsListAsync");
+ using var activity = AzureAutomationClient.ConnectorActivitySource.StartActivity("AzureAutomationClient.GetJobOutputAsync");
try
{
if (subscription is null)
throw new ArgumentNullException(nameof(subscription));
if (resourceGroup is null)
throw new ArgumentNullException(nameof(resourceGroup));
+ if (automationAccount is null)
+ throw new ArgumentNullException(nameof(automationAccount));
+ if (jobId is null)
+ throw new ArgumentNullException(nameof(jobId));
var queryParams = new List();
queryParams.Add("x-ms-api-version=2015-10-31");
- var path = $"/subscriptions/{Uri.EscapeDataString(subscription.ToString())}/resourceGroups/{Uri.EscapeDataString(resourceGroup.ToString())}/providers/Microsoft.Automation/automationAccounts" + (queryParams.Count > 0 ? "?" + string.Join("&", queryParams) : "");
+ var path = $"/subscriptions/{Uri.EscapeDataString(subscription.ToString())}/resourceGroups/{Uri.EscapeDataString(resourceGroup.ToString())}/providers/Microsoft.Automation/automationAccounts/{Uri.EscapeDataString(automationAccount.ToString())}/jobs/{Uri.EscapeDataString(jobId.ToString())}/output" + (queryParams.Count > 0 ? "?" + string.Join("&", queryParams) : "");
return await this
- .CallConnectorAsync(HttpMethod.Get, path, cancellationToken: cancellationToken)
+ .CallConnectorAsync(HttpMethod.Get, path, cancellationToken: cancellationToken)
.ConfigureAwait(continueOnCapturedContext: false);
}
@@ -490,18 +459,18 @@ public virtual async Task AutomationAccountsListAsync
}
///
- /// Get job output
+ /// Get status of job
///
- /// Get outputs of an Azure Automation job.
+ /// Get Status of a Job
/// Subscription
/// Resource Group
/// Automation Account
/// Job ID
/// Cancellation token.
- /// The Get job output response.
- public virtual async Task GetJobOutputAsync([DynamicValues("Subscriptions_List")] string subscription, [DynamicValues("ResourceGroups_List")] string resourceGroup, [DynamicValues("AutomationAccounts_List")] string automationAccount, string jobId, CancellationToken cancellationToken = default)
+ /// The Get status of job response.
+ public virtual async Task GetStatusOfJobAsync([DynamicValues("Subscriptions_List")] string subscription, [DynamicValues("ResourceGroups_List")] string resourceGroup, [DynamicValues("AutomationAccounts_List")] string automationAccount, string jobId, CancellationToken cancellationToken = default)
{
- using var activity = AzureAutomationClient.ConnectorActivitySource.StartActivity("AzureAutomationClient.GetJobOutputAsync");
+ using var activity = AzureAutomationClient.ConnectorActivitySource.StartActivity("AzureAutomationClient.GetStatusOfJobAsync");
try
{
if (subscription is null)
@@ -514,9 +483,9 @@ public virtual async Task GetJobOutputAsync([DynamicValues("Subscription
throw new ArgumentNullException(nameof(jobId));
var queryParams = new List();
queryParams.Add("x-ms-api-version=2015-10-31");
- var path = $"/subscriptions/{Uri.EscapeDataString(subscription.ToString())}/resourceGroups/{Uri.EscapeDataString(resourceGroup.ToString())}/providers/Microsoft.Automation/automationAccounts/{Uri.EscapeDataString(automationAccount.ToString())}/jobs/{Uri.EscapeDataString(jobId.ToString())}/output" + (queryParams.Count > 0 ? "?" + string.Join("&", queryParams) : "");
+ var path = $"/subscriptions/{Uri.EscapeDataString(subscription.ToString())}/resourceGroups/{Uri.EscapeDataString(resourceGroup.ToString())}/providers/Microsoft.Automation/automationAccounts/{Uri.EscapeDataString(automationAccount.ToString())}/jobs/{Uri.EscapeDataString(jobId.ToString())}" + (queryParams.Count > 0 ? "?" + string.Join("&", queryParams) : "");
return await this
- .CallConnectorAsync(HttpMethod.Get, path, cancellationToken: cancellationToken)
+ .CallConnectorAsync(HttpMethod.Get, path, cancellationToken: cancellationToken)
.ConfigureAwait(continueOnCapturedContext: false);
}
@@ -528,18 +497,20 @@ public virtual async Task GetJobOutputAsync([DynamicValues("Subscription
}
///
- /// Get status of job
+ /// Create job
///
- /// Get Status of a Job
+ /// Create Job to run on hybrid worker
/// Subscription
/// Resource Group
/// Automation Account
- /// Job ID
+ /// The request body.
+ /// Runbook Name
+ /// Wait for Job
/// Cancellation token.
- /// The Get status of job response.
- public virtual async Task GetStatusOfJobAsync([DynamicValues("Subscriptions_List")] string subscription, [DynamicValues("ResourceGroups_List")] string resourceGroup, [DynamicValues("AutomationAccounts_List")] string automationAccount, string jobId, CancellationToken cancellationToken = default)
+ /// The Create job response.
+ public virtual async Task CreateJobAsync([DynamicValues("Subscriptions_List")] string subscription, [DynamicValues("ResourceGroups_List")] string resourceGroup, [DynamicValues("AutomationAccounts_List")] string automationAccount, CreateJobInput input, [DynamicValues("Runbooks_List")] string runbookName = default, bool? waitForJob = default, CancellationToken cancellationToken = default)
{
- using var activity = AzureAutomationClient.ConnectorActivitySource.StartActivity("AzureAutomationClient.GetStatusOfJobAsync");
+ using var activity = AzureAutomationClient.ConnectorActivitySource.StartActivity("AzureAutomationClient.CreateJobAsync");
try
{
if (subscription is null)
@@ -548,13 +519,15 @@ public virtual async Task GetStatusOfJobAsync([DynamicValues(
throw new ArgumentNullException(nameof(resourceGroup));
if (automationAccount is null)
throw new ArgumentNullException(nameof(automationAccount));
- if (jobId is null)
- throw new ArgumentNullException(nameof(jobId));
var queryParams = new List();
queryParams.Add("x-ms-api-version=2015-10-31");
- var path = $"/subscriptions/{Uri.EscapeDataString(subscription.ToString())}/resourceGroups/{Uri.EscapeDataString(resourceGroup.ToString())}/providers/Microsoft.Automation/automationAccounts/{Uri.EscapeDataString(automationAccount.ToString())}/jobs/{Uri.EscapeDataString(jobId.ToString())}" + (queryParams.Count > 0 ? "?" + string.Join("&", queryParams) : "");
+ if (runbookName != default)
+ queryParams.Add($"runbookName={Uri.EscapeDataString(runbookName.ToString())}");
+ if (waitForJob.HasValue)
+ queryParams.Add($"wait={Uri.EscapeDataString(waitForJob.Value.ToString())}");
+ var path = $"/subscriptions/{Uri.EscapeDataString(subscription.ToString())}/resourceGroups/{Uri.EscapeDataString(resourceGroup.ToString())}/providers/Microsoft.Automation/automationAccounts/{Uri.EscapeDataString(automationAccount.ToString())}/jobs" + (queryParams.Count > 0 ? "?" + string.Join("&", queryParams) : "");
return await this
- .CallConnectorAsync(HttpMethod.Get, path, cancellationToken: cancellationToken)
+ .CallConnectorAsync(HttpMethod.Put, path, input, cancellationToken)
.ConfigureAwait(continueOnCapturedContext: false);
}
@@ -566,30 +539,64 @@ public virtual async Task GetStatusOfJobAsync([DynamicValues(
}
///
- /// List runbooks
+ /// List subscriptions
+ ///
+ /// Discovery method used to populate dynamic parameter values at design time.
+ /// Cancellation token.
+ /// An async enumerable of items across all pages.
+ public virtual AsyncPageable SubscriptionsListAsync(CancellationToken cancellationToken = default)
+ {
+ var queryParams = new List();
+ queryParams.Add("x-ms-api-version=2015-11-01");
+ var path = $"/subscriptions" + (queryParams.Count > 0 ? "?" + string.Join("&", queryParams) : "");
+ return this.CreatePageable(
+ ct => this.CallConnectorAsync(HttpMethod.Get, path, cancellationToken: ct),
+ (nextLink, ct) => this.CallConnectorAsync(HttpMethod.Get, nextLink, cancellationToken: ct),
+ cancellationToken);
+ }
+
+ ///
+ /// List resource groups
+ ///
+ /// Discovery method used to populate dynamic parameter values at design time.
+ /// Subscription
+ /// Cancellation token.
+ /// An async enumerable of items across all pages.
+ public virtual AsyncPageable ResourceGroupsListAsync([DynamicValues("Subscriptions_List")] string subscription, CancellationToken cancellationToken = default)
+ {
+ if (subscription is null)
+ throw new ArgumentNullException(nameof(subscription));
+ var queryParams = new List();
+ queryParams.Add("x-ms-api-version=2015-10-31");
+ var path = $"/subscriptions/{Uri.EscapeDataString(subscription.ToString())}/resourcegroups" + (queryParams.Count > 0 ? "?" + string.Join("&", queryParams) : "");
+ return this.CreatePageable(
+ ct => this.CallConnectorAsync(HttpMethod.Get, path, cancellationToken: ct),
+ (nextLink, ct) => this.CallConnectorAsync(HttpMethod.Get, nextLink, cancellationToken: ct),
+ cancellationToken);
+ }
+
+ ///
+ /// List Automation accounts
///
/// Discovery method used to populate dynamic parameter values at design time.
/// Subscription
/// Resource Group
- /// Automation Account
/// Cancellation token.
- /// The List runbooks response.
- public virtual async Task RunbooksListAsync([DynamicValues("Subscriptions_List")] string subscription, [DynamicValues("ResourceGroups_List")] string resourceGroup, [DynamicValues("AutomationAccounts_List")] string automationAccount, CancellationToken cancellationToken = default)
+ /// The List Automation accounts response.
+ public virtual async Task AutomationAccountsListAsync([DynamicValues("Subscriptions_List")] string subscription, [DynamicValues("ResourceGroups_List")] string resourceGroup, CancellationToken cancellationToken = default)
{
- using var activity = AzureAutomationClient.ConnectorActivitySource.StartActivity("AzureAutomationClient.RunbooksListAsync");
+ using var activity = AzureAutomationClient.ConnectorActivitySource.StartActivity("AzureAutomationClient.AutomationAccountsListAsync");
try
{
if (subscription is null)
throw new ArgumentNullException(nameof(subscription));
if (resourceGroup is null)
throw new ArgumentNullException(nameof(resourceGroup));
- if (automationAccount is null)
- throw new ArgumentNullException(nameof(automationAccount));
var queryParams = new List();
queryParams.Add("x-ms-api-version=2015-10-31");
- var path = $"/subscriptions/{Uri.EscapeDataString(subscription.ToString())}/resourceGroups/{Uri.EscapeDataString(resourceGroup.ToString())}/providers/Microsoft.Automation/automationAccounts/{Uri.EscapeDataString(automationAccount.ToString())}/runbooks" + (queryParams.Count > 0 ? "?" + string.Join("&", queryParams) : "");
+ var path = $"/subscriptions/{Uri.EscapeDataString(subscription.ToString())}/resourceGroups/{Uri.EscapeDataString(resourceGroup.ToString())}/providers/Microsoft.Automation/automationAccounts" + (queryParams.Count > 0 ? "?" + string.Join("&", queryParams) : "");
return await this
- .CallConnectorAsync(HttpMethod.Get, path, cancellationToken: cancellationToken)
+ .CallConnectorAsync(HttpMethod.Get, path, cancellationToken: cancellationToken)
.ConfigureAwait(continueOnCapturedContext: false);
}
@@ -601,20 +608,17 @@ public virtual async Task RunbooksListAsync([DynamicValues("
}
///
- /// Create job
+ /// List runbooks
///
- /// Create Job to run on hybrid worker
+ /// Discovery method used to populate dynamic parameter values at design time.
/// Subscription
/// Resource Group
/// Automation Account
- /// The request body.
- /// Runbook Name
- /// Wait for Job
/// Cancellation token.
- /// The Create job response.
- public virtual async Task CreateJobAsync([DynamicValues("Subscriptions_List")] string subscription, [DynamicValues("ResourceGroups_List")] string resourceGroup, [DynamicValues("AutomationAccounts_List")] string automationAccount, CreateJobInput input, [DynamicValues("Runbooks_List")] string runbookName = default, bool? waitForJob = default, CancellationToken cancellationToken = default)
+ /// The List runbooks response.
+ public virtual async Task RunbooksListAsync([DynamicValues("Subscriptions_List")] string subscription, [DynamicValues("ResourceGroups_List")] string resourceGroup, [DynamicValues("AutomationAccounts_List")] string automationAccount, CancellationToken cancellationToken = default)
{
- using var activity = AzureAutomationClient.ConnectorActivitySource.StartActivity("AzureAutomationClient.CreateJobAsync");
+ using var activity = AzureAutomationClient.ConnectorActivitySource.StartActivity("AzureAutomationClient.RunbooksListAsync");
try
{
if (subscription is null)
@@ -625,13 +629,9 @@ public virtual async Task CreateJobAsync([DynamicValues("Subs
throw new ArgumentNullException(nameof(automationAccount));
var queryParams = new List();
queryParams.Add("x-ms-api-version=2015-10-31");
- if (runbookName != default)
- queryParams.Add($"runbookName={Uri.EscapeDataString(runbookName.ToString())}");
- if (waitForJob.HasValue)
- queryParams.Add($"wait={Uri.EscapeDataString(waitForJob.Value.ToString())}");
- var path = $"/subscriptions/{Uri.EscapeDataString(subscription.ToString())}/resourceGroups/{Uri.EscapeDataString(resourceGroup.ToString())}/providers/Microsoft.Automation/automationAccounts/{Uri.EscapeDataString(automationAccount.ToString())}/jobs" + (queryParams.Count > 0 ? "?" + string.Join("&", queryParams) : "");
+ var path = $"/subscriptions/{Uri.EscapeDataString(subscription.ToString())}/resourceGroups/{Uri.EscapeDataString(resourceGroup.ToString())}/providers/Microsoft.Automation/automationAccounts/{Uri.EscapeDataString(automationAccount.ToString())}/runbooks" + (queryParams.Count > 0 ? "?" + string.Join("&", queryParams) : "");
return await this
- .CallConnectorAsync(HttpMethod.Put, path, input, cancellationToken)
+ .CallConnectorAsync(HttpMethod.Get, path, cancellationToken: cancellationToken)
.ConfigureAwait(continueOnCapturedContext: false);
}
diff --git a/src/Azure.Connectors.Sdk/Generated/AzureBlobExtensions.cs b/src/Azure.Connectors.Sdk/Generated/AzureBlobExtensions.cs
index 74ebdac..fb5cfdc 100644
--- a/src/Azure.Connectors.Sdk/Generated/AzureBlobExtensions.cs
+++ b/src/Azure.Connectors.Sdk/Generated/AzureBlobExtensions.cs
@@ -31,31 +31,7 @@ namespace Azure.Connectors.Sdk.AzureBlob.Models
#region Types
///
- /// Response for Get storage accounts
- ///
- public class StorageAccountList
- {
- /// List of storage account names
- [JsonPropertyName("value")]
- public List Value { get; set; }
- }
-
- ///
- /// Item in List of storage account names
- ///
- public class StorageAccount
- {
- /// The name of the storage account.
- [JsonPropertyName("Name")]
- public string StorageAccountName { get; set; }
-
- /// The display name of the storage account.
- [JsonPropertyName("DisplayName")]
- public string StorageAccountDisplayName { get; set; }
- }
-
- ///
- /// Response for Copy blob (V2)
+ /// Blob metadata
///
public class BlobMetadata
{
@@ -103,7 +79,7 @@ public class BlobMetadata
}
///
- /// Response for Create SAS URI by path (V2)
+ /// Shared access signature
///
public class SharedAccessSignature
{
@@ -113,7 +89,7 @@ public class SharedAccessSignature
}
///
- /// Response for Get available access policies (V2)
+ /// The set of parameters to generate a SAS link.
///
public class SharedAccessSignatureBlobPolicy
{
@@ -143,7 +119,7 @@ public class SharedAccessSignatureBlobPolicy
}
///
- /// Response for Get Blob Metadata (V2)
+ /// Data with sensitivity label info
///
public class DataWithSensitivityLabelInfo
{
@@ -195,7 +171,7 @@ public class DataWithSensitivityLabelInfo
}
///
- /// Item in Sensitivity label metadata info list
+ /// SensitivityLabel metadata info
///
public class SensitivityLabelMetadata
{
@@ -241,7 +217,7 @@ public class SensitivityLabelMetadata
}
///
- /// Response for Lists blobs (V2)
+ /// Represents a list of blobs alongside their respective sensitivity label metadata.
///
public class ListOfBlobsWithSensitivityLabels
{
@@ -251,7 +227,7 @@ public class ListOfBlobsWithSensitivityLabels
}
///
- /// Response for Lists blobs in the root folder (V2)
+ /// Represents a page of blob metadata.
///
public class BlobMetadataPage : IPageable
{
@@ -269,6 +245,30 @@ public class BlobMetadataPage : IPageable
public string NextPageMarker { get; set; }
}
+ ///
+ /// List of storage account names
+ ///
+ public class StorageAccountList
+ {
+ /// List of storage account names
+ [JsonPropertyName("value")]
+ public List Value { get; set; }
+ }
+
+ ///
+ /// Storage account
+ ///
+ public class StorageAccount
+ {
+ /// The name of the storage account.
+ [JsonPropertyName("Name")]
+ public string StorageAccountName { get; set; }
+
+ /// The display name of the storage account.
+ [JsonPropertyName("DisplayName")]
+ public string StorageAccountDisplayName { get; set; }
+ }
+
///
/// Extensible enum for known AccessProtocol values.
///
@@ -405,32 +405,6 @@ public PermissionsJsonConverter() { }
///
public static class AzureBlobModelFactory
{
- ///
- /// Creates a new instance of .
- ///
- public static StorageAccountList StorageAccountList(
- List value = default)
- {
- return new StorageAccountList
- {
- Value = value,
- };
- }
-
- ///
- /// Creates a new instance of .
- ///
- public static StorageAccount StorageAccount(
- string storageAccountName = default,
- string storageAccountDisplayName = default)
- {
- return new StorageAccount
- {
- StorageAccountName = storageAccountName,
- StorageAccountDisplayName = storageAccountDisplayName,
- };
- }
-
///
/// Creates a new instance of .
///
@@ -584,6 +558,32 @@ public static BlobMetadataPage BlobMetadataPage(
NextPageMarker = nextPageMarker,
};
}
+
+ ///
+ /// Creates a new instance of .
+ ///
+ public static StorageAccountList StorageAccountList(
+ List value = default)
+ {
+ return new StorageAccountList
+ {
+ Value = value,
+ };
+ }
+
+ ///
+ /// Creates a new instance of .
+ ///
+ public static StorageAccount StorageAccount(
+ string storageAccountName = default,
+ string storageAccountDisplayName = default)
+ {
+ return new StorageAccount
+ {
+ StorageAccountName = storageAccountName,
+ StorageAccountDisplayName = storageAccountDisplayName,
+ };
+ }
}
#endregion Model Factory
@@ -657,6 +657,13 @@ public static class AzureBlobTriggerParameters
///
public static class OnUpdatedFiles
{
+ ///
+ /// Azure Storage account name or blob endpoint.
+ /// Required.
+ /// Dynamic values from: GetDataSets.
+ ///
+ public const string Dataset = "dataset";
+
///
/// Select a container.
/// Required.
@@ -747,30 +754,6 @@ protected AzureBlobClient() : base() { }
[EditorBrowsable(EditorBrowsableState.Never)]
public override string ToString() => base.ToString();
- ///
- /// Get storage accounts
- ///
- /// Discovery method used to populate dynamic parameter values at design time.
- /// Cancellation token.
- /// The Get storage accounts response.
- public virtual async Task GetDataSetsAsync(CancellationToken cancellationToken = default)
- {
- using var activity = AzureBlobClient.ConnectorActivitySource.StartActivity("AzureBlobClient.GetDataSetsAsync");
- try
- {
- var path = $"/v2/codeless/GetDataSets";
- return await this
- .CallConnectorAsync(HttpMethod.Get, path, cancellationToken: cancellationToken)
- .ConfigureAwait(continueOnCapturedContext: false);
-
- }
- catch (Exception ex) when (!ex.IsFatal())
- {
- activity?.SetStatus(System.Diagnostics.ActivityStatusCode.Error, ex.Message);
- throw;
- }
- }
-
///
/// Copy blob (V2)
///
@@ -1309,6 +1292,30 @@ public virtual async Task UpdateFileAsync([DynamicValues("GetDataS
}
}
+ ///
+ /// Get storage accounts
+ ///
+ /// Discovery method used to populate dynamic parameter values at design time.
+ /// Cancellation token.
+ /// The Get storage accounts response.
+ public virtual async Task GetDataSetsAsync(CancellationToken cancellationToken = default)
+ {
+ using var activity = AzureBlobClient.ConnectorActivitySource.StartActivity("AzureBlobClient.GetDataSetsAsync");
+ try
+ {
+ var path = $"/v2/codeless/GetDataSets";
+ return await this
+ .CallConnectorAsync(HttpMethod.Get, path, cancellationToken: cancellationToken)
+ .ConfigureAwait(continueOnCapturedContext: false);
+
+ }
+ catch (Exception ex) when (!ex.IsFatal())
+ {
+ activity?.SetStatus(System.Diagnostics.ActivityStatusCode.Error, ex.Message);
+ throw;
+ }
+ }
+
}
#endregion Client
diff --git a/src/Azure.Connectors.Sdk/Generated/AzureDataFactoryExtensions.cs b/src/Azure.Connectors.Sdk/Generated/AzureDataFactoryExtensions.cs
index 36ee16d..282d45e 100644
--- a/src/Azure.Connectors.Sdk/Generated/AzureDataFactoryExtensions.cs
+++ b/src/Azure.Connectors.Sdk/Generated/AzureDataFactoryExtensions.cs
@@ -29,47 +29,6 @@ namespace Azure.Connectors.Sdk.AzureDataFactory.Models
#region Types
- ///
- /// Response for List pipelines
- ///
- public class PipelineListResult : IPageable
- {
- /// The list of Data Factories.
- [JsonPropertyName("value")]
- public List Value { get; set; }
-
- /// The URL to get the next set of results.
- [JsonPropertyName("nextLink")]
- [JsonInclude]
- public string NextLink { get; init; }
- }
-
- ///
- /// Item in The list of Data Factories.
- ///
- public class Pipeline
- {
- /// The resource identifier.
- [JsonPropertyName("id")]
- [JsonInclude]
- public string Id { get; init; }
-
- /// The resource name of the pipeline.
- [JsonPropertyName("name")]
- [JsonInclude]
- public string Name { get; init; }
-
- /// The pipeline properties.
- [JsonPropertyName("properties")]
- [JsonInclude]
- public JsonElement? Properties { get; init; }
-
- /// Etag identifies change in the resource.
- [JsonPropertyName("etag")]
- [JsonInclude]
- public string Etag { get; init; }
- }
-
///
/// Response for Create a pipeline run
///
@@ -81,63 +40,7 @@ public class CreatePipelineRunResponse
}
///
- /// Response for List Factories
- ///
- public class DataFactoryListResult : IPageable
- {
- /// The list of Data Factories.
- [JsonPropertyName("value")]
- public List Value { get; set; }
-
- /// The URL to get the next set of results.
- [JsonPropertyName("nextLink")]
- [JsonInclude]
- public string NextLink { get; init; }
- }
-
- ///
- /// Item in The list of Data Factories.
- ///
- public class DataFactory
- {
- /// The resource name.
- [JsonPropertyName("name")]
- [JsonInclude]
- public string Name { get; init; }
-
- /// The resource tags.
- [JsonPropertyName("tags")]
- [JsonInclude]
- public JsonElement? Tags { get; init; }
-
- /// Data Factory additional properties.
- [JsonPropertyName("properties")]
- [JsonInclude]
- public JsonElement? Properties { get; init; }
-
- /// Managed service identity of the factory.
- [JsonPropertyName("identity")]
- [JsonInclude]
- public JsonElement? Identity { get; init; }
-
- /// The resource identitfier.
- [JsonPropertyName("id")]
- [JsonInclude]
- public string Id { get; init; }
-
- /// The resource type.
- [JsonPropertyName("type")]
- [JsonInclude]
- public string Type { get; init; }
-
- /// The resource location
- [JsonPropertyName("location")]
- [JsonInclude]
- public string Location { get; init; }
- }
-
- ///
- /// Response for Get a pipeline run
+ /// Information about a pipeline run.
///
public class PipelineRun
{
@@ -198,7 +101,7 @@ public class PipelineRun
}
///
- /// Response for List subscriptions
+ /// Subscription list operation response.
///
public class SubscriptionListResult : IPageable
{
@@ -212,7 +115,7 @@ public class SubscriptionListResult : IPageable
}
///
- /// Item in The subscriptions.
+ /// Subscription information.
///
public class Subscription
{
@@ -251,7 +154,7 @@ public class Subscription
}
///
- /// subscriptionPolicies
+ /// Subscription policies.
///
public class SubscriptionPolicies
{
@@ -272,7 +175,7 @@ public class SubscriptionPolicies
}
///
- /// Response for List resource groups
+ /// List of resource groups.
///
public class ResourceGroupListResult : IPageable
{
@@ -287,7 +190,7 @@ public class ResourceGroupListResult : IPageable
}
///
- /// Item in The list of resource groups.
+ /// Resource group information.
///
public class ResourceGroup
{
@@ -320,7 +223,7 @@ public class ResourceGroup
}
///
- /// properties
+ /// The resource group properties.
///
public class ResourceGroupProperties
{
@@ -331,7 +234,104 @@ public class ResourceGroupProperties
}
///
- /// Activity
+ /// List of Data Factories.
+ ///
+ public class DataFactoryListResult : IPageable
+ {
+ /// The list of Data Factories.
+ [JsonPropertyName("value")]
+ public List Value { get; set; }
+
+ /// The URL to get the next set of results.
+ [JsonPropertyName("nextLink")]
+ [JsonInclude]
+ public string NextLink { get; init; }
+ }
+
+ ///
+ /// DataFactory information.
+ ///
+ public class DataFactory
+ {
+ /// The resource name.
+ [JsonPropertyName("name")]
+ [JsonInclude]
+ public string Name { get; init; }
+
+ /// The resource tags.
+ [JsonPropertyName("tags")]
+ [JsonInclude]
+ public JsonElement? Tags { get; init; }
+
+ /// Data Factory additional properties.
+ [JsonPropertyName("properties")]
+ [JsonInclude]
+ public JsonElement? Properties { get; init; }
+
+ /// Managed service identity of the factory.
+ [JsonPropertyName("identity")]
+ [JsonInclude]
+ public JsonElement? Identity { get; init; }
+
+ /// The resource identitfier.
+ [JsonPropertyName("id")]
+ [JsonInclude]
+ public string Id { get; init; }
+
+ /// The resource type.
+ [JsonPropertyName("type")]
+ [JsonInclude]
+ public string Type { get; init; }
+
+ /// The resource location
+ [JsonPropertyName("location")]
+ [JsonInclude]
+ public string Location { get; init; }
+ }
+
+ ///
+ /// List of pipelines.
+ ///
+ public class PipelineListResult : IPageable
+ {
+ /// The list of Data Factories.
+ [JsonPropertyName("value")]
+ public List Value { get; set; }
+
+ /// The URL to get the next set of results.
+ [JsonPropertyName("nextLink")]
+ [JsonInclude]
+ public string NextLink { get; init; }
+ }
+
+ ///
+ /// Pipeline information.
+ ///
+ public class Pipeline
+ {
+ /// The resource identifier.
+ [JsonPropertyName("id")]
+ [JsonInclude]
+ public string Id { get; init; }
+
+ /// The resource name of the pipeline.
+ [JsonPropertyName("name")]
+ [JsonInclude]
+ public string Name { get; init; }
+
+ /// The pipeline properties.
+ [JsonPropertyName("properties")]
+ [JsonInclude]
+ public JsonElement? Properties { get; init; }
+
+ /// Etag identifies change in the resource.
+ [JsonPropertyName("etag")]
+ [JsonInclude]
+ public string Etag { get; init; }
+ }
+
+ ///
+ /// Pipeline activity.
///
public class Activity
{
@@ -343,7 +343,7 @@ public class Activity
}
///
- /// ParameterValueSpecification
+ /// An object mapping parameter names to argument values.
///
public class ParameterValueSpecification
{
@@ -481,38 +481,6 @@ public StateJsonConverter() { }
///
public static class AzureDataFactoryModelFactory
{
- ///
- /// Creates a new instance of .
- ///
- public static PipelineListResult PipelineListResult(
- List value = default,
- string nextLink = default)
- {
- return new PipelineListResult
- {
- Value = value,
- NextLink = nextLink,
- };
- }
-
- ///
- /// Creates a new instance of .
- ///
- public static Pipeline Pipeline(
- string id = default,
- string name = default,
- JsonElement? properties = default,
- string etag = default)
- {
- return new Pipeline
- {
- Id = id,
- Name = name,
- Properties = properties,
- Etag = etag,
- };
- }
-
///
/// Creates a new instance of .
///
@@ -525,44 +493,6 @@ public static CreatePipelineRunResponse CreatePipelineRunResponse(
};
}
- ///
- /// Creates a new instance of .
- ///
- public static DataFactoryListResult DataFactoryListResult(
- List value = default,
- string nextLink = default)
- {
- return new DataFactoryListResult
- {
- Value = value,
- NextLink = nextLink,
- };
- }
-
- ///
- /// Creates a new instance of .
- ///
- public static DataFactory DataFactory(
- string name = default,
- JsonElement? tags = default,
- JsonElement? properties = default,
- JsonElement? identity = default,
- string id = default,
- string type = default,
- string location = default)
- {
- return new DataFactory
- {
- Name = name,
- Tags = tags,
- Properties = properties,
- Identity = identity,
- Id = id,
- Type = type,
- Location = location,
- };
- }
-
///
/// Creates a new instance of .
///
@@ -696,6 +626,76 @@ public static ResourceGroupProperties ResourceGroupProperties(
ProvisioningState = provisioningState,
};
}
+
+ ///
+ /// Creates a new instance of .
+ ///
+ public static DataFactoryListResult DataFactoryListResult(
+ List value = default,
+ string nextLink = default)
+ {
+ return new DataFactoryListResult
+ {
+ Value = value,
+ NextLink = nextLink,
+ };
+ }
+
+ ///
+ /// Creates a new instance of .
+ ///
+ public static DataFactory DataFactory(
+ string name = default,
+ JsonElement? tags = default,
+ JsonElement? properties = default,
+ JsonElement? identity = default,
+ string id = default,
+ string type = default,
+ string location = default)
+ {
+ return new DataFactory
+ {
+ Name = name,
+ Tags = tags,
+ Properties = properties,
+ Identity = identity,
+ Id = id,
+ Type = type,
+ Location = location,
+ };
+ }
+
+ ///
+ /// Creates a new instance of .
+ ///
+ public static PipelineListResult PipelineListResult(
+ List value = default,
+ string nextLink = default)
+ {
+ return new PipelineListResult
+ {
+ Value = value,
+ NextLink = nextLink,
+ };
+ }
+
+ ///
+ /// Creates a new instance of .
+ ///
+ public static Pipeline Pipeline(
+ string id = default,
+ string name = default,
+ JsonElement? properties = default,
+ string etag = default)
+ {
+ return new Pipeline
+ {
+ Id = id,
+ Name = name,
+ Properties = properties,
+ Etag = etag,
+ };
+ }
}
#endregion Model Factory
@@ -771,32 +771,6 @@ protected AzureDataFactoryClient() : base() { }
[EditorBrowsable(EditorBrowsableState.Never)]
public override string ToString() => base.ToString();
- ///
- /// List pipelines
- ///
- /// Discovery method used to populate dynamic parameter values at design time.
- /// Subscription
- /// Resource Group
- /// Data Factory Name
- /// Cancellation token.
- /// An async enumerable of items across all pages.
- public virtual AsyncPageable ListPipelinesAsync([DynamicValues("ListSubscriptions")] string subscription, [DynamicValues("ListResourceGroups")] string resourceGroup, [DynamicValues("ListDataFactories")] string dataFactoryName, CancellationToken cancellationToken = default)
- {
- if (subscription is null)
- throw new ArgumentNullException(nameof(subscription));
- if (resourceGroup is null)
- throw new ArgumentNullException(nameof(resourceGroup));
- if (dataFactoryName is null)
- throw new ArgumentNullException(nameof(dataFactoryName));
- var queryParams = new List();
- queryParams.Add("x-ms-api-version=2017-09-01-preview");
- var path = $"/subscriptions/{Uri.EscapeDataString(subscription.ToString())}/resourcegroups/{Uri.EscapeDataString(resourceGroup.ToString())}/providers/Microsoft.DataFactory/factories/{Uri.EscapeDataString(dataFactoryName.ToString())}/pipelines" + (queryParams.Count > 0 ? "?" + string.Join("&", queryParams) : "");
- return this.CreatePageable(
- ct => this.CallConnectorAsync(HttpMethod.Get, path, cancellationToken: ct),
- (nextLink, ct) => this.CallConnectorAsync(HttpMethod.Get, nextLink, cancellationToken: ct),
- cancellationToken);
- }
-
///
/// Create a pipeline run
///
@@ -876,29 +850,6 @@ await this
}
}
- ///
- /// List Factories
- ///
- /// Discovery method used to populate dynamic parameter values at design time.
- /// Subscription
- /// Resource Group
- /// Cancellation token.
- /// An async enumerable of items across all pages.
- public virtual AsyncPageable ListDataFactoriesAsync([DynamicValues("ListSubscriptions")] string subscription, [DynamicValues("ListResourceGroups")] string resourceGroup, CancellationToken cancellationToken = default)
- {
- if (subscription is null)
- throw new ArgumentNullException(nameof(subscription));
- if (resourceGroup is null)
- throw new ArgumentNullException(nameof(resourceGroup));
- var queryParams = new List();
- queryParams.Add("x-ms-api-version=2017-09-01-preview");
- var path = $"/subscriptions/{Uri.EscapeDataString(subscription.ToString())}/resourcegroups/{Uri.EscapeDataString(resourceGroup.ToString())}/providers/Microsoft.DataFactory/factories" + (queryParams.Count > 0 ? "?" + string.Join("&", queryParams) : "");
- return this.CreatePageable(
- ct => this.CallConnectorAsync(HttpMethod.Get, path, cancellationToken: ct),
- (nextLink, ct) => this.CallConnectorAsync(HttpMethod.Get, nextLink, cancellationToken: ct),
- cancellationToken);
- }
-
///
/// Get a pipeline run
///
@@ -980,6 +931,55 @@ public virtual AsyncPageable ListResourceGroupsAsync([DynamicValu
cancellationToken);
}
+ ///
+ /// List Factories
+ ///
+ /// Discovery method used to populate dynamic parameter values at design time.
+ /// Subscription
+ /// Resource Group
+ /// Cancellation token.
+ /// An async enumerable of items across all pages.
+ public virtual AsyncPageable ListDataFactoriesAsync([DynamicValues("ListSubscriptions")] string subscription, [DynamicValues("ListResourceGroups")] string resourceGroup, CancellationToken cancellationToken = default)
+ {
+ if (subscription is null)
+ throw new ArgumentNullException(nameof(subscription));
+ if (resourceGroup is null)
+ throw new ArgumentNullException(nameof(resourceGroup));
+ var queryParams = new List();
+ queryParams.Add("x-ms-api-version=2017-09-01-preview");
+ var path = $"/subscriptions/{Uri.EscapeDataString(subscription.ToString())}/resourcegroups/{Uri.EscapeDataString(resourceGroup.ToString())}/providers/Microsoft.DataFactory/factories" + (queryParams.Count > 0 ? "?" + string.Join("&", queryParams) : "");
+ return this.CreatePageable(
+ ct => this.CallConnectorAsync(HttpMethod.Get, path, cancellationToken: ct),
+ (nextLink, ct) => this.CallConnectorAsync(HttpMethod.Get, nextLink, cancellationToken: ct),
+ cancellationToken);
+ }
+
+ ///
+ /// List pipelines
+ ///
+ /// Discovery method used to populate dynamic parameter values at design time.
+ /// Subscription
+ /// Resource Group
+ /// Data Factory Name
+ /// Cancellation token.
+ /// An async enumerable of items across all pages.
+ public virtual AsyncPageable ListPipelinesAsync([DynamicValues("ListSubscriptions")] string subscription, [DynamicValues("ListResourceGroups")] string resourceGroup, [DynamicValues("ListDataFactories")] string dataFactoryName, CancellationToken cancellationToken = default)
+ {
+ if (subscription is null)
+ throw new ArgumentNullException(nameof(subscription));
+ if (resourceGroup is null)
+ throw new ArgumentNullException(nameof(resourceGroup));
+ if (dataFactoryName is null)
+ throw new ArgumentNullException(nameof(dataFactoryName));
+ var queryParams = new List();
+ queryParams.Add("x-ms-api-version=2017-09-01-preview");
+ var path = $"/subscriptions/{Uri.EscapeDataString(subscription.ToString())}/resourcegroups/{Uri.EscapeDataString(resourceGroup.ToString())}/providers/Microsoft.DataFactory/factories/{Uri.EscapeDataString(dataFactoryName.ToString())}/pipelines" + (queryParams.Count > 0 ? "?" + string.Join("&", queryParams) : "");
+ return this.CreatePageable(
+ ct => this.CallConnectorAsync(HttpMethod.Get, path, cancellationToken: ct),
+ (nextLink, ct) => this.CallConnectorAsync(HttpMethod.Get, nextLink, cancellationToken: ct),
+ cancellationToken);
+ }
+
}
#endregion Client
diff --git a/src/Azure.Connectors.Sdk/Generated/AzureEventGridExtensions.cs b/src/Azure.Connectors.Sdk/Generated/AzureEventGridExtensions.cs
index 98ddd4b..d7f1e72 100644
--- a/src/Azure.Connectors.Sdk/Generated/AzureEventGridExtensions.cs
+++ b/src/Azure.Connectors.Sdk/Generated/AzureEventGridExtensions.cs
@@ -29,17 +29,7 @@ namespace Azure.Connectors.Sdk.AzureEventGrid.Models
#region Types
///
- /// Response for TopicTypes_List
- ///
- public class TopicTypesResponse
- {
- /// value
- [JsonPropertyName("value")]
- public List Value { get; set; }
- }
-
- ///
- /// Response for List subscriptions
+ /// Subscription list operation response.
///
public class SubscriptionListResult
{
@@ -69,6 +59,16 @@ public class Subscription
public string DisplayName { get; init; }
}
+ ///
+ /// Response for TopicTypes_List
+ ///
+ public class TopicTypesResponse
+ {
+ /// value
+ [JsonPropertyName("value")]
+ public List Value { get; set; }
+ }
+
///
/// EventRequest
///
@@ -90,18 +90,6 @@ public class EventRequest
///
public static class AzureEventGridModelFactory
{
- ///
- /// Creates a new instance of .
- ///
- public static TopicTypesResponse TopicTypesResponse(
- List value = default)
- {
- return new TopicTypesResponse
- {
- Value = value,
- };
- }
-
///
/// Creates a new instance of .
///
@@ -130,6 +118,18 @@ public static Subscription Subscription(
};
}
+ ///
+ /// Creates a new instance of .
+ ///
+ public static TopicTypesResponse TopicTypesResponse(
+ List value = default)
+ {
+ return new TopicTypesResponse
+ {
+ Value = value,
+ };
+ }
+
///
/// Creates a new instance of .
///
@@ -188,6 +188,20 @@ public static class OnCreateSubscription
///
public const string XMsApiVersion = "x-ms-api-version";
+ ///
+ /// The unique identifier for the Microsoft Azure subscription. The subscription ID forms part of the ID for every Azure resource.
+ /// Required.
+ /// Dynamic values from: Subscriptions_List.
+ ///
+ public const string SubscriptionId = "subscriptionId";
+
+ ///
+ /// Type of resource to create event subscription on.
+ /// Required.
+ /// Dynamic values from: TopicTypes_List.
+ ///
+ public const string ResourceType = "resourceType";
+
///
/// Name to use for the new Event Grid subscription.
///
@@ -266,21 +280,21 @@ protected AzureEventGridClient() : base() { }
public override string ToString() => base.ToString();
///
- /// TopicTypes_List
+ /// List subscriptions
///
/// Discovery method used to populate dynamic parameter values at design time.
/// Cancellation token.
- /// The TopicTypes_List response.
- public virtual async Task TopicTypesListAsync(CancellationToken cancellationToken = default)
+ /// The List subscriptions response.
+ public virtual async Task SubscriptionsListAsync(CancellationToken cancellationToken = default)
{
- using var activity = AzureEventGridClient.ConnectorActivitySource.StartActivity("AzureEventGridClient.TopicTypesListAsync");
+ using var activity = AzureEventGridClient.ConnectorActivitySource.StartActivity("AzureEventGridClient.SubscriptionsListAsync");
try
{
var queryParams = new List();
- queryParams.Add("x-ms-api-version=2017-09-15-preview");
- var path = $"/providers/Microsoft.EventGrid/topicTypes" + (queryParams.Count > 0 ? "?" + string.Join("&", queryParams) : "");
+ queryParams.Add("x-ms-api-version=2015-11-01");
+ var path = $"/subscriptions" + (queryParams.Count > 0 ? "?" + string.Join("&", queryParams) : "");
return await this
- .CallConnectorAsync(HttpMethod.Get, path, cancellationToken: cancellationToken)
+ .CallConnectorAsync(HttpMethod.Get, path, cancellationToken: cancellationToken)
.ConfigureAwait(continueOnCapturedContext: false);
}
@@ -292,21 +306,21 @@ public virtual async Task TopicTypesListAsync(CancellationTo
}
///
- /// List subscriptions
+ /// TopicTypes_List
///
/// Discovery method used to populate dynamic parameter values at design time.
/// Cancellation token.
- /// The List subscriptions response.
- public virtual async Task SubscriptionsListAsync(CancellationToken cancellationToken = default)
+ /// The TopicTypes_List response.
+ public virtual async Task TopicTypesListAsync(CancellationToken cancellationToken = default)
{
- using var activity = AzureEventGridClient.ConnectorActivitySource.StartActivity("AzureEventGridClient.SubscriptionsListAsync");
+ using var activity = AzureEventGridClient.ConnectorActivitySource.StartActivity("AzureEventGridClient.TopicTypesListAsync");
try
{
var queryParams = new List();
- queryParams.Add("x-ms-api-version=2015-11-01");
- var path = $"/subscriptions" + (queryParams.Count > 0 ? "?" + string.Join("&", queryParams) : "");
+ queryParams.Add("x-ms-api-version=2017-09-15-preview");
+ var path = $"/providers/Microsoft.EventGrid/topicTypes" + (queryParams.Count > 0 ? "?" + string.Join("&", queryParams) : "");
return await this
- .CallConnectorAsync(HttpMethod.Get, path, cancellationToken: cancellationToken)
+ .CallConnectorAsync(HttpMethod.Get, path, cancellationToken: cancellationToken)
.ConfigureAwait(continueOnCapturedContext: false);
}
diff --git a/src/Azure.Connectors.Sdk/Generated/AzureMonitorLogsExtensions.cs b/src/Azure.Connectors.Sdk/Generated/AzureMonitorLogsExtensions.cs
index 01cf5e6..6b86eff 100644
--- a/src/Azure.Connectors.Sdk/Generated/AzureMonitorLogsExtensions.cs
+++ b/src/Azure.Connectors.Sdk/Generated/AzureMonitorLogsExtensions.cs
@@ -30,7 +30,85 @@ namespace Azure.Connectors.Sdk.AzureMonitorLogs.Models
#region Types
///
- /// Response for List subscriptions
+ /// Time range selection parameters.
+ ///
+ public class QueryDataInput
+ {
+ /// Specify the query you would like to run.
+ [JsonPropertyName("query")]
+ public string Query { get; set; }
+
+ /// Select Time Range type.
+ [JsonPropertyName("timerangetype")]
+ public string TimeRangeType { get; set; }
+
+ /// Time Range
+ [JsonPropertyName("timerange")]
+ public JsonElement? TimeRange { get; set; }
+ }
+
+ ///
+ /// Response for Run query and list results V2
+ ///
+ public class Table
+ {
+ /// value
+ [JsonPropertyName("value")]
+ public List Value { get; set; }
+ }
+
+ ///
+ /// Row
+ ///
+ [DynamicSchema("QuerySchemaV2")]
+ public class Row
+ {
+ ///
+ /// Dynamic properties determined at runtime by the connector's schema discovery endpoint.
+ /// Populate this dictionary with the properties returned by the schema API.
+ ///
+ [JsonExtensionData]
+ public Dictionary AdditionalProperties { get; set; } = new();
+ }
+
+ ///
+ /// Time range selection parameters.
+ ///
+ public class VisualizeQueryInput
+ {
+ /// Specify the query you would like to run.
+ [JsonPropertyName("query")]
+ public string Query { get; set; }
+
+ /// Select Time Range type.
+ [JsonPropertyName("timerangetype")]
+ public string TimeRangeType { get; set; }
+
+ /// Time Range
+ [JsonPropertyName("timerange")]
+ public JsonElement? TimeRange { get; set; }
+ }
+
+ ///
+ /// Response for Run query and visualize results V2
+ ///
+ public class VisualizeResults
+ {
+ /// body
+ [JsonPropertyName("body")]
+ public string Body { get; set; }
+
+ /// attachmentContent
+ [JsonPropertyName("attachmentContent")]
+ public string AttachmentContent { get; set; }
+
+ /// attachmentName
+ [JsonPropertyName("attachmentName")]
+ public string AttachmentName { get; set; }
+ }
+
+ ///
+ /// Subscription list operation response.
///
public class SubscriptionListResult : IPageable
{
@@ -44,7 +122,7 @@ public class SubscriptionListResult : IPageable
}
///
- /// Item in The subscriptions .
+ /// Subscription information.
///
public class Subscription
{
@@ -64,7 +142,7 @@ public class Subscription
}
///
- /// Response for List resource groups
+ /// List of resource groups.
///
public class ResourceGroupListResult : IPageable
{
@@ -79,7 +157,7 @@ public class ResourceGroupListResult : IPageable
}
///
- /// Item in The list of resource groups.
+ /// Resource group information.
///
public class ResourceGroup
{
@@ -95,7 +173,7 @@ public class ResourceGroup
}
///
- /// Response for List resources
+ /// List of resource items.
///
public class ResourceItemListResult : IPageable
{
@@ -110,7 +188,7 @@ public class ResourceItemListResult : IPageable
}
///
- /// Item in The list of resource items.
+ /// Resource item.
///
public class ResourceItem
{
@@ -125,48 +203,6 @@ public class ResourceItem
public string Name { get; init; }
}
- ///
- /// Run query and list results V2
- ///
- public class QueryDataInput
- {
- /// Specify the query you would like to run.
- [JsonPropertyName("query")]
- public string Query { get; set; }
-
- /// Select Time Range type.
- [JsonPropertyName("timerangetype")]
- public string TimeRangeType { get; set; }
-
- /// Time Range
- [JsonPropertyName("timerange")]
- public JsonElement? TimeRange { get; set; }
- }
-
- ///
- /// Response for Run query and list results V2
- ///
- public class Table
- {
- /// value
- [JsonPropertyName("value")]
- public List Value { get; set; }
- }
-
- ///
- /// Item in value
- ///
- [DynamicSchema("QuerySchemaV2")]
- public class Row
- {
- ///
- /// Dynamic properties determined at runtime by the connector's schema discovery endpoint.
- /// Populate this dictionary with the properties returned by the schema API.
- ///
- [JsonExtensionData]
- public Dictionary AdditionalProperties { get; set; } = new();
- }
-
///
/// Response for Get query schema
///
@@ -180,39 +216,34 @@ public class ObjectEntity
}
///
- /// Run query and visualize results V2
+ /// List of time range types.
///
- public class VisualizeQueryInput
+ public class TimeRangeListResult : IPageable
{
- /// Specify the query you would like to run.
- [JsonPropertyName("query")]
- public string Query { get; set; }
-
- /// Select Time Range type.
- [JsonPropertyName("timerangetype")]
- public string TimeRangeType { get; set; }
+ /// The list of time range.
+ [JsonPropertyName("value")]
+ public List Value { get; set; }
- /// Time Range
- [JsonPropertyName("timerange")]
- public JsonElement? TimeRange { get; set; }
+ /// The URL to get the next set of results.
+ [JsonPropertyName("nextLink")]
+ [JsonInclude]
+ public string NextLink { get; init; }
}
///
- /// Response for Run query and visualize results V2
+ /// Time range item.
///
- public class VisualizeResults
+ public class TimeRangeItem
{
- /// body
- [JsonPropertyName("body")]
- public string Body { get; set; }
-
- /// attachmentContent
- [JsonPropertyName("attachmentContent")]
- public string AttachmentContent { get; set; }
+ /// The ID of the item.
+ [JsonPropertyName("id")]
+ [JsonInclude]
+ public int? Id { get; init; }
- /// attachmentName
- [JsonPropertyName("attachmentName")]
- public string AttachmentName { get; set; }
+ /// The Name of the item.
+ [JsonPropertyName("name")]
+ [JsonInclude]
+ public string Name { get; init; }
}
#endregion Types
@@ -226,6 +257,66 @@ public class VisualizeResults
///
public static class AzureMonitorLogsModelFactory
{
+ ///
+ /// Creates a new instance of .
+ ///
+ public static QueryDataInput QueryDataInput(
+ string query = default,
+ string timeRangeType = default,
+ JsonElement? timeRange = default)
+ {
+ return new QueryDataInput
+ {
+ Query = query,
+ TimeRangeType = timeRangeType,
+ TimeRange = timeRange,
+ };
+ }
+
+ ///
+ /// Creates a new instance of .
+ ///
+ public static Table Table(
+ List value = default)
+ {
+ return new Table
+ {
+ Value = value,
+ };
+ }
+
+ ///
+ /// Creates a new instance of .
+ ///
+ public static VisualizeQueryInput VisualizeQueryInput(
+ string query = default,
+ string timeRangeType = default,
+ JsonElement? timeRange = default)
+ {
+ return new VisualizeQueryInput
+ {
+ Query = query,
+ TimeRangeType = timeRangeType,
+ TimeRange = timeRange,
+ };
+ }
+
+ ///
+ /// Creates a new instance of .
+ ///
+ public static VisualizeResults VisualizeResults(
+ string body = default,
+ string attachmentContent = default,
+ string attachmentName = default)
+ {
+ return new VisualizeResults
+ {
+ Body = body,
+ AttachmentContent = attachmentContent,
+ AttachmentName = attachmentName,
+ };
+ }
+
///
/// Creates a new instance of .
///
@@ -313,62 +404,30 @@ public static ResourceItem ResourceItem(
}
///
- /// Creates a new instance of .
+ /// Creates a new instance of .
///
- public static QueryDataInput QueryDataInput(
- string query = default,
- string timeRangeType = default,
- JsonElement? timeRange = default)
+ public static TimeRangeListResult TimeRangeListResult(
+ List value = default,
+ string nextLink = default)
{
- return new QueryDataInput
- {
- Query = query,
- TimeRangeType = timeRangeType,
- TimeRange = timeRange,
- };
- }
-
- ///
- /// Creates a new instance of .
- ///
- public static Table Table(
- List value = default)
- {
- return new Table
+ return new TimeRangeListResult
{
Value = value,
+ NextLink = nextLink,
};
}
///
- /// Creates a new instance of .
- ///
- public static VisualizeQueryInput VisualizeQueryInput(
- string query = default,
- string timeRangeType = default,
- JsonElement? timeRange = default)
- {
- return new VisualizeQueryInput
- {
- Query = query,
- TimeRangeType = timeRangeType,
- TimeRange = timeRange,
- };
- }
-
- ///
- /// Creates a new instance of .
+ /// Creates a new instance of .
///
- public static VisualizeResults VisualizeResults(
- string body = default,
- string attachmentContent = default,
- string attachmentName = default)
+ public static TimeRangeItem TimeRangeItem(
+ int? id = default,
+ string name = default)
{
- return new VisualizeResults
+ return new TimeRangeItem
{
- Body = body,
- AttachmentContent = attachmentContent,
- AttachmentName = attachmentName,
+ Id = id,
+ Name = name,
};
}
}
@@ -446,6 +505,94 @@ protected AzureMonitorLogsClient() : base() { }
[EditorBrowsable(EditorBrowsableState.Never)]
public override string ToString() => base.ToString();
+ ///
+ /// Run query and list results V2
+ ///
+ /// Returns each row as its own object. Use this action when you want to work with each row separately in the rest of the workflow.
+ /// The request body.
+ /// Subscription
+ /// Resource Group
+ /// Resource Type
+ /// Resource Name
+ /// Cancellation token.
+ /// The Run query and list results V2 response.
+ public virtual async Task QueryDataAsync(QueryDataInput input, [DynamicValues("ListSubscriptions")] string subscription, [DynamicValues("ListResourceGroups")] string resourceGroup, string resourceType, [DynamicValues("ListResources")] string resourceName, CancellationToken cancellationToken = default)
+ {
+ using var activity = AzureMonitorLogsClient.ConnectorActivitySource.StartActivity("AzureMonitorLogsClient.QueryDataAsync");
+ try
+ {
+ var queryParams = new List();
+ if (subscription is null)
+ throw new ArgumentNullException(nameof(subscription));
+ queryParams.Add($"subscriptions={Uri.EscapeDataString(subscription.ToString())}");
+ if (resourceGroup is null)
+ throw new ArgumentNullException(nameof(resourceGroup));
+ queryParams.Add($"resourcegroups={Uri.EscapeDataString(resourceGroup.ToString())}");
+ if (resourceType is null)
+ throw new ArgumentNullException(nameof(resourceType));
+ queryParams.Add($"resourcetype={Uri.EscapeDataString(resourceType.ToString())}");
+ if (resourceName is null)
+ throw new ArgumentNullException(nameof(resourceName));
+ queryParams.Add($"resourcename={Uri.EscapeDataString(resourceName.ToString())}");
+ var path = $"/queryDataV2" + (queryParams.Count > 0 ? "?" + string.Join("&", queryParams) : "");
+ return await this
+ .CallConnectorAsync(HttpMethod.Post, path, input, cancellationToken)
+ .ConfigureAwait(continueOnCapturedContext: false);
+
+ }
+ catch (Exception ex) when (!ex.IsFatal())
+ {
+ activity?.SetStatus(System.Diagnostics.ActivityStatusCode.Error, ex.Message);
+ throw;
+ }
+ }
+
+ ///
+ /// Run query and visualize results V2
+ ///
+ /// Returns all rows in the result set as a single formatted object. Use this action when you want to use the result set together in the rest of the workflow.
+ /// The request body.
+ /// Subscription
+ /// Resource Group
+ /// Resource Type
+ /// Resource Name
+ /// Chart Type
+ /// Cancellation token.
+ /// The Run query and visualize results V2 response.
+ public virtual async Task VisualizeQueryAsync(VisualizeQueryInput input, [DynamicValues("ListSubscriptions")] string subscription, [DynamicValues("ListResourceGroups")] string resourceGroup, string resourceType, [DynamicValues("ListResources")] string resourceName, string chartType, CancellationToken cancellationToken = default)
+ {
+ using var activity = AzureMonitorLogsClient.ConnectorActivitySource.StartActivity("AzureMonitorLogsClient.VisualizeQueryAsync");
+ try
+ {
+ var queryParams = new List();
+ if (subscription is null)
+ throw new ArgumentNullException(nameof(subscription));
+ queryParams.Add($"subscriptions={Uri.EscapeDataString(subscription.ToString())}");
+ if (resourceGroup is null)
+ throw new ArgumentNullException(nameof(resourceGroup));
+ queryParams.Add($"resourcegroups={Uri.EscapeDataString(resourceGroup.ToString())}");
+ if (resourceType is null)
+ throw new ArgumentNullException(nameof(resourceType));
+ queryParams.Add($"resourcetype={Uri.EscapeDataString(resourceType.ToString())}");
+ if (resourceName is null)
+ throw new ArgumentNullException(nameof(resourceName));
+ queryParams.Add($"resourcename={Uri.EscapeDataString(resourceName.ToString())}");
+ if (chartType is null)
+ throw new ArgumentNullException(nameof(chartType));
+ queryParams.Add($"visType={Uri.EscapeDataString(chartType.ToString())}");
+ var path = $"/visualizeQueryV2" + (queryParams.Count > 0 ? "?" + string.Join("&", queryParams) : "");
+ return await this
+ .CallConnectorAsync(HttpMethod.Post, path, input, cancellationToken)
+ .ConfigureAwait(continueOnCapturedContext: false);
+
+ }
+ catch (Exception ex) when (!ex.IsFatal())
+ {
+ activity?.SetStatus(System.Diagnostics.ActivityStatusCode.Error, ex.Message);
+ throw;
+ }
+ }
+
///
/// List subscriptions
///
@@ -510,19 +657,19 @@ public virtual AsyncPageable ListResourcesAsync([DynamicValues("Li
}
///
- /// Run query and list results V2
+ /// Get query schema
///
- /// Returns each row as its own object. Use this action when you want to work with each row separately in the rest of the workflow.
+ /// Discovery method used to populate dynamic parameter values at design time.
/// The request body.
/// Subscription
/// Resource Group
/// Resource Type
/// Resource Name
/// Cancellation token.
- /// The Run query and list results V2 response.
- public virtual async Task QueryDataAsync(QueryDataInput input, [DynamicValues("ListSubscriptions")] string subscription, [DynamicValues("ListResourceGroups")] string resourceGroup, string resourceType, [DynamicValues("ListResources")] string resourceName, CancellationToken cancellationToken = default)
+ /// The Get query schema response.
+ public virtual async Task QuerySchemaV2Async(string input, [DynamicValues("ListSubscriptions")] string subscription, [DynamicValues("ListResourceGroups")] string resourceGroup, string resourceType, [DynamicValues("ListResources")] string resourceName, CancellationToken cancellationToken = default)
{
- using var activity = AzureMonitorLogsClient.ConnectorActivitySource.StartActivity("AzureMonitorLogsClient.QueryDataAsync");
+ using var activity = AzureMonitorLogsClient.ConnectorActivitySource.StartActivity("AzureMonitorLogsClient.QuerySchemaV2Async");
try
{
var queryParams = new List();
@@ -538,9 +685,9 @@ public virtual async Task QueryDataAsync(QueryDataInput input, [DynamicVa
if (resourceName is null)
throw new ArgumentNullException(nameof(resourceName));
queryParams.Add($"resourcename={Uri.EscapeDataString(resourceName.ToString())}");
- var path = $"/queryDataV2" + (queryParams.Count > 0 ? "?" + string.Join("&", queryParams) : "");
+ var path = $"/querySchemaV2" + (queryParams.Count > 0 ? "?" + string.Join("&", queryParams) : "");
return await this
- .CallConnectorAsync(HttpMethod.Post, path, input, cancellationToken)
+ .CallConnectorAsync(HttpMethod.Post, path, input, cancellationToken)
.ConfigureAwait(continueOnCapturedContext: false);
}
@@ -560,9 +707,10 @@ public virtual async Task QueryDataAsync(QueryDataInput input, [DynamicVa
/// Resource Group
/// Resource Type
/// Resource Name
+ /// Time Range
/// Cancellation token.
/// The Get query schema response.
- public virtual async Task QuerySchemaAsync(string input, [DynamicValues("ListSubscriptions")] string subscription, [DynamicValues("ListResourceGroups")] string resourceGroup, string resourceType, [DynamicValues("ListResources")] string resourceName, CancellationToken cancellationToken = default)
+ public virtual async Task QuerySchemaAsync(string input, [DynamicValues("ListSubscriptions")] string subscription, [DynamicValues("ListResourceGroups")] string resourceGroup, string resourceType, [DynamicValues("ListResources")] string resourceName, [DynamicValues("ListTimeRangeTypes")] string timeRange, CancellationToken cancellationToken = default)
{
using var activity = AzureMonitorLogsClient.ConnectorActivitySource.StartActivity("AzureMonitorLogsClient.QuerySchemaAsync");
try
@@ -580,7 +728,10 @@ public virtual async Task QuerySchemaAsync(string input, [DynamicV
if (resourceName is null)
throw new ArgumentNullException(nameof(resourceName));
queryParams.Add($"resourcename={Uri.EscapeDataString(resourceName.ToString())}");
- var path = $"/querySchemaV2" + (queryParams.Count > 0 ? "?" + string.Join("&", queryParams) : "");
+ if (timeRange is null)
+ throw new ArgumentNullException(nameof(timeRange));
+ queryParams.Add($"timerange={Uri.EscapeDataString(timeRange.ToString())}");
+ var path = $"/querySchema" + (queryParams.Count > 0 ? "?" + string.Join("&", queryParams) : "");
return await this
.CallConnectorAsync(HttpMethod.Post, path, input, cancellationToken)
.ConfigureAwait(continueOnCapturedContext: false);
@@ -594,49 +745,24 @@ public virtual async Task QuerySchemaAsync(string input, [DynamicV
}
///
- /// Run query and visualize results V2
+ /// List time range types
///
- /// Returns all rows in the result set as a single formatted object. Use this action when you want to use the result set together in the rest of the workflow.
+ /// Discovery method used to populate dynamic parameter values at design time.
/// The request body.
- /// Subscription
- /// Resource Group
/// Resource Type
- /// Resource Name
- /// Chart Type
/// Cancellation token.
- /// The Run query and visualize results V2 response.
- public virtual async Task VisualizeQueryAsync(VisualizeQueryInput input, [DynamicValues("ListSubscriptions")] string subscription, [DynamicValues("ListResourceGroups")] string resourceGroup, string resourceType, [DynamicValues("ListResources")] string resourceName, string chartType, CancellationToken cancellationToken = default)
+ /// An async enumerable of items across all pages.
+ public virtual AsyncPageable ListTimeRangeTypesAsync(string input, string resourceType, CancellationToken cancellationToken = default)
{
- using var activity = AzureMonitorLogsClient.ConnectorActivitySource.StartActivity("AzureMonitorLogsClient.VisualizeQueryAsync");
- try
- {
- var queryParams = new List();
- if (subscription is null)
- throw new ArgumentNullException(nameof(subscription));
- queryParams.Add($"subscriptions={Uri.EscapeDataString(subscription.ToString())}");
- if (resourceGroup is null)
- throw new ArgumentNullException(nameof(resourceGroup));
- queryParams.Add($"resourcegroups={Uri.EscapeDataString(resourceGroup.ToString())}");
- if (resourceType is null)
- throw new ArgumentNullException(nameof(resourceType));
- queryParams.Add($"resourcetype={Uri.EscapeDataString(resourceType.ToString())}");
- if (resourceName is null)
- throw new ArgumentNullException(nameof(resourceName));
- queryParams.Add($"resourcename={Uri.EscapeDataString(resourceName.ToString())}");
- if (chartType is null)
- throw new ArgumentNullException(nameof(chartType));
- queryParams.Add($"visType={Uri.EscapeDataString(chartType.ToString())}");
- var path = $"/visualizeQueryV2" + (queryParams.Count > 0 ? "?" + string.Join("&", queryParams) : "");
- return await this
- .CallConnectorAsync(HttpMethod.Post, path, input, cancellationToken)
- .ConfigureAwait(continueOnCapturedContext: false);
-
- }
- catch (Exception ex) when (!ex.IsFatal())
- {
- activity?.SetStatus(System.Diagnostics.ActivityStatusCode.Error, ex.Message);
- throw;
- }
+ var queryParams = new List();
+ if (resourceType is null)
+ throw new ArgumentNullException(nameof(resourceType));
+ queryParams.Add($"resourcetype={Uri.EscapeDataString(resourceType.ToString())}");
+ var path = $"/listTimeRangeTypes" + (queryParams.Count > 0 ? "?" + string.Join("&", queryParams) : "");
+ return this.CreatePageable(
+ ct => this.CallConnectorAsync(HttpMethod.Post, path, input, ct),
+ (nextLink, ct) => this.CallConnectorAsync(HttpMethod.Post, nextLink, input, cancellationToken: ct),
+ cancellationToken);
}
}
diff --git a/src/Azure.Connectors.Sdk/Generated/AzureVMExtensions.cs b/src/Azure.Connectors.Sdk/Generated/AzureVMExtensions.cs
index b557d17..d6b5c42 100644
--- a/src/Azure.Connectors.Sdk/Generated/AzureVMExtensions.cs
+++ b/src/Azure.Connectors.Sdk/Generated/AzureVMExtensions.cs
@@ -30,7 +30,74 @@ namespace Azure.Connectors.Sdk.AzureVM.Models
#region Types
///
- /// Response for List subscriptions
+ /// Virtual Machine information.
+ ///
+ public class VirtualMachineInScaleSet
+ {
+ /// The ID of the virtual machine.
+ [JsonPropertyName("id")]
+ [JsonInclude]
+ public string Id { get; init; }
+
+ /// The Name of the virtual machine.
+ [JsonPropertyName("name")]
+ [JsonInclude]
+ public string Name { get; init; }
+
+ /// The instance Id of the virtual machine.
+ [JsonPropertyName("instanceId")]
+ [JsonInclude]
+ public string InstanceId { get; init; }
+
+ /// properties
+ [JsonPropertyName("properties")]
+ public VirtualMachineInScaleSetProperties Properties { get; set; }
+ }
+
+ ///
+ /// Virtual Machine properties.
+ ///
+ public class VirtualMachineInScaleSetProperties
+ {
+ /// The state of the virtual machine.
+ [JsonPropertyName("provisioningState")]
+ [JsonInclude]
+ public string ProvisioningState { get; init; }
+ }
+
+ ///
+ /// Virtual Machine information.
+ ///
+ public class VirtualMachine
+ {
+ /// The ID of the virtual machine.
+ [JsonPropertyName("id")]
+ [JsonInclude]
+ public string Id { get; init; }
+
+ /// The Name of the virtual machine.
+ [JsonPropertyName("name")]
+ [JsonInclude]
+ public string Name { get; init; }
+
+ /// properties
+ [JsonPropertyName("properties")]
+ public VirtualMachineProperties Properties { get; set; }
+ }
+
+ ///
+ /// Virtual Machine properties.
+ ///
+ public class VirtualMachineProperties
+ {
+ /// The state of the virtual machine.
+ [JsonPropertyName("provisioningState")]
+ [JsonInclude]
+ public string ProvisioningState { get; init; }
+ }
+
+ ///
+ /// Subscription list operation response.
///
public class SubscriptionListResult : IPageable
{
@@ -44,7 +111,7 @@ public class SubscriptionListResult : IPageable
}
///
- /// Item in The subscriptions.
+ /// Subscription information.
///
public class Subscription
{
@@ -79,7 +146,7 @@ public class Subscription
}
///
- /// Response for List resource groups
+ /// List of resource groups.
///
public class ResourceGroupListResult : IPageable
{
@@ -94,7 +161,7 @@ public class ResourceGroupListResult : IPageable
}
///
- /// Item in The list of resource groups.
+ /// Resource group information.
///
public class ResourceGroup
{
@@ -115,53 +182,7 @@ public class ResourceGroup
}
///
- /// Response for List virtual machines
- ///
- public class VirtualMachineListResult : IPageable
- {
- /// The list of virtual machines.
- [JsonPropertyName("value")]
- public List Value { get; set; }
-
- /// The URL to get the next set of results.
- [JsonPropertyName("nextLink")]
- [JsonInclude]
- public string NextLink { get; init; }
- }
-
- ///
- /// Item in The list of virtual machines.
- ///
- public class VirtualMachine
- {
- /// The ID of the virtual machine.
- [JsonPropertyName("id")]
- [JsonInclude]
- public string Id { get; init; }
-
- /// The Name of the virtual machine.
- [JsonPropertyName("name")]
- [JsonInclude]
- public string Name { get; init; }
-
- /// properties
- [JsonPropertyName("properties")]
- public VirtualMachineProperties Properties { get; set; }
- }
-
- ///
- /// properties
- ///
- public class VirtualMachineProperties
- {
- /// The state of the virtual machine.
- [JsonPropertyName("provisioningState")]
- [JsonInclude]
- public string ProvisioningState { get; init; }
- }
-
- ///
- /// Response for List virtual machine scale sets
+ /// List of virtual machine scale sets.
///
public class VirtualMachineScaleSetListResult : IPageable
{
@@ -176,7 +197,7 @@ public class VirtualMachineScaleSetListResult : IPageable
- /// Item in The list of virtual machine scale sets.
+ /// Virtual Machine scale set information.
///
public class VirtualMachineScaleSet
{
@@ -196,7 +217,7 @@ public class VirtualMachineScaleSet
}
///
- /// properties
+ /// Virtual Machine scale set properties.
///
public class VirtualMachineScaleSetProperties
{
@@ -207,7 +228,7 @@ public class VirtualMachineScaleSetProperties
}
///
- /// Response for List virtual machines in a VM scale set
+ /// List of virtual machines in a VM scale set.
///
public class VirtualMachineInScaleSetListResult : IPageable
{
@@ -222,39 +243,18 @@ public class VirtualMachineInScaleSetListResult : IPageable
- /// Item in The list of virtual machines in a VM scale set.
+ /// List of virtual machines.
///
- public class VirtualMachineInScaleSet
+ public class VirtualMachineListResult : IPageable
{
- /// The ID of the virtual machine.
- [JsonPropertyName("id")]
- [JsonInclude]
- public string Id { get; init; }
-
- /// The Name of the virtual machine.
- [JsonPropertyName("name")]
- [JsonInclude]
- public string Name { get; init; }
-
- /// The instance Id of the virtual machine.
- [JsonPropertyName("instanceId")]
- [JsonInclude]
- public string InstanceId { get; init; }
-
- /// properties
- [JsonPropertyName("properties")]
- public VirtualMachineInScaleSetProperties Properties { get; set; }
- }
+ /// The list of virtual machines.
+ [JsonPropertyName("value")]
+ public List Value { get; set; }
- ///
- /// properties
- ///
- public class VirtualMachineInScaleSetProperties
- {
- /// The state of the virtual machine.
- [JsonPropertyName("provisioningState")]
+ /// The URL to get the next set of results.
+ [JsonPropertyName("nextLink")]
[JsonInclude]
- public string ProvisioningState { get; init; }
+ public string NextLink { get; init; }
}
///
@@ -329,6 +329,64 @@ public StateJsonConverter() { }
///
public static class AzureVMModelFactory
{
+ ///
+ /// Creates a new instance of .
+ ///
+ public static VirtualMachineInScaleSet VirtualMachineInScaleSet(
+ string id = default,
+ string name = default,
+ string instanceId = default,
+ VirtualMachineInScaleSetProperties properties = default)
+ {
+ return new VirtualMachineInScaleSet
+ {
+ Id = id,
+ Name = name,
+ InstanceId = instanceId,
+ Properties = properties,
+ };
+ }
+
+ ///
+ /// Creates a new instance of .
+ ///
+ public static VirtualMachineInScaleSetProperties VirtualMachineInScaleSetProperties(
+ string provisioningState = default)
+ {
+ return new VirtualMachineInScaleSetProperties
+ {
+ ProvisioningState = provisioningState,
+ };
+ }
+
+ ///
+ /// Creates a new instance of .
+ ///
+ public static VirtualMachine VirtualMachine(
+ string id = default,
+ string name = default,
+ VirtualMachineProperties properties = default)
+ {
+ return new VirtualMachine
+ {
+ Id = id,
+ Name = name,
+ Properties = properties,
+ };
+ }
+
+ ///
+ /// Creates a new instance of .
+ ///
+ public static VirtualMachineProperties VirtualMachineProperties(
+ string provisioningState = default)
+ {
+ return new VirtualMachineProperties
+ {
+ ProvisioningState = provisioningState,
+ };
+ }
+
///
/// Creates a new instance of .
///
@@ -395,48 +453,6 @@ public static ResourceGroup ResourceGroup(
};
}
- ///
- /// Creates a new instance of .
- ///
- public static VirtualMachineListResult VirtualMachineListResult(
- List value = default,
- string nextLink = default)
- {
- return new VirtualMachineListResult
- {
- Value = value,
- NextLink = nextLink,
- };
- }
-
- ///
- /// Creates a new instance of .
- ///
- public static VirtualMachine VirtualMachine(
- string id = default,
- string name = default,
- VirtualMachineProperties properties = default)
- {
- return new VirtualMachine
- {
- Id = id,
- Name = name,
- Properties = properties,
- };
- }
-
- ///
- /// Creates a new instance of .
- ///
- public static VirtualMachineProperties VirtualMachineProperties(
- string provisioningState = default)
- {
- return new VirtualMachineProperties
- {
- ProvisioningState = provisioningState,
- };
- }
-
///
/// Creates a new instance of .
///
@@ -494,32 +510,16 @@ public static VirtualMachineInScaleSetListResult VirtualMachineInScaleSetListRes
}
///
- /// Creates a new instance of .
- ///
- public static VirtualMachineInScaleSet VirtualMachineInScaleSet(
- string id = default,
- string name = default,
- string instanceId = default,
- VirtualMachineInScaleSetProperties properties = default)
- {
- return new VirtualMachineInScaleSet
- {
- Id = id,
- Name = name,
- InstanceId = instanceId,
- Properties = properties,
- };
- }
-
- ///
- /// Creates a new instance of .
+ /// Creates a new instance of .
///
- public static VirtualMachineInScaleSetProperties VirtualMachineInScaleSetProperties(
- string provisioningState = default)
+ public static VirtualMachineListResult VirtualMachineListResult(
+ List value = default,
+ string nextLink = default)
{
- return new VirtualMachineInScaleSetProperties
+ return new VirtualMachineListResult
{
- ProvisioningState = provisioningState,
+ Value = value,
+ NextLink = nextLink,
};
}
}
@@ -597,115 +597,6 @@ protected AzureVMClient() : base() { }
[EditorBrowsable(EditorBrowsableState.Never)]
public override string ToString() => base.ToString();
- ///
- /// List subscriptions
- ///
- /// Discovery method used to populate dynamic parameter values at design time.
- /// Cancellation token.
- /// An async enumerable of items across all pages.
- public virtual AsyncPageable SubscriptionsListAsync(CancellationToken cancellationToken = default)
- {
- var queryParams = new List();
- queryParams.Add("x-ms-api-version=2020-01-01");
- var path = $"/subscriptions" + (queryParams.Count > 0 ? "?" + string.Join("&", queryParams) : "");
- return this.CreatePageable(
- ct => this.CallConnectorAsync(HttpMethod.Get, path, cancellationToken: ct),
- (nextLink, ct) => this.CallConnectorAsync(HttpMethod.Get, nextLink, cancellationToken: ct),
- cancellationToken);
- }
-
- ///
- /// List resource groups
- ///
- /// Discovery method used to populate dynamic parameter values at design time.
- /// Subscription Id
- /// Cancellation token.
- /// An async enumerable of items across all pages.
- public virtual AsyncPageable ResourceGroupsListAsync([DynamicValues("Subscriptions_List")] string subscriptionId, CancellationToken cancellationToken = default)
- {
- if (subscriptionId is null)
- throw new ArgumentNullException(nameof(subscriptionId));
- var queryParams = new List();
- queryParams.Add("x-ms-api-version=2020-01-01");
- var path = $"/subscriptions/{Uri.EscapeDataString(subscriptionId.ToString())}/resourcegroups" + (queryParams.Count > 0 ? "?" + string.Join("&", queryParams) : "");
- return this.CreatePageable(
- ct => this.CallConnectorAsync(HttpMethod.Get, path, cancellationToken: ct),
- (nextLink, ct) => this.CallConnectorAsync(HttpMethod.Get, nextLink, cancellationToken: ct),
- cancellationToken);
- }
-
- ///
- /// List virtual machines
- ///
- /// Discovery method used to populate dynamic parameter values at design time.
- /// Subscription Id
- /// Resource Group
- /// Cancellation token.
- /// An async enumerable of items across all pages.
- public virtual AsyncPageable VirtualMachinesListAsync([DynamicValues("Subscriptions_List")] string subscriptionId, [DynamicValues("ResourceGroups_List")] string resourceGroup, CancellationToken cancellationToken = default)
- {
- if (subscriptionId is null)
- throw new ArgumentNullException(nameof(subscriptionId));
- if (resourceGroup is null)
- throw new ArgumentNullException(nameof(resourceGroup));
- var queryParams = new List();
- queryParams.Add("x-ms-api-version=2019-12-01");
- var path = $"/subscriptions/{Uri.EscapeDataString(subscriptionId.ToString())}/resourcegroups/{Uri.EscapeDataString(resourceGroup.ToString())}/providers/Microsoft.Compute/virtualMachines" + (queryParams.Count > 0 ? "?" + string.Join("&", queryParams) : "");
- return this.CreatePageable(
- ct => this.CallConnectorAsync(HttpMethod.Get, path, cancellationToken: ct),
- (nextLink, ct) => this.CallConnectorAsync(HttpMethod.Get, nextLink, cancellationToken: ct),
- cancellationToken);
- }
-
- ///
- /// List virtual machine scale sets
- ///
- /// Discovery method used to populate dynamic parameter values at design time.
- /// Subscription Id
- /// Resource Group
- /// Cancellation token.
- /// An async enumerable of items across all pages.
- public virtual AsyncPageable VirtualMachineScaleSetsListAsync([DynamicValues("Subscriptions_List")] string subscriptionId, [DynamicValues("ResourceGroups_List")] string resourceGroup, CancellationToken cancellationToken = default)
- {
- if (subscriptionId is null)
- throw new ArgumentNullException(nameof(subscriptionId));
- if (resourceGroup is null)
- throw new ArgumentNullException(nameof(resourceGroup));
- var queryParams = new List();
- queryParams.Add("x-ms-api-version=2019-12-01");
- var path = $"/subscriptions/{Uri.EscapeDataString(subscriptionId.ToString())}/resourcegroups/{Uri.EscapeDataString(resourceGroup.ToString())}/providers/Microsoft.Compute/virtualMachineScaleSets" + (queryParams.Count > 0 ? "?" + string.Join("&", queryParams) : "");
- return this.CreatePageable(
- ct => this.CallConnectorAsync(HttpMethod.Get, path, cancellationToken: ct),
- (nextLink, ct) => this.CallConnectorAsync(HttpMethod.Get, nextLink, cancellationToken: ct),
- cancellationToken);
- }
-
- ///
- /// List virtual machines in a VM scale set
- ///
- /// Discovery method used to populate dynamic parameter values at design time.
- /// Subscription Id
- /// Resource Group
- /// Virtual Machine Scale Set
- /// Cancellation token.
- /// An async enumerable of items across all pages.
- public virtual AsyncPageable VirtualMachinesInScaleSetListAsync([DynamicValues("Subscriptions_List")] string subscriptionId, [DynamicValues("ResourceGroups_List")] string resourceGroup, [DynamicValues("VirtualMachineScaleSets_List")] string virtualMachineScaleSet, CancellationToken cancellationToken = default)
- {
- if (subscriptionId is null)
- throw new ArgumentNullException(nameof(subscriptionId));
- if (resourceGroup is null)
- throw new ArgumentNullException(nameof(resourceGroup));
- if (virtualMachineScaleSet is null)
- throw new ArgumentNullException(nameof(virtualMachineScaleSet));
- var queryParams = new List();
- queryParams.Add("x-ms-api-version=2019-12-01");
- var path = $"/subscriptions/{Uri.EscapeDataString(subscriptionId.ToString())}/resourcegroups/{Uri.EscapeDataString(resourceGroup.ToString())}/providers/Microsoft.Compute/virtualMachineScaleSets/{Uri.EscapeDataString(virtualMachineScaleSet.ToString())}/virtualMachines" + (queryParams.Count > 0 ? "?" + string.Join("&", queryParams) : "");
- return this.CreatePageable(
- ct => this.CallConnectorAsync(HttpMethod.Get, path, cancellationToken: ct),
- (nextLink, ct) => this.CallConnectorAsync(HttpMethod.Get, nextLink, cancellationToken: ct),
- cancellationToken);
- }
-
///
/// Get virtual machine in a VM scale set
///
@@ -1205,6 +1096,115 @@ await this
}
}
+ ///
+ /// List subscriptions
+ ///
+ /// Discovery method used to populate dynamic parameter values at design time.
+ /// Cancellation token.
+ /// An async enumerable of items across all pages.
+ public virtual AsyncPageable SubscriptionsListAsync(CancellationToken cancellationToken = default)
+ {
+ var queryParams = new List();
+ queryParams.Add("x-ms-api-version=2020-01-01");
+ var path = $"/subscriptions" + (queryParams.Count > 0 ? "?" + string.Join("&", queryParams) : "");
+ return this.CreatePageable(
+ ct => this.CallConnectorAsync(HttpMethod.Get, path, cancellationToken: ct),
+ (nextLink, ct) => this.CallConnectorAsync(HttpMethod.Get, nextLink, cancellationToken: ct),
+ cancellationToken);
+ }
+
+ ///
+ /// List resource groups
+ ///
+ /// Discovery method used to populate dynamic parameter values at design time.
+ /// Subscription Id
+ /// Cancellation token.
+ /// An async enumerable of items across all pages.
+ public virtual AsyncPageable ResourceGroupsListAsync([DynamicValues("Subscriptions_List")] string subscriptionId, CancellationToken cancellationToken = default)
+ {
+ if (subscriptionId is null)
+ throw new ArgumentNullException(nameof(subscriptionId));
+ var queryParams = new List();
+ queryParams.Add("x-ms-api-version=2020-01-01");
+ var path = $"/subscriptions/{Uri.EscapeDataString(subscriptionId.ToString())}/resourcegroups" + (queryParams.Count > 0 ? "?" + string.Join("&", queryParams) : "");
+ return this.CreatePageable(
+ ct => this.CallConnectorAsync(HttpMethod.Get, path, cancellationToken: ct),
+ (nextLink, ct) => this.CallConnectorAsync(HttpMethod.Get, nextLink, cancellationToken: ct),
+ cancellationToken);
+ }
+
+ ///
+ /// List virtual machine scale sets
+ ///
+ /// Discovery method used to populate dynamic parameter values at design time.
+ /// Subscription Id
+ /// Resource Group
+ /// Cancellation token.
+ /// An async enumerable of items across all pages.
+ public virtual AsyncPageable VirtualMachineScaleSetsListAsync([DynamicValues("Subscriptions_List")] string subscriptionId, [DynamicValues("ResourceGroups_List")] string resourceGroup, CancellationToken cancellationToken = default)
+ {
+ if (subscriptionId is null)
+ throw new ArgumentNullException(nameof(subscriptionId));
+ if (resourceGroup is null)
+ throw new ArgumentNullException(nameof(resourceGroup));
+ var queryParams = new List();
+ queryParams.Add("x-ms-api-version=2019-12-01");
+ var path = $"/subscriptions/{Uri.EscapeDataString(subscriptionId.ToString())}/resourcegroups/{Uri.EscapeDataString(resourceGroup.ToString())}/providers/Microsoft.Compute/virtualMachineScaleSets" + (queryParams.Count > 0 ? "?" + string.Join("&", queryParams) : "");
+ return this.CreatePageable(
+ ct => this.CallConnectorAsync(HttpMethod.Get, path, cancellationToken: ct),
+ (nextLink, ct) => this.CallConnectorAsync(HttpMethod.Get, nextLink, cancellationToken: ct),
+ cancellationToken);
+ }
+
+ ///
+ /// List virtual machines in a VM scale set
+ ///
+ /// Discovery method used to populate dynamic parameter values at design time.
+ /// Subscription Id
+ /// Resource Group
+ /// Virtual Machine Scale Set
+ /// Cancellation token.
+ /// An async enumerable of items across all pages.
+ public virtual AsyncPageable VirtualMachinesInScaleSetListAsync([DynamicValues("Subscriptions_List")] string subscriptionId, [DynamicValues("ResourceGroups_List")] string resourceGroup, [DynamicValues("VirtualMachineScaleSets_List")] string virtualMachineScaleSet, CancellationToken cancellationToken = default)
+ {
+ if (subscriptionId is null)
+ throw new ArgumentNullException(nameof(subscriptionId));
+ if (resourceGroup is null)
+ throw new ArgumentNullException(nameof(resourceGroup));
+ if (virtualMachineScaleSet is null)
+ throw new ArgumentNullException(nameof(virtualMachineScaleSet));
+ var queryParams = new List();
+ queryParams.Add("x-ms-api-version=2019-12-01");
+ var path = $"/subscriptions/{Uri.EscapeDataString(subscriptionId.ToString())}/resourcegroups/{Uri.EscapeDataString(resourceGroup.ToString())}/providers/Microsoft.Compute/virtualMachineScaleSets/{Uri.EscapeDataString(virtualMachineScaleSet.ToString())}/virtualMachines" + (queryParams.Count > 0 ? "?" + string.Join("&", queryParams) : "");
+ return this.CreatePageable(
+ ct => this.CallConnectorAsync(HttpMethod.Get, path, cancellationToken: ct),
+ (nextLink, ct) => this.CallConnectorAsync(HttpMethod.Get, nextLink, cancellationToken: ct),
+ cancellationToken);
+ }
+
+ ///
+ /// List virtual machines
+ ///
+ /// Discovery method used to populate dynamic parameter values at design time.
+ /// Subscription Id
+ /// Resource Group
+ /// Cancellation token.
+ /// An async enumerable of items across all pages.
+ public virtual AsyncPageable VirtualMachinesListAsync([DynamicValues("Subscriptions_List")] string subscriptionId, [DynamicValues("ResourceGroups_List")] string resourceGroup, CancellationToken cancellationToken = default)
+ {
+ if (subscriptionId is null)
+ throw new ArgumentNullException(nameof(subscriptionId));
+ if (resourceGroup is null)
+ throw new ArgumentNullException(nameof(resourceGroup));
+ var queryParams = new List();
+ queryParams.Add("x-ms-api-version=2019-12-01");
+ var path = $"/subscriptions/{Uri.EscapeDataString(subscriptionId.ToString())}/resourcegroups/{Uri.EscapeDataString(resourceGroup.ToString())}/providers/Microsoft.Compute/virtualMachines" + (queryParams.Count > 0 ? "?" + string.Join("&", queryParams) : "");
+ return this.CreatePageable(
+ ct => this.CallConnectorAsync(HttpMethod.Get, path, cancellationToken: ct),
+ (nextLink, ct) => this.CallConnectorAsync(HttpMethod.Get, nextLink, cancellationToken: ct),
+ cancellationToken);
+ }
+
}
#endregion Client
diff --git a/src/Azure.Connectors.Sdk/Generated/AzurequeuesExtensions.cs b/src/Azure.Connectors.Sdk/Generated/AzurequeuesExtensions.cs
index 3fd39b5..b0e0afb 100644
--- a/src/Azure.Connectors.Sdk/Generated/AzurequeuesExtensions.cs
+++ b/src/Azure.Connectors.Sdk/Generated/AzurequeuesExtensions.cs
@@ -28,30 +28,6 @@ namespace Azure.Connectors.Sdk.Azurequeues.Models
#region Types
- ///
- /// Response for Get storage accounts
- ///
- public class StorageAccountList
- {
- /// List of storage account names
- [JsonPropertyName("value")]
- public List Value { get; set; }
- }
-
- ///
- /// Item in List of storage account names
- ///
- public class StorageAccount
- {
- /// The name or queue endpoint of the storage account.
- [JsonPropertyName("Name")]
- public string StorageAccountNameOrQueueEndpoint { get; set; }
-
- /// The display name of the storage account.
- [JsonPropertyName("DisplayName")]
- public string StorageAccountDisplayName { get; set; }
- }
-
///
/// Response for Get messages (V2)
///
@@ -116,6 +92,30 @@ public class QueueInfo
public string Name { get; set; }
}
+ ///
+ /// List of storage account names
+ ///
+ public class StorageAccountList
+ {
+ /// List of storage account names
+ [JsonPropertyName("value")]
+ public List Value { get; set; }
+ }
+
+ ///
+ /// Storage account
+ ///
+ public class StorageAccount
+ {
+ /// The name or queue endpoint of the storage account.
+ [JsonPropertyName("Name")]
+ public string StorageAccountNameOrQueueEndpoint { get; set; }
+
+ /// The display name of the storage account.
+ [JsonPropertyName("DisplayName")]
+ public string StorageAccountDisplayName { get; set; }
+ }
+
#endregion Types
#region Model Factory
@@ -127,32 +127,6 @@ public class QueueInfo
///
public static class AzureQueuesModelFactory
{
- ///
- /// Creates a new instance of .
- ///
- public static StorageAccountList StorageAccountList(
- List value = default)
- {
- return new StorageAccountList
- {
- Value = value,
- };
- }
-
- ///
- /// Creates a new instance of .
- ///
- public static StorageAccount StorageAccount(
- string storageAccountNameOrQueueEndpoint = default,
- string storageAccountDisplayName = default)
- {
- return new StorageAccount
- {
- StorageAccountNameOrQueueEndpoint = storageAccountNameOrQueueEndpoint,
- StorageAccountDisplayName = storageAccountDisplayName,
- };
- }
-
///
/// Creates a new instance of .
///
@@ -188,6 +162,32 @@ public static QueueInfo QueueInfo(
Name = name,
};
}
+
+ ///
+ /// Creates a new instance of .
+ ///
+ public static StorageAccountList StorageAccountList(
+ List value = default)
+ {
+ return new StorageAccountList
+ {
+ Value = value,
+ };
+ }
+
+ ///
+ /// Creates a new instance of .
+ ///
+ public static StorageAccount StorageAccount(
+ string storageAccountNameOrQueueEndpoint = default,
+ string storageAccountDisplayName = default)
+ {
+ return new StorageAccount
+ {
+ StorageAccountNameOrQueueEndpoint = storageAccountNameOrQueueEndpoint,
+ StorageAccountDisplayName = storageAccountDisplayName,
+ };
+ }
}
#endregion Model Factory
@@ -351,30 +351,6 @@ protected AzureQueuesClient() : base() { }
[EditorBrowsable(EditorBrowsableState.Never)]
public override string ToString() => base.ToString();
- ///
- /// Get storage accounts
- ///
- /// Discovery method used to populate dynamic parameter values at design time.
- /// Cancellation token.
- /// The Get storage accounts response.
- public virtual async Task GetStorageAccountsAsync(CancellationToken cancellationToken = default)
- {
- using var activity = AzureQueuesClient.ConnectorActivitySource.StartActivity("AzureQueuesClient.GetStorageAccountsAsync");
- try
- {
- var path = $"/v2/GetStorageAccounts";
- return await this
- .CallConnectorAsync(HttpMethod.Get, path, cancellationToken: cancellationToken)
- .ConfigureAwait(continueOnCapturedContext: false);
-
- }
- catch (Exception ex) when (!ex.IsFatal())
- {
- activity?.SetStatus(System.Diagnostics.ActivityStatusCode.Error, ex.Message);
- throw;
- }
- }
-
///
/// Delete message (V2)
///
@@ -538,6 +514,30 @@ public virtual async Task PutQueueAsync([DynamicValues("GetStorageAccoun
}
}
+ ///
+ /// Get storage accounts
+ ///
+ /// Discovery method used to populate dynamic parameter values at design time.
+ /// Cancellation token.
+ /// The Get storage accounts response.
+ public virtual async Task GetStorageAccountsAsync(CancellationToken cancellationToken = default)
+ {
+ using var activity = AzureQueuesClient.ConnectorActivitySource.StartActivity("AzureQueuesClient.GetStorageAccountsAsync");
+ try
+ {
+ var path = $"/v2/GetStorageAccounts";
+ return await this
+ .CallConnectorAsync(HttpMethod.Get, path, cancellationToken: cancellationToken)
+ .ConfigureAwait(continueOnCapturedContext: false);
+
+ }
+ catch (Exception ex) when (!ex.IsFatal())
+ {
+ activity?.SetStatus(System.Diagnostics.ActivityStatusCode.Error, ex.Message);
+ throw;
+ }
+ }
+
}
#endregion Client
diff --git a/src/Azure.Connectors.Sdk/Generated/AzuretablesExtensions.cs b/src/Azure.Connectors.Sdk/Generated/AzuretablesExtensions.cs
index 176cc25..d49f133 100644
--- a/src/Azure.Connectors.Sdk/Generated/AzuretablesExtensions.cs
+++ b/src/Azure.Connectors.Sdk/Generated/AzuretablesExtensions.cs
@@ -28,30 +28,6 @@ namespace Azure.Connectors.Sdk.Azuretables.Models
#region Types
- ///
- /// Response for Get storage accounts
- ///
- public class StorageAccountList
- {
- /// List of storage account names
- [JsonPropertyName("value")]
- public List Value { get; set; }
- }
-
- ///
- /// Item in List of storage account names
- ///
- public class StorageAccount
- {
- /// The name of the storage account.
- [JsonPropertyName("Name")]
- public string StorageAccountNameOrTableEndpoint { get; set; }
-
- /// The display name of the storage account.
- [JsonPropertyName("DisplayName")]
- public string StorageAccountDisplayName { get; set; }
- }
-
///
/// Insert Entity (V2)
///
@@ -65,7 +41,7 @@ public class CreateEntityInput
}
///
- /// Response for Insert Entity (V2)
+ /// Data for a single entity
///
public class InsertEntityResponse
{
@@ -87,7 +63,7 @@ public class InsertEntityResponse
}
///
- /// Response for Create table (V2)
+ /// The metadata for the table
///
public class GetTableResponse
{
@@ -101,7 +77,7 @@ public class GetTableResponse
}
///
- /// Response for Get entities (V2)
+ /// Entity Response Object
///
public class GetEntitiesResponse
{
@@ -115,7 +91,7 @@ public class GetEntitiesResponse
}
///
- /// Item in List of Entities
+ /// An entity
///
public class EntityItem
{
@@ -133,7 +109,7 @@ public class EntityItem
}
///
- /// Response for Get entity (V2)
+ /// An entity
///
public class GetEntityResponse
{
@@ -155,7 +131,7 @@ public class GetEntityResponse
}
///
- /// Response for List tables (V2)
+ /// Table query response object
///
public class GetTablesResponse
{
@@ -216,6 +192,30 @@ public class ReplaceEntityInput
public Dictionary AdditionalProperties { get; set; } = new();
}
+ ///
+ /// List of storage account names
+ ///
+ public class StorageAccountList
+ {
+ /// List of storage account names
+ [JsonPropertyName("value")]
+ public List Value { get; set; }
+ }
+
+ ///
+ /// Storage account
+ ///
+ public class StorageAccount
+ {
+ /// The name of the storage account.
+ [JsonPropertyName("Name")]
+ public string StorageAccountNameOrTableEndpoint { get; set; }
+
+ /// The display name of the storage account.
+ [JsonPropertyName("DisplayName")]
+ public string StorageAccountDisplayName { get; set; }
+ }
+
#endregion Types
#region Model Factory
@@ -227,32 +227,6 @@ public class ReplaceEntityInput
///
public static class AzureTablesModelFactory
{
- ///
- /// Creates a new instance of .
- ///
- public static StorageAccountList StorageAccountList(
- List value = default)
- {
- return new StorageAccountList
- {
- Value = value,
- };
- }
-
- ///
- /// Creates a new instance of .
- ///
- public static StorageAccount StorageAccount(
- string storageAccountNameOrTableEndpoint = default,
- string storageAccountDisplayName = default)
- {
- return new StorageAccount
- {
- StorageAccountNameOrTableEndpoint = storageAccountNameOrTableEndpoint,
- StorageAccountDisplayName = storageAccountDisplayName,
- };
- }
-
///
/// Creates a new instance of .
///
@@ -346,6 +320,32 @@ public static GetTablesResponse GetTablesResponse(
ListOfTables = listOfTables,
};
}
+
+ ///
+ /// Creates a new instance of .
+ ///
+ public static StorageAccountList StorageAccountList(
+ List value = default)
+ {
+ return new StorageAccountList
+ {
+ Value = value,
+ };
+ }
+
+ ///
+ /// Creates a new instance of .
+ ///
+ public static StorageAccount StorageAccount(
+ string storageAccountNameOrTableEndpoint = default,
+ string storageAccountDisplayName = default)
+ {
+ return new StorageAccount
+ {
+ StorageAccountNameOrTableEndpoint = storageAccountNameOrTableEndpoint,
+ StorageAccountDisplayName = storageAccountDisplayName,
+ };
+ }
}
#endregion Model Factory
@@ -421,30 +421,6 @@ protected AzureTablesClient() : base() { }
[EditorBrowsable(EditorBrowsableState.Never)]
public override string ToString() => base.ToString();
- ///
- /// Get storage accounts
- ///
- /// Discovery method used to populate dynamic parameter values at design time.
- /// Cancellation token.
- /// The Get storage accounts response.
- public virtual async Task GetStorageAccountsAsync(CancellationToken cancellationToken = default)
- {
- using var activity = AzureTablesClient.ConnectorActivitySource.StartActivity("AzureTablesClient.GetStorageAccountsAsync");
- try
- {
- var path = $"/v2/GetStorageAccounts";
- return await this
- .CallConnectorAsync(HttpMethod.Get, path, cancellationToken: cancellationToken)
- .ConfigureAwait(continueOnCapturedContext: false);
-
- }
- catch (Exception ex) when (!ex.IsFatal())
- {
- activity?.SetStatus(System.Diagnostics.ActivityStatusCode.Error, ex.Message);
- throw;
- }
- }
-
///
/// Insert Entity (V2)
///
@@ -846,6 +822,30 @@ await this
}
}
+ ///
+ /// Get storage accounts
+ ///
+ /// Discovery method used to populate dynamic parameter values at design time.
+ /// Cancellation token.
+ /// The Get storage accounts response.
+ public virtual async Task GetStorageAccountsAsync(CancellationToken cancellationToken = default)
+ {
+ using var activity = AzureTablesClient.ConnectorActivitySource.StartActivity("AzureTablesClient.GetStorageAccountsAsync");
+ try
+ {
+ var path = $"/v2/GetStorageAccounts";
+ return await this
+ .CallConnectorAsync(HttpMethod.Get, path, cancellationToken: cancellationToken)
+ .ConfigureAwait(continueOnCapturedContext: false);
+
+ }
+ catch (Exception ex) when (!ex.IsFatal())
+ {
+ activity?.SetStatus(System.Diagnostics.ActivityStatusCode.Error, ex.Message);
+ throw;
+ }
+ }
+
}
#endregion Client
diff --git a/src/Azure.Connectors.Sdk/Generated/BoxExtensions.cs b/src/Azure.Connectors.Sdk/Generated/BoxExtensions.cs
index 82e149d..ac36091 100644
--- a/src/Azure.Connectors.Sdk/Generated/BoxExtensions.cs
+++ b/src/Azure.Connectors.Sdk/Generated/BoxExtensions.cs
@@ -30,7 +30,7 @@ namespace Azure.Connectors.Sdk.Box.Models
#region Types
///