Skip to content

Commit

Permalink
Merge pull request #953 from microsoftgraph/kiota/beta/pipelinebuild/…
Browse files Browse the repository at this point in the history
…175892

Generated beta models and request builders
  • Loading branch information
andrueastman authored Jan 8, 2025
2 parents a44d523 + c740146 commit 50603bb
Show file tree
Hide file tree
Showing 88 changed files with 297 additions and 344 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/validatePullRequest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Setup .NET
uses: actions/[email protected]
with:
dotnet-version: 7.x
dotnet-version: 8.x
- name: Restore dependencies
run: dotnet restore ${{ env.solutionName }}
- name: Build for netstandard2.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ public async Task DeleteAsync(Action<RequestConfiguration<DefaultQueryParameters
await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
}
/// <summary>
/// Read the properties and relationships of a resourceConnection object.
/// Find more info here <see href="https://learn.microsoft.com/graph/api/windowsupdates-resourceconnection-get?view=graph-rest-beta" />
/// Read the properties and relationships of an operationalInsightsConnection object.
/// Find more info here <see href="https://learn.microsoft.com/graph/api/windowsupdates-operationalinsightsconnection-get?view=graph-rest-beta" />
/// </summary>
/// <returns>A <see cref="global::Microsoft.Graph.Beta.Models.WindowsUpdates.ResourceConnection"/></returns>
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
Expand Down Expand Up @@ -126,7 +126,7 @@ public RequestInformation ToDeleteRequestInformation(Action<RequestConfiguration
return requestInfo;
}
/// <summary>
/// Read the properties and relationships of a resourceConnection object.
/// Read the properties and relationships of an operationalInsightsConnection object.
/// </summary>
/// <returns>A <see cref="RequestInformation"/></returns>
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
Expand Down Expand Up @@ -184,7 +184,7 @@ public partial class ResourceConnectionItemRequestBuilderDeleteRequestConfigurat
{
}
/// <summary>
/// Read the properties and relationships of a resourceConnection object.
/// Read the properties and relationships of an operationalInsightsConnection object.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
public partial class ResourceConnectionItemRequestBuilderGetQueryParameters
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ public UpdatableAssetItemRequestBuilder(string rawUrl, IRequestAdapter requestAd
{
}
/// <summary>
/// Delete an azureADDevice object. When a Microsoft Entra device is deleted, it is unregistered and automatically unenrolled from management for all update categories, as well as removed from every deploymentAudience and updatableAssetGroup.
/// Find more info here <see href="https://learn.microsoft.com/graph/api/windowsupdates-azureaddevice-delete?view=graph-rest-beta" />
/// Delete an updatableAssetGroup object. When an updatableAssetGroup object, its member updatableAsset objects are not deleted.
/// Find more info here <see href="https://learn.microsoft.com/graph/api/windowsupdates-updatableassetgroup-delete?view=graph-rest-beta" />
/// </summary>
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
Expand All @@ -82,8 +82,8 @@ public async Task DeleteAsync(Action<RequestConfiguration<DefaultQueryParameters
await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
}
/// <summary>
/// Read the properties and relationships of an updatableAssetGroup object.
/// Find more info here <see href="https://learn.microsoft.com/graph/api/windowsupdates-updatableassetgroup-get?view=graph-rest-beta" />
/// Read the properties and relationships of an updatableAsset object.
/// Find more info here <see href="https://learn.microsoft.com/graph/api/windowsupdates-updatableasset-get?view=graph-rest-beta" />
/// </summary>
/// <returns>A <see cref="global::Microsoft.Graph.Beta.Models.WindowsUpdates.UpdatableAsset"/></returns>
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
Expand Down Expand Up @@ -131,7 +131,7 @@ public async Task DeleteAsync(Action<RequestConfiguration<DefaultQueryParameters
return await RequestAdapter.SendAsync<global::Microsoft.Graph.Beta.Models.WindowsUpdates.UpdatableAsset>(requestInfo, global::Microsoft.Graph.Beta.Models.WindowsUpdates.UpdatableAsset.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
/// <summary>
/// Delete an azureADDevice object. When a Microsoft Entra device is deleted, it is unregistered and automatically unenrolled from management for all update categories, as well as removed from every deploymentAudience and updatableAssetGroup.
/// Delete an updatableAssetGroup object. When an updatableAssetGroup object, its member updatableAsset objects are not deleted.
/// </summary>
/// <returns>A <see cref="RequestInformation"/></returns>
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
Expand All @@ -150,7 +150,7 @@ public RequestInformation ToDeleteRequestInformation(Action<RequestConfiguration
return requestInfo;
}
/// <summary>
/// Read the properties and relationships of an updatableAssetGroup object.
/// Read the properties and relationships of an updatableAsset object.
/// </summary>
/// <returns>A <see cref="RequestInformation"/></returns>
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
Expand Down Expand Up @@ -208,7 +208,7 @@ public partial class UpdatableAssetItemRequestBuilderDeleteRequestConfiguration
{
}
/// <summary>
/// Read the properties and relationships of an updatableAssetGroup object.
/// Read the properties and relationships of an updatableAsset object.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
public partial class UpdatableAssetItemRequestBuilderGetQueryParameters
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ public async Task DeleteAsync(Action<RequestConfiguration<DefaultQueryParameters
return await RequestAdapter.SendAsync<global::Microsoft.Graph.Beta.Models.WindowsUpdates.ComplianceChange>(requestInfo, global::Microsoft.Graph.Beta.Models.WindowsUpdates.ComplianceChange.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
/// <summary>
/// Update the properties of a contentApproval object.
/// Find more info here <see href="https://learn.microsoft.com/graph/api/windowsupdates-contentapproval-update?view=graph-rest-beta" />
/// Update the properties of a complianceChange object.
/// Find more info here <see href="https://learn.microsoft.com/graph/api/windowsupdates-compliancechange-update?view=graph-rest-beta" />
/// </summary>
/// <returns>A <see cref="global::Microsoft.Graph.Beta.Models.WindowsUpdates.ComplianceChange"/></returns>
/// <param name="body">The request body</param>
Expand Down Expand Up @@ -152,7 +152,7 @@ public RequestInformation ToGetRequestInformation(Action<RequestConfiguration<gl
return requestInfo;
}
/// <summary>
/// Update the properties of a contentApproval object.
/// Update the properties of a complianceChange object.
/// </summary>
/// <returns>A <see cref="RequestInformation"/></returns>
/// <param name="body">The request body</param>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ public MutualTlsOauthConfigurationItemRequestBuilder(string rawUrl, IRequestAdap
{
}
/// <summary>
/// Delete navigation property mutualTlsOauthConfigurations for certificateAuthorities
/// Delete the specified mutualTlsOauthConfiguration resource. You must first delete the deviceTemplate object that references the ID.
/// Find more info here <see href="https://learn.microsoft.com/graph/api/mutualtlsoauthconfiguration-delete?view=graph-rest-beta" />
/// </summary>
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
Expand All @@ -57,7 +58,7 @@ public async Task DeleteAsync(Action<RequestConfiguration<DefaultQueryParameters
await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
}
/// <summary>
/// Get mutualTlsOauthConfigurations from certificateAuthorities
/// Defines the trusted certificate authorities for certificates that can be added to Internet of Things (IoT) devices.
/// </summary>
/// <returns>A <see cref="global::Microsoft.Graph.Beta.Models.MutualTlsOauthConfiguration"/></returns>
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
Expand Down Expand Up @@ -105,7 +106,7 @@ public async Task DeleteAsync(Action<RequestConfiguration<DefaultQueryParameters
return await RequestAdapter.SendAsync<global::Microsoft.Graph.Beta.Models.MutualTlsOauthConfiguration>(requestInfo, global::Microsoft.Graph.Beta.Models.MutualTlsOauthConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
/// <summary>
/// Delete navigation property mutualTlsOauthConfigurations for certificateAuthorities
/// Delete the specified mutualTlsOauthConfiguration resource. You must first delete the deviceTemplate object that references the ID.
/// </summary>
/// <returns>A <see cref="RequestInformation"/></returns>
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
Expand All @@ -124,7 +125,7 @@ public RequestInformation ToDeleteRequestInformation(Action<RequestConfiguration
return requestInfo;
}
/// <summary>
/// Get mutualTlsOauthConfigurations from certificateAuthorities
/// Defines the trusted certificate authorities for certificates that can be added to Internet of Things (IoT) devices.
/// </summary>
/// <returns>A <see cref="RequestInformation"/></returns>
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
Expand Down Expand Up @@ -182,7 +183,7 @@ public partial class MutualTlsOauthConfigurationItemRequestBuilderDeleteRequestC
{
}
/// <summary>
/// Get mutualTlsOauthConfigurations from certificateAuthorities
/// Defines the trusted certificate authorities for certificates that can be added to Internet of Things (IoT) devices.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
public partial class MutualTlsOauthConfigurationItemRequestBuilderGetQueryParameters
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public MutualTlsOauthConfigurationsRequestBuilder(string rawUrl, IRequestAdapter
{
}
/// <summary>
/// Get mutualTlsOauthConfigurations from certificateAuthorities
/// Defines the trusted certificate authorities for certificates that can be added to Internet of Things (IoT) devices.
/// </summary>
/// <returns>A <see cref="global::Microsoft.Graph.Beta.Models.MutualTlsOauthConfigurationCollectionResponse"/></returns>
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
Expand Down Expand Up @@ -102,7 +102,7 @@ public MutualTlsOauthConfigurationsRequestBuilder(string rawUrl, IRequestAdapter
return await RequestAdapter.SendAsync<global::Microsoft.Graph.Beta.Models.MutualTlsOauthConfiguration>(requestInfo, global::Microsoft.Graph.Beta.Models.MutualTlsOauthConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
/// <summary>
/// Get mutualTlsOauthConfigurations from certificateAuthorities
/// Defines the trusted certificate authorities for certificates that can be added to Internet of Things (IoT) devices.
/// </summary>
/// <returns>A <see cref="RequestInformation"/></returns>
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
Expand Down Expand Up @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.
return new global::Microsoft.Graph.Beta.CertificateAuthorities.MutualTlsOauthConfigurations.MutualTlsOauthConfigurationsRequestBuilder(rawUrl, RequestAdapter);
}
/// <summary>
/// Get mutualTlsOauthConfigurations from certificateAuthorities
/// Defines the trusted certificate authorities for certificates that can be added to Internet of Things (IoT) devices.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
public partial class MutualTlsOauthConfigurationsRequestBuilderGetQueryParameters
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ public MessagesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b
return await RequestAdapter.SendAsync<global::Microsoft.Graph.Beta.Models.ChatMessageCollectionResponse>(requestInfo, global::Microsoft.Graph.Beta.Models.ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
/// <summary>
/// Send a new chatMessage in the specified chat. This API cannot create a new chat; you must use the list chats method to retrieve the ID of an existing chat before creating a chat message.
/// Find more info here <see href="https://learn.microsoft.com/graph/api/chat-post-messages?view=graph-rest-beta" />
/// Send a new chatMessage in the specified channel or a chat.
/// Find more info here <see href="https://learn.microsoft.com/graph/api/chatmessage-post?view=graph-rest-beta" />
/// </summary>
/// <returns>A <see cref="global::Microsoft.Graph.Beta.Models.ChatMessage"/></returns>
/// <param name="body">The request body</param>
Expand Down Expand Up @@ -129,7 +129,7 @@ public RequestInformation ToGetRequestInformation(Action<RequestConfiguration<gl
return requestInfo;
}
/// <summary>
/// Send a new chatMessage in the specified chat. This API cannot create a new chat; you must use the list chats method to retrieve the ID of an existing chat before creating a chat message.
/// Send a new chatMessage in the specified channel or a chat.
/// </summary>
/// <returns>A <see cref="RequestInformation"/></returns>
/// <param name="body">The request body</param>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ public CloudPCsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b
{
}
/// <summary>
/// List the cloudPC devices in a tenant.
/// Find more info here <see href="https://learn.microsoft.com/graph/api/virtualendpoint-list-cloudpcs?view=graph-rest-beta" />
/// Read the properties and relationships of a specific cloudPC object.
/// Find more info here <see href="https://learn.microsoft.com/graph/api/cloudpc-get?view=graph-rest-beta" />
/// </summary>
/// <returns>A <see cref="global::Microsoft.Graph.Beta.Models.CloudPCCollectionResponse"/></returns>
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
Expand Down Expand Up @@ -128,7 +128,7 @@ public CloudPCsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b
return await RequestAdapter.SendAsync<global::Microsoft.Graph.Beta.Models.CloudPC>(requestInfo, global::Microsoft.Graph.Beta.Models.CloudPC.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
/// <summary>
/// List the cloudPC devices in a tenant.
/// Read the properties and relationships of a specific cloudPC object.
/// </summary>
/// <returns>A <see cref="RequestInformation"/></returns>
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
Expand Down Expand Up @@ -178,7 +178,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.
return new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.CloudPCs.CloudPCsRequestBuilder(rawUrl, RequestAdapter);
}
/// <summary>
/// List the cloudPC devices in a tenant.
/// Read the properties and relationships of a specific cloudPC object.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
public partial class CloudPCsRequestBuilderGetQueryParameters
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public DeviceTemplateRequestBuilder(string rawUrl, IRequestAdapter requestAdapte
{
}
/// <summary>
/// Get deviceTemplate from devices
/// Device template used to instantiate this device. Nullable. Read-only.
/// </summary>
/// <returns>A <see cref="global::Microsoft.Graph.Beta.Models.DeviceTemplateCollectionResponse"/></returns>
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
Expand All @@ -77,7 +77,7 @@ public DeviceTemplateRequestBuilder(string rawUrl, IRequestAdapter requestAdapte
return await RequestAdapter.SendAsync<global::Microsoft.Graph.Beta.Models.DeviceTemplateCollectionResponse>(requestInfo, global::Microsoft.Graph.Beta.Models.DeviceTemplateCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
/// <summary>
/// Get deviceTemplate from devices
/// Device template used to instantiate this device. Nullable. Read-only.
/// </summary>
/// <returns>A <see cref="RequestInformation"/></returns>
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
Expand Down Expand Up @@ -105,7 +105,7 @@ public RequestInformation ToGetRequestInformation(Action<RequestConfiguration<gl
return new global::Microsoft.Graph.Beta.Devices.Item.DeviceTemplate.DeviceTemplateRequestBuilder(rawUrl, RequestAdapter);
}
/// <summary>
/// Get deviceTemplate from devices
/// Device template used to instantiate this device. Nullable. Read-only.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
public partial class DeviceTemplateRequestBuilderGetQueryParameters
Expand Down
Loading

0 comments on commit 50603bb

Please sign in to comment.