Skip to content
Merged

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,5 @@
<PackageId>Azure.ResourceManager.ComputeSchedule</PackageId>
<Description>Azure Resource Manager client SDK for Azure resource provider ComputeSchedule.</Description>
<PackageTags>azure;management;arm;resource manager;computeschedule</PackageTags>
<IncludeAutorestDependency>true</IncludeAutorestDependency>
</PropertyGroup>
</Project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;
using System.Linq;
using Azure;
using Azure.Core;
using Azure.ResourceManager.ComputeSchedule;
using Azure.ResourceManager.Models;

namespace Azure.ResourceManager.ComputeSchedule.Models
{
/// <summary> A factory class for creating instances of the models for mocking. </summary>
public static partial class ArmComputeScheduleModelFactory
{
/// <summary> The details of a response from an operation on a resource. </summary>
/// <param name="operationId"> Operation identifier for the unique operation. </param>
/// <param name="resourceId"> Unique identifier for the resource involved in the operation, eg ArmId. </param>
/// <param name="opType"> Type of operation performed on the resources. </param>
/// <param name="subscriptionId"> Subscription id attached to the request. </param>
/// <param name="deadline"> Deadline for the operation. </param>
/// <param name="deadlineType"> Type of deadline of the operation. </param>
/// <param name="state"> Current state of the operation. </param>
/// <param name="timezone"> Timezone for the operation. </param>
/// <param name="operationTimezone"> Timezone for the operation. </param>
/// <param name="resourceOperationError"> Operation level errors if they exist. </param>
/// <param name="completedOn"> Time the operation was complete if errors are null. </param>
/// <param name="retryPolicy"> Retry policy the user can pass. </param>
/// <returns> A new <see cref="Models.ResourceOperationDetails"/> instance for mocking. </returns>
public static ResourceOperationDetails ResourceOperationDetails(string operationId, ResourceIdentifier resourceId, ResourceOperationType? opType, string subscriptionId, DateTimeOffset? deadline, ScheduledActionDeadlineType? deadlineType, ScheduledActionOperationState? state, string timezone, string operationTimezone, ResourceOperationError resourceOperationError, DateTimeOffset? completedOn, UserRequestRetryPolicy retryPolicy = default)
{
return ResourceOperationDetails(
operationId, resourceId, opType, subscriptionId, deadline, deadlineType, state, timezone, operationTimezone, resourceOperationError, null, completedOn, retryPolicy);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,12 @@

#nullable disable

using Azure.Core;
using Microsoft.TypeSpec.Generator.Customizations;

namespace Azure.ResourceManager.ComputeSchedule.Models
{
[CodeGenModel("ScheduledActionUpdateProperties")]
/// <summary> The updatable properties of the ScheduledAction. </summary>
[CodeGenType("ScheduledActionUpdateProperties")]
public partial class ScheduledActionPatchProperties
{
}
Expand Down

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading