New-AzSupportTicket
Hiermee maakt u een ondersteuningsticket.
Syntax
New-AzSupportTicket
-Name <String>
-Title <String>
-Description <String>
-ProblemClassificationId <String>
-Severity <Severity>
-CustomerFirstName <String>
-CustomerLastName <String>
-PreferredContactMethod <ContactMethod>
-CustomerPrimaryEmailAddress <String>
[-AdditionalEmailAddress <String[]>]
[-CustomerPhoneNumber <String>]
-CustomerPreferredTimeZone <String>
-CustomerCountry <String>
-CustomerPreferredSupportLanguage <String>
[-ProblemStartTime <DateTime>]
[-CSPHomeTenantId <String>]
[-Require24X7Response]
[-AsJob]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
New-AzSupportTicket
-Name <String>
-Title <String>
-Description <String>
-ProblemClassificationId <String>
-Severity <Severity>
-CustomerContactDetail <PSContactProfile>
[-ProblemStartTime <DateTime>]
[-CSPHomeTenantId <String>]
[-Require24X7Response]
[-AsJob]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
New-AzSupportTicket
-Name <String>
-Title <String>
-Description <String>
-ProblemClassificationId <String>
-Severity <Severity>
-CustomerContactDetail <PSContactProfile>
[-ProblemStartTime <DateTime>]
-TechnicalTicketResourceId <String>
[-CSPHomeTenantId <String>]
[-Require24X7Response]
[-AsJob]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
New-AzSupportTicket
-Name <String>
-Title <String>
-Description <String>
-ProblemClassificationId <String>
-Severity <Severity>
-CustomerContactDetail <PSContactProfile>
[-ProblemStartTime <DateTime>]
-QuotaTicketDetail <PSQuotaTicketDetail>
[-CSPHomeTenantId <String>]
[-Require24X7Response]
[-AsJob]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
New-AzSupportTicket
-Name <String>
-Title <String>
-Description <String>
-ProblemClassificationId <String>
-Severity <Severity>
-CustomerFirstName <String>
-CustomerLastName <String>
-PreferredContactMethod <ContactMethod>
-CustomerPrimaryEmailAddress <String>
[-AdditionalEmailAddress <String[]>]
[-CustomerPhoneNumber <String>]
-CustomerPreferredTimeZone <String>
-CustomerCountry <String>
-CustomerPreferredSupportLanguage <String>
[-ProblemStartTime <DateTime>]
-TechnicalTicketResourceId <String>
[-CSPHomeTenantId <String>]
[-Require24X7Response]
[-AsJob]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
New-AzSupportTicket
-Name <String>
-Title <String>
-Description <String>
-ProblemClassificationId <String>
-Severity <Severity>
-CustomerFirstName <String>
-CustomerLastName <String>
-PreferredContactMethod <ContactMethod>
-CustomerPrimaryEmailAddress <String>
[-AdditionalEmailAddress <String[]>]
[-CustomerPhoneNumber <String>]
-CustomerPreferredTimeZone <String>
-CustomerCountry <String>
-CustomerPreferredSupportLanguage <String>
[-ProblemStartTime <DateTime>]
-QuotaTicketDetail <PSQuotaTicketDetail>
[-CSPHomeTenantId <String>]
[-Require24X7Response]
[-AsJob]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
Deze cmdlet kan worden gebruikt om een ondersteuningsticket te maken voor problemen met facturering, abonnementsbeheer, quota of technische problemen. Gebruik De cmdlets Get-AzSupportService en Get-AzSupportProblemClassification om de Azure-service te identificeren en de bijbehorende probleemclassificaties waarvoor u ondersteuning wilt aanvragen. U moet de volgende parameters opgeven:
• Title
• Description
• Severity level
• ProblemClassificationId
• CustomerContactDetail (or individual customer contact parameters)
U kunt de helper-cmdlet New-AzSupportContactProfileObject gebruiken om het CustomerContactDetail-object te maken.
Cloud Solution Providers kunnen een ondersteuningsticket maken voor de abonnementen van hun klant door zich aan te melden bij de tenant van hun klant en hun tenant-id voor thuis op te geven met behulp van de parameter CSPHomeTenantId .
Voor technische tickets:
Als u de resourcenaam wilt opgeven, geeft u de ARM-resource-id van de resource op met behulp van de parameter TechnicalTicketResourceId . Zie hieronder een voorbeeld.
Voor quotumtickets:
Als u quotumverhoging wilt aanvragen voor Compute VM Cores, Batch, SQL Database en SQL Data Warehouse, geeft u aanvullende informatie op onder het QuotaTicketDetail-object . Het QuotaTicketDetail-object bestaat uit drie eigenschappen, zoals hieronder wordt beschreven. Klik hier voor gedetailleerde documentatie .
• QuotaChangeRequestSubType
This is required for certain quota types when there is a sub type that you are requesting quota increase for. Example: Batch, SQL Database and SQL Data Warehouse have a sub type.
• QuotaChangeRequestVersion
This is required and indicates the version of the quota change request payload.
• QuotaChangeRequests
This is required and is a list of PSQuotaChangeRequest objects. PSQuotaChangeRequest object has 2 required properties.
○ Region
This is the Azure location or region for which you are requesting quota increase. This is the Location property of Get-AzLocation cmdlet.
○ Payload
This is where you specify the new limits for the selected quota type.
Klik hier voor gedetailleerde documentatie over het maken van payloads voor verschillende quotumtypen
Voorbeelden
Voorbeeld 1: Een ondersteuningsticket voor facturering of abonnementsbeheer maken. Gebruik Get-AzSupportService en Get-AzSupportProblemClassification om de juiste GUID's op te halen voor de probleemclassificatie facturering of abonnementsbeheer waarvoor u ondersteuning wilt aanvragen
New-AzSupportTicket -Name "test1" -Title "Test" -Description "Test" -Severity "minimal" -ProblemClassificationId "/providers/Microsoft.Support/services/{billing_service_guid}/problemClassifications/{problemClassification_guid}" -CustomerContactDetail @{FirstName = "first" ; LastName = "last" ; PreferredTimeZone = "pacific standard time" ; PreferredSupportLanguage = "en-us" ; Country = "USA" ; PreferredContactMethod = "Email" ; PrimaryEmailAddress = "user@contoso.com"}
Name Title SupportTicketId Severity ServiceDisplayName Status CreatedDate
---- ----- --------------- -------- ------------------ ------ -----------
test1 Test 150010521000317 Minimal Billing Open 2/5/2020 1:33:53 AM
Voorbeeld 2: Maak een ticket voor technische ondersteuning voor virtuele machine voor Windows-resources. Gebruik Get-AzSupportService en Get-AzSupportProblemClassification om de juiste GUID's op te halen voor virtuele machine voor Windows-probleemclassificatie waarvoor u ondersteuning wilt aanvragen
New-AzSupportTicket -Name "test1" -Title "Test" -Description "Test" -Severity "minimal" -ProblemClassificationId "/providers/Microsoft.Support/services/{vm_windows_service_guid}/problemClassifications/{problemClassification_guid}" -TechnicalTicketResourceId "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/testRG/providers/Microsoft.Compute/virtualMachines/testVM" -CustomerContactDetail @{FirstName = "first" ; LastName = "last" ; PreferredTimeZone = "pacific standard time" ; PreferredSupportLanguage = "en-us" ; Country = "USA" ; PreferredContactMethod = "Email" ; PrimaryEmailAddress = "user@contoso.com"}
Name Title SupportTicketId Severity ServiceDisplayName Status CreatedDate
---- ----- --------------- -------- ------------------ ------ -----------
test1 Test 150010521000317 Minimal Virtual Machine running Windows Open 2/5/2020 1:33:53 AM
Voorbeeld 3: Maak een quotumondersteuningsticket om het quotum voor virtuele-machinekernen voor een specifieke VM-serie te verhogen. Gebruik Get-AzSupportService en Get-AzSupportProblemClassification om de juiste GUID's op te halen voor probleemclassificatie van Quota Compute VM Cores.
New-AzSupportTicket -Name "test1" -Title "Test" -Description "Test" -Severity "minimal" -ProblemClassificationId "/providers/Microsoft.Support/services/{quota_service_guid}/problemClassifications/{cores_problemClassification_guid}" -QuotaTicketDetail @{QuotaChangeRequestVersion = "1.0" ; QuotaChangeRequests = (@{Region = "westus"; Payload = "{`"VMFamily`":`"Dv2 Series`",`"NewLimit`":350}"}, @{Region = "eastus"; Payload = "{`"VMFamily`":`"Dv2 Series`",`"NewLimit`":516}"})} -CustomerContactDetail @{FirstName = "first" ; LastName = "last" ; PreferredTimeZone = "pacific standard time" ; PreferredSupportLanguage = "en-us" ; Country = "USA" ; PreferredContactMethod = "Email" ; PrimaryEmailAddress = "user@contoso.com"}
Name Title SupportTicketId Severity ServiceDisplayName Status CreatedDate
---- ----- --------------- -------- ------------------ ------ -----------
test1 Test 150010521000317 Minimal Service and subscription limits (quotas) Open 2/5/2020 1:33:53 AM
Voorbeeld 4: Maak een quotumondersteuningsticket om het quotum voor kernen met lage prioriteit voor een Batch-account te verhogen. Gebruik Get-AzSupportService en Get-AzSupportProblemClassification om de juiste GUID's op te halen voor probleemclassificatie van Quota Batch.
New-AzSupportTicket -Name "test1" -Title "Test" -Description "Test" -Severity "minimal" -ProblemClassificationId "/providers/Microsoft.Support/services/{quota_service_guid}/problemClassifications/{batch_problemClassification_guid}" -QuotaTicketDetail @{QuotaChangeRequestVersion = "1.0" ; QuotaChangeRequestSubType = "Account" ; QuotaChangeRequests = (@{Region = "westus"; Payload = "{`"AccountName`":`"test`",`"NewLimit`":200,`"Type`":`"LowPriority`"}"})} -CustomerContactDetail @{FirstName = "first" ; LastName = "last" ; PreferredTimeZone = "pacific standard time" ; PreferredSupportLanguage = "en-us" ; Country = "USA" ; PreferredContactMethod = "Email" ; PrimaryEmailAddress = "user@contoso.com"}
Name Title SupportTicketId Severity ServiceDisplayName Status CreatedDate
---- ----- --------------- -------- ------------------ ------ -----------
test1 Test 150010521000317 Minimal Service and subscription limits (quotas) Open 2/5/2020 1:33:53 AM
Voorbeeld 5: Maak een quotumondersteuningsticket om het quotum voor VM-kernen voor een specifieke VM-serie voor een Batch-account te verhogen. Gebruik Get-AzSupportService en Get-AzSupportProblemClassification om de juiste GUID's op te halen voor probleemclassificatie van Quota Batch.
New-AzSupportTicket -Name "test1" -Title "Test" -Description "Test" -Severity "minimal" -ProblemClassificationId "/providers/Microsoft.Support/services/{quota_service_guid}/problemClassifications/{batch_problemClassification_guid}" -QuotaTicketDetail @{QuotaChangeRequestVersion = "1.0" ; QuotaChangeRequestSubType = "Account" ; QuotaChangeRequests = (@{Region = "westus"; Payload = "{`"AccountName`":`"test`",`"VMFamily`":`"standardA0_A7Family`",`"NewLimit`":200,`"Type`":`"Dedicated`"}"})} -CustomerContactDetail @{FirstName = "first" ; LastName = "last" ; PreferredTimeZone = "pacific standard time" ; PreferredSupportLanguage = "en-us" ; Country = "USA" ; PreferredContactMethod = "Email" ; PrimaryEmailAddress = "user@contoso.com"}
Name Title SupportTicketId Severity ServiceDisplayName Status CreatedDate
---- ----- --------------- -------- ------------------ ------ -----------
test1 Test 150010521000317 Minimal Service and subscription limits (quotas) Open 2/5/2020 1:33:53 AM
Voorbeeld 6: Maak een quotumondersteuningsticket om het quotum voor pools voor een Batch-account te verhogen. Gebruik Get-AzSupportService en Get-AzSupportProblemClassification om de juiste GUID's op te halen voor probleemclassificatie van Quota Batch.
New-AzSupportTicket -Name "test1" -Title "Test" -Description "Test" -Severity "minimal" -ProblemClassificationId "/providers/Microsoft.Support/services/{quota_service_guid}/problemClassifications/{batch_problemClassification_guid}" -QuotaTicketDetail @{QuotaChangeRequestVersion = "1.0" ; QuotaChangeRequestSubType = "Account" ; QuotaChangeRequests = (@{Region = "westus"; Payload = "{`"AccountName`":`"test`",`"NewLimit`":120,`"Type`":`"Pools`"}"})} -CustomerContactDetail @{FirstName = "first" ; LastName = "last" ; PreferredTimeZone = "pacific standard time" ; PreferredSupportLanguage = "en-us" ; Country = "USA" ; PreferredContactMethod = "Email" ; PrimaryEmailAddress = "user@contoso.com"}
Name Title SupportTicketId Severity ServiceDisplayName Status CreatedDate
---- ----- --------------- -------- ------------------ ------ -----------
test1 Test 150010521000317 Minimal Service and subscription limits (quotas) Open 2/5/2020 1:33:53 AM
Voorbeeld 7: Maak een quotumondersteuningsticket om het quotum voor actieve taken en taakplanningen voor een Batch-account te verhogen. Gebruik Get-AzSupportService en Get-AzSupportProblemClassification om de juiste GUID's op te halen voor probleemclassificatie van Quota Batch.
New-AzSupportTicket -Name "test1" -Title "Test" -Description "Test" -Severity "minimal" -ProblemClassificationId "/providers/Microsoft.Support/services/{quota_service_guid}/problemClassifications/{batch_problemClassification_guid}" -QuotaTicketDetail @{QuotaChangeRequestVersion = "1.0" ; QuotaChangeRequestSubType = "Account" ; QuotaChangeRequests = (@{Region = "westus"; Payload = "{`"AccountName`":`"test`",`"NewLimit`":120,`"Type`":`"Jobs`"}"})} -CustomerContactDetail @{FirstName = "first" ; LastName = "last" ; PreferredTimeZone = "pacific standard time" ; PreferredSupportLanguage = "en-us" ; Country = "USA" ; PreferredContactMethod = "Email" ; PrimaryEmailAddress = "user@contoso.com"}
Name Title SupportTicketId Severity ServiceDisplayName Status CreatedDate
---- ----- --------------- -------- ------------------ ------ -----------
test1 Test 150010521000317 Minimal Service and subscription limits (quotas) Open 2/5/2020 1:33:53 AM
Voorbeeld 8: Maak een quotumondersteuningsticket om het aantal Batch-accounts voor een abonnement te verhogen. Gebruik Get-AzSupportService en Get-AzSupportProblemClassification om de juiste GUID's op te halen voor probleemclassificatie van Quota Batch.
New-AzSupportTicket -Name "test1" -Title "Test" -Description "Test" -Severity "minimal" -ProblemClassificationId "/providers/Microsoft.Support/services/{quota_service_guid}/problemClassifications/{batch_problemClassification_guid}" -QuotaTicketDetail @{QuotaChangeRequestVersion = "1.0" ; QuotaChangeRequestSubType = "Subscription" ; QuotaChangeRequests = (@{Region = "westus"; Payload = "{`"NewLimit`":120,`"Type`":`"Account`"}"})} -CustomerContactDetail @{FirstName = "first" ; LastName = "last" ; PreferredTimeZone = "pacific standard time" ; PreferredSupportLanguage = "en-us" ; Country = "USA" ; PreferredContactMethod = "Email" ; PrimaryEmailAddress = "user@contoso.com"}
Name Title SupportTicketId Severity ServiceDisplayName Status CreatedDate
---- ----- --------------- -------- ------------------ ------ -----------
test1 Test 150010521000317 Minimal Service and subscription limits (quotas) Open 2/5/2020 1:33:53 AM
Voorbeeld 9: Maak een quotumondersteuningsticket om het quotum voor DTU's voor SQL Database te verhogen. Gebruik Get-AzSupportService en Get-AzSupportProblemClassification om de juiste GUID's op te halen voor probleemclassificatie van Quota SQL Database.
New-AzSupportTicket -Name "test1" -Title "Test" -Description "Test" -Severity "minimal" -ProblemClassificationId "/providers/Microsoft.Support/services/{quota_service_guid}/problemClassifications/{sql_database_problemClassification_guid}" -QuotaTicketDetail @{QuotaChangeRequestVersion = "1.0" ; QuotaChangeRequestSubType = "DTUs" ; QuotaChangeRequests = (@{Region = "westus"; Payload = "{`"ServerName`":`"testserver`",`"NewLimit`":54000}"})} -CustomerContactDetail @{FirstName = "first" ; LastName = "last" ; PreferredTimeZone = "pacific standard time" ; PreferredSupportLanguage = "en-us" ; Country = "USA" ; PreferredContactMethod = "Email" ; PrimaryEmailAddress = "user@contoso.com"}
Name Title SupportTicketId Severity ServiceDisplayName Status CreatedDate
---- ----- --------------- -------- ------------------ ------ -----------
test1 Test 150010521000317 Minimal Service and subscription limits (quotas) Open 2/5/2020 1:33:53 AM
Voorbeeld 10: Maak een quotumondersteuningsticket om het quotum voor Servers voor SQL Database te verhogen. Gebruik Get-AzSupportService en Get-AzSupportProblemClassification om de juiste GUID's op te halen voor probleemclassificatie van Quota SQL Database.
New-AzSupportTicket -Name "test1" -Title "Test" -Description "Test" -Severity "minimal" -ProblemClassificationId "/providers/Microsoft.Support/services/{quota_service_guid}/problemClassifications/{sql_database_problemClassification_guid}" -QuotaTicketDetail @{QuotaChangeRequestVersion = "1.0" ; QuotaChangeRequestSubType = "Servers" ; QuotaChangeRequests = (@{Region = "westus"; Payload = "{`"NewLimit`":200}"})} -CustomerContactDetail @{FirstName = "first" ; LastName = "last" ; PreferredTimeZone = "pacific standard time" ; PreferredSupportLanguage = "en-us" ; Country = "USA" ; PreferredContactMethod = "Email" ; PrimaryEmailAddress = "user@contoso.com"}
Name Title SupportTicketId Severity ServiceDisplayName Status CreatedDate
---- ----- --------------- -------- ------------------ ------ -----------
test1 Test 150010521000317 Minimal Service and subscription limits (quotas) Open 2/5/2020 1:33:53 AM
Voorbeeld 11: Maak een quotumondersteuningsticket om het quotum voor DTU's voor SQL Data Warehouse te verhogen. Gebruik Get-AzSupportService en Get-AzSupportProblemClassification om de juiste GUID's op te halen voor probleemclassificatie van Quotum SQL Date Warehouse.
New-AzSupportTicket -Name "test1" -Title "Test" -Description "Test" -Severity "minimal" -ProblemClassificationId "/providers/Microsoft.Support/services/{quota_service_guid}/problemClassifications/{sql_datawarehouse_problemClassification_guid}" -QuotaTicketDetail @{QuotaChangeRequestVersion = "1.0" ; QuotaChangeRequestSubType = "DTUs" ; QuotaChangeRequests = (@{Region = "westus"; Payload = "{`"ServerName`":`"testserver`",`"NewLimit`":54000}"})} -CustomerContactDetail @{FirstName = "first" ; LastName = "last" ; PreferredTimeZone = "pacific standard time" ; PreferredSupportLanguage = "en-us" ; Country = "USA" ; PreferredContactMethod = "Email" ; PrimaryEmailAddress = "user@contoso.com"}
Name Title SupportTicketId Severity ServiceDisplayName Status CreatedDate
---- ----- --------------- -------- ------------------ ------ -----------
test1 Test 150010521000317 Minimal Service and subscription limits (quotas) Open 2/5/2020 1:33:53 AM
Voorbeeld 12: Maak een quotumondersteuningsticket om het quotum voor Servers voor SQL Data Warehouse te verhogen. Gebruik Get-AzSupportService en Get-AzSupportProblemClassification om de juiste GUID's op te halen voor probleemclassificatie van Quotum SQL Data Warehouse.
New-AzSupportTicket -Name "test1" -Title "Test" -Description "Test" -Severity "minimal" -ProblemClassificationId "/providers/Microsoft.Support/services/{quota_service_guid}/problemClassifications/{sql_datawarehouse_problemClassification_guid}" -QuotaTicketDetail @{QuotaChangeRequestVersion = "1.0" ; QuotaChangeRequestSubType = "Servers" ; QuotaChangeRequests = (@{Region = "westus"; Payload = "{`"NewLimit`":200}"})} -CustomerContactDetail @{FirstName = "first" ; LastName = "last" ; PreferredTimeZone = "pacific standard time" ; PreferredSupportLanguage = "en-us" ; Country = "USA" ; PreferredContactMethod = "Email" ; PrimaryEmailAddress = "user@contoso.com"}
Name Title SupportTicketId Severity ServiceDisplayName Status CreatedDate
---- ----- --------------- -------- ------------------ ------ -----------
test1 Test 150010521000317 Minimal Service and subscription limits (quotas) Open 2/5/2020 1:33:53 AM
Voorbeeld 13: Maak een quotumondersteuningsticket om het quotum voor kernen met lage prioriteit voor Machine Learning Service te verhogen. Gebruik Get-AzSupportService en Get-AzSupportProblemClassification om de juiste GUID's op te halen voor de probleemclassificatie van de Quota Machine Learning-service.
New-AzSupportTicket -Name "test1" -Title "Test" -Description "Test" -Severity "minimal" -ProblemClassificationId "/providers/Microsoft.Support/services/{quota_service_guid}/problemClassifications/{machine_learning_service_problemClassification_guid}" -QuotaTicketDetail @{QuotaChangeRequestVersion = "1.0" ; QuotaChangeRequestSubType = "BatchAml" ; QuotaChangeRequests = (@{Region = "westus"; Payload = "{`"NewLimit`":200,`"Type`":`"LowPriority`" }"})} -CustomerContactDetail @{FirstName = "first" ; LastName = "last" ; PreferredTimeZone = "pacific standard time" ; PreferredSupportLanguage = "en-us" ; Country = "USA" ; PreferredContactMethod = "Email" ; PrimaryEmailAddress = "user@contoso.com"}
Name Title SupportTicketId Severity ServiceDisplayName Status CreatedDate
---- ----- --------------- -------- ------------------ ------ -----------
test1 Test 150010521000317 Minimal Service and subscription limits (quotas) Open 2/5/2020 1:33:53 AM
Voorbeeld 14: Maak een quotumondersteuningsticket om het quotum voor VM-kernen voor een specifieke VM-serie voor Machine Learning Service te verhogen. Gebruik Get-AzSupportService en Get-AzSupportProblemClassification om de juiste GUID's op te halen voor de probleemclassificatie van de Quota Machine Learning-service.
New-AzSupportTicket -Name "test1" -Title "Test" -Description "Test" -Severity "minimal" -ProblemClassificationId "/providers/Microsoft.Support/services/{quota_service_guid}/problemClassifications/{machine_learning_service_problemClassification_guid}" -QuotaTicketDetail @{QuotaChangeRequestVersion = "1.0" ; QuotaChangeRequestSubType = "BatchAml" ; QuotaChangeRequests = (@{Region = "westus"; Payload = "{`"VMFamily`":`"standardDFamily`",`"NewLimit`":200,`"Type`":`"Dedicated`" }"})} -CustomerContactDetail @{FirstName = "first" ; LastName = "last" ; PreferredTimeZone = "pacific standard time" ; PreferredSupportLanguage = "en-us" ; Country = "USA" ; PreferredContactMethod = "Email" ; PrimaryEmailAddress = "user@contoso.com"}
Name Title SupportTicketId Severity ServiceDisplayName Status CreatedDate
---- ----- --------------- -------- ------------------ ------ -----------
test1 Test 150010521000317 Minimal Service and subscription limits (quotas) Open 2/5/2020 1:33:53 AM
Voorbeeld 15: Maak een quotumondersteuningsticket om het quotum voor Azure SQL Managed Instance te verhogen. Gebruik Get-AzSupportService en Get-AzSupportProblemClassification om de juiste GUID's op te halen voor de probleemclassificatie van de sql Managed Instance-service.
New-AzSupportTicket -Name "test1" -Title "Test" -Description "Test" -Severity "minimal" -ProblemClassificationId "/providers/Microsoft.Support/services/{quota_service_guid}/problemClassifications/{sql_managed_instance_problemClassification_guid}" -QuotaTicketDetail @{QuotaChangeRequestVersion = "1.0" ; QuotaChangeRequestSubType = "SQLMI" ; QuotaChangeRequests = (@{Region = "westus"; Payload = "{`"NewLimit`":200,`"Type`":`"vCore`" }"}, @{Region = "westus"; Payload = "{`"NewLimit`":200,`"Type`":`"Subnet`" }"})} -CustomerContactDetail @{FirstName = "first" ; LastName = "last" ; PreferredTimeZone = "pacific standard time" ; PreferredSupportLanguage = "en-us" ; Country = "USA" ; PreferredContactMethod = "Email" ; PrimaryEmailAddress = "user@contoso.com"}
Name Title SupportTicketId Severity ServiceDisplayName Status CreatedDate
---- ----- --------------- -------- ------------------ ------ -----------
test1 Test 150010521000317 Minimal Service and subscription limits (quotas) Open 2/5/2020 1:33:53 AM
Voorbeeld 16: Maak een ondersteuningsticket door afzonderlijke parameters voor klantcontactpersoon op te geven in plaats van customerContactDetail-object.
New-AzSupportTicket -Name "test1" -Title "Test" -Description "Test" -Severity "minimal" -ProblemClassificationId "/providers/Microsoft.Support/services/{billing_service_guid}/problemClassifications/{problemClassification_guid}" -CustomerFirstName "first" -CustomerLastName "last" -CustomerPreferredTimeZone "pacific standard time" -CustomerPreferredSupportLanguage "en-us" -CustomerCountry "USA" -PreferredContactMethod "Email" -CustomerPrimaryEmailAddress "user@contoso.com"
Name Title SupportTicketId Severity ServiceDisplayName Status CreatedDate
---- ----- --------------- -------- ------------------ ------ -----------
test1 Test 150010521000317 Minimal Billing Open 2/5/2020 1:33:53 AM
Voorbeeld 17: Maak een ondersteuningsticket met een aanvraag voor een reactie van 24 x 7 van Azure.
New-AzSupportTicket -Name "test1" -Title "Test" -Description "Test" -Severity "critical" -ProblemClassificationId "/providers/Microsoft.Support/services/{billing_service_guid}/problemClassifications/{problemClassification_guid}" -CustomerFirstName "first" -CustomerLastName "last" -CustomerPreferredTimeZone "pacific standard time" -CustomerPreferredSupportLanguage "en-us" -CustomerCountry "USA" -PreferredContactMethod "Email" -CustomerPrimaryEmailAddress "user@contoso.com" -Require24X7Response
Name Title SupportTicketId Severity ServiceDisplayName Status CreatedDate
---- ----- --------------- -------- ------------------ ------ -----------
test1 Test 150010521000317 Critical Billing Open 2/5/2020 1:33:53 AM
Voorbeeld 18: Maak een ondersteuningsticket namens uw klant als u een Cloud Solution Provider (CSP) bent. CSP moet zich eerst aanmelden bij de tenant en vervolgens aanmelden bij de tenant van de klant, zoals wordt weergegeven in het onderstaande voorbeeld. Ze moeten vervolgens de parameter -CSPHomeTenantId gebruiken om hun tenant-id voor thuis op te geven op het moment dat ze een ondersteuningsticket maken.
Connect-AzAccount
Connect-AzAccount -TenantId "customer_tenant_id"
New-AzSupportTicket -Name "test1" -Title "Test" -Description "Test" -Severity "minimal" -ProblemClassificationId "/providers/Microsoft.Support/services/{billing_service_guid}/problemClassifications/{problemClassification_guid}" -CustomerFirstName "first" -CustomerLastName "last" -CustomerPreferredTimeZone "pacific standard time" -CustomerPreferredSupportLanguage "en-us" -CustomerCountry "USA" -PreferredContactMethod "Email" -CustomerPrimaryEmailAddress "user@contoso.com" -CSPHomeTenantId "csp_home_tenant_id"
Name Title SupportTicketId Severity ServiceDisplayName Status CreatedDate
---- ----- --------------- -------- ------------------ ------ -----------
test1 Test 150010521000317 Minimal Billing Open 2/5/2020 1:33:53 AM
Parameters
-AdditionalEmailAddress
Extra e-mailadressen. E-mailadressen die hier worden vermeld, worden gekopieerd op alle correspondentie over het ondersteuningsticket.
Type: | String[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-AsJob
Voer de cmdlet op de achtergrond uit.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Confirm
Hiermee wordt u gevraagd om bevestiging voordat u de cmdlet uitvoert.
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-CSPHomeTenantId
Dit is de basistenant-id van de Cloud Solution Provider-gebruiker die een ondersteuningsticket wil maken voor de klant.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-CustomerContactDetail
Contactgegevens van de klant die zijn gekoppeld aan de resource SupportTicket.
Type: | PSContactProfile |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-CustomerCountry
Klantland. Dit moet een geldige ISO Alpha-3-landcode (ISO 3166) zijn.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-CustomerFirstName
Voornaam van klant.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-CustomerLastName
Achternaam van klant.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-CustomerPhoneNumber
Telefoonnummer van de klant. Dit is vereist als de voorkeursmethode voor contact per telefoon is.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-CustomerPreferredSupportLanguage
Peferred-taal van de aangepaste taal. Dit moet een geldige taal-contry-code zijn voor een van de ondersteunde talen die hier https://azure.microsoft.com/en-us/support/faq/worden vermeld.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-CustomerPreferredTimeZone
Voorkeurstijdzone van de klant. Dit moet een geldige System.TimeZoneInfo.Id waarde zijn.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-CustomerPrimaryEmailAddress
Primair e-mailadres van klant.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DefaultProfile
De referenties, accounts, tenants en abonnementen die worden gebruikt voor communicatie met Azure.
Type: | IAzureContextContainer |
Aliases: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Description
Een gedetailleerde beschrijving van de vraag of het probleem.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Name
Naam van ondersteuningsticket dat door deze cmdlet wordt gemaakt.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-PreferredContactMethod
De gewenste methode voor contact.
Type: | ContactMethod |
Accepted values: | Email, Phone |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ProblemClassificationId
Elke Azure-service heeft een eigen set probleemcategorie genaamd probleemclassificatie die overeenkomt met het type probleem dat u ondervindt. Deze parameter is de ARM-resource-id van de ProblemClassification-resource.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ProblemStartTime
Datum en tijd waarop het probleem is gestart.
Type: | DateTime |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-QuotaTicketDetail
Aanvullende informatie voor een quotumondersteuningsticket.
Type: | PSQuotaTicketDetail |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Require24X7Response
Geeft aan of dit ondersteuningsticket een reactie van 24x7 van Azure vereist.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Severity
Ernst van het ondersteuningsticket. Dit geeft de urgentie van de zaak aan, die op zijn beurt de reactietijd bepaalt volgens de serviceovereenkomst van het technische ondersteuningsplan dat u met Azure hebt.
Type: | Severity |
Accepted values: | Minimal, Moderate, Critical, HighestCriticalImpact |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-TechnicalTicketResourceId
Dit is de resource-id van de Azure-serviceresource (bijvoorbeeld: een virtuele-machineresource of een HDInsight-resource) waarvoor het ondersteuningsticket wordt gemaakt.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Title
Titel van ondersteuningsticket.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-WhatIf
Hiermee wordt weergegeven wat er zou gebeuren als u de cmdlet uitvoert. De cmdlet wordt niet uitgevoerd.
Type: | SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Invoerwaarden
None