Skip to content

Commit 227a9f8

Browse files
JingchuanHuangMSFTJingchuan Huang
andauthored
Update Az.PipelineGroup to API version 2024-10-01-preview (Azure#27149)
Co-authored-by: Jingchuan Huang <[email protected]>
1 parent 0c4fd7f commit 227a9f8

File tree

12 files changed

+250
-122
lines changed

12 files changed

+250
-122
lines changed

src/Monitor/Monitor/Az.Monitor.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ DotNetFrameworkVersion = '4.7.2'
5353
# ProcessorArchitecture = ''
5454

5555
# Modules that must be imported into the global environment prior to importing this module
56-
RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '4.0.1'; })
56+
RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '4.0.2'; })
5757

5858
# Assemblies that must be loaded prior to importing this module
5959
RequiredAssemblies = 'ActionGroup.Autorest/bin/Az.ActionGroup.private.dll',

src/Monitor/Monitor/ChangeLog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
-->
2020

2121
## Upcoming Release
22+
* Pipeline Group upgraded API version to 2024-10-01-preview
2223

2324
## Version 6.0.1
2425
* Upgraded nuget package to signed package.
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
// Copyright (c) Microsoft Corporation. All rights reserved.
2+
// Licensed under the Apache License, Version 2.0 (the ""License"");
3+
// you may not use this file except in compliance with the License.
4+
// You may obtain a copy of the License at
5+
// http://www.apache.org/licenses/LICENSE-2.0
6+
// Unless required by applicable law or agreed to in writing, software
7+
// distributed under the License is distributed on an ""AS IS"" BASIS,
8+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
9+
// See the License for the specific language governing permissions and
10+
// limitations under the License.
11+
// Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code
12+
// is regenerated.
13+
14+
using System;
15+
using System.Reflection;
16+
using System.Runtime.CompilerServices;
17+
using System.Runtime.InteropServices;
18+
19+
[assembly: System.Reflection.AssemblyCompanyAttribute("Microsoft")]
20+
[assembly: System.Reflection.AssemblyCopyrightAttribute("Copyright © Microsoft")]
21+
[assembly: System.Reflection.AssemblyProductAttribute("Microsoft Azure PowerShell")]
22+
[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft Azure PowerShell - PipelineGroup")]
23+
[assembly: System.Reflection.AssemblyFileVersionAttribute("6.0.1")]
24+
[assembly: System.Reflection.AssemblyVersionAttribute("6.0.1")]
25+
[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)]
26+
[assembly: System.CLSCompliantAttribute(false)]
27+

src/Monitor/PipelineGroup.Autorest/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ For information on how to develop for `Az.PipelineGroup`, see [how-to.md](how-to
2727
> see https://aka.ms/autorest
2828
2929
``` yaml
30-
commit: cf406046c304ec528a84ae1a151f3d1a647058a2
30+
commit: ba1d416d3bfa258bc55d9b5a892093df29d2efff
3131
require:
3232
- $(this-folder)/../../readme.azure.noprofile.md
3333
input-file:
34-
- https://github.com/Azure/azure-rest-api-specs/blob/$(commit)/specification/monitor/resource-manager/Microsoft.Monitor/preview/2023-10-01-preview/azuremonitor.json
34+
- https://github.com/Azure/azure-rest-api-specs/blob/$(commit)/specification/monitor/resource-manager/Microsoft.Monitor/PipelineGroups/preview/2024-10-01-preview/pipelineGroups.json
3535

3636
root-module-name: $(prefix).Monitor
3737
title: PipelineGroup

src/Monitor/PipelineGroup.Autorest/UX/Microsoft.Monitor/pipelineGroups.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"resourceType": "pipelineGroups",
3-
"apiVersion": "2023-10-01-preview",
3+
"apiVersion": "2024-10-01-preview",
44
"learnMore": {
55
"url": "https://learn.microsoft.com/powershell/module/az.monitor"
66
},
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
// Copyright (c) Microsoft Corporation. All rights reserved.
2+
// Licensed under the MIT License. See License.txt in the project root for license information.
3+
4+
namespace Microsoft.Azure.PowerShell.Cmdlets.Monitor.PipelineGroup.Models
5+
{
6+
public partial class PipelineGroupIdentity
7+
{
8+
/// <summary>Backing field for <see cref="AzureMonitorWorkspaceName" /> property.</summary>
9+
private string _azureMonitorWorkspaceName;
10+
11+
/// <summary>The name of the Azure Monitor workspace. The name is case insensitive.</summary>
12+
[Microsoft.Azure.PowerShell.Cmdlets.Monitor.PipelineGroup.Origin(Microsoft.Azure.PowerShell.Cmdlets.Monitor.PipelineGroup.PropertyOrigin.Owned)]
13+
public string AzureMonitorWorkspaceName { get => this._azureMonitorWorkspaceName; set => this._azureMonitorWorkspaceName = value; }
14+
}
15+
16+
public partial interface IPipelineGroupIdentity
17+
{
18+
/// <summary>The name of the Azure Monitor workspace. The name is case insensitive.</summary>
19+
[Microsoft.Azure.PowerShell.Cmdlets.Monitor.PipelineGroup.Runtime.Info(
20+
Required = false,
21+
ReadOnly = false,
22+
Read = true,
23+
Create = true,
24+
Update = true,
25+
Description = @"The name of the Azure Monitor workspace. The name is case insensitive.",
26+
SerializedName = @"azureMonitorWorkspaceName",
27+
PossibleTypes = new [] { typeof(string) })]
28+
string AzureMonitorWorkspaceName { get; set; }
29+
}
30+
31+
internal partial interface IPipelineGroupIdentityInternal
32+
{
33+
/// <summary>The name of the Azure Monitor workspace. The name is case insensitive.</summary>
34+
string AzureMonitorWorkspaceName { get; set; }
35+
}
36+
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"generate_Id": "20133b0b-6e0f-4bee-9761-10226c9bcf11"
2+
"generate_Id": "9b272216-f286-49e0-8519-f37112db0d07"
33
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Resources
2+
This directory can contain any additional resources for module that are not required at runtime. This directory **does not** get packaged with the module. If you have assets for custom implementation, place them into the `..\custom` folder.
3+
4+
## Info
5+
- Modifiable: yes
6+
- Generated: no
7+
- Committed: yes
8+
- Packaged: no
9+
10+
## Purpose
11+
Use this folder to put anything you want to keep around as part of the repository for the module, but is not something that is required for the module. For example, development files, packaged builds, or additional information. This is only intended to be used in repositories where the module's output directory is cleaned, but tangential resources for the module want to remain intact.

0 commit comments

Comments
 (0)