Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
New-AzCloudServiceExtensionObject
- Module:
- Az.CloudService Module
Create a in-memory object for Extension
Syntax
Default (Default)
New-AzCloudServiceExtensionObject
[-AutoUpgradeMinorVersion <Boolean>]
[-Name <String>]
[-ProtectedSetting <String>]
[-Publisher <String>]
[-RolesAppliedTo <String[]>]
[-Setting <String>]
[-Type <String>]
[-TypeHandlerVersion <String>]
[<CommonParameters>]
Description
Create a in-memory object for Extension
Examples
Example 1: Create Geneva extension object
$extension = New-AzCloudServiceExtensionObject -Name "GenevaExtension" -Publisher "Microsoft.Azure.Geneva" -Type "GenevaMonitoringPaaS" -TypeHandlerVersion "2.14.0.2"
This command creates Geneva extension object which is used for creating or updating a cloud service. For more details see New-AzCloudService.
Parameters
-AutoUpgradeMinorVersion
Explicitly specify whether CRP can automatically upgrade typeHandlerVersion to higher minor versions when they become available.
Parameter properties
| Type: | Boolean |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
-Name
Name.
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
-ProtectedSetting
Protected settings for the extension which are encrypted before sent to the VM.
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
-Publisher
Publisher.
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
-RolesAppliedTo
RolesAppliedTo.
Parameter properties
| Type: | String[] |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
-Setting
Public settings for the extension.
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
-Type
Type.
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
-TypeHandlerVersion
TypeHandlerVersion.
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Outputs
Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Extension
Azure PowerShell
Feedback
Was this page helpful?
