New-AzCloudServiceRoleProfilePropertiesObject
Create a in-memory object for CloudServiceRoleProfileProperties
Syntax
New-AzCloudServiceRoleProfilePropertiesObject
[-Name <String>]
[-SkuCapacity <Int64>]
[-SkuName <String>]
[-SkuTier <String>]
[<CommonParameters>]
Description
Create a in-memory object for CloudServiceRoleProfileProperties
Examples
Example 1: Create role profile properties object
$role = New-AzCloudServiceRoleProfilePropertiesObject -Name 'WebRole' -SkuName 'Standard_D1_v2' -SkuTier 'Standard' -SkuCapacity 2
This command creates role profile properties object which is used for creating or updating a cloud service. For more details see New-AzCloudService.
Parameters
-Name
Name of role profile.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SkuCapacity
Specifies the number of role instances in the cloud service.
Type: | Int64 |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SkuName
The sku name.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SkuTier
SkuTier.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Outputs
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.
Azure PowerShell