你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Update-AzNeonPostgresOrganization
更新 OrganizationResource
语法
Update-AzNeonPostgresOrganization
-Name <String>
-ResourceGroupName <String>
[-SubscriptionId <String>]
[-CompanyDetailBusinessPhone <String>]
[-CompanyDetailCompanyName <String>]
[-CompanyDetailCountry <String>]
[-CompanyDetailDomain <String>]
[-CompanyDetailNumberOfEmployee <Int64>]
[-CompanyDetailOfficeAddress <String>]
[-PartnerOrganizationPropertyOrganizationId <String>]
[-PartnerOrganizationPropertyOrganizationName <String>]
[-SingleSignOnPropertyAadDomain <String[]>]
[-SingleSignOnPropertyEnterpriseAppId <String>]
[-SingleSignOnPropertySingleSignOnState <String>]
[-SingleSignOnPropertySingleSignOnUrl <String>]
[-Tag <Hashtable>]
[-UserDetailEmailAddress <String>]
[-UserDetailFirstName <String>]
[-UserDetailLastName <String>]
[-UserDetailPhoneNumber <String>]
[-UserDetailUpn <String>]
[-DefaultProfile <PSObject>]
[-AsJob]
[-NoWait]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Update-AzNeonPostgresOrganization
-Name <String>
-ResourceGroupName <String>
[-SubscriptionId <String>]
-JsonString <String>
[-DefaultProfile <PSObject>]
[-AsJob]
[-NoWait]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Update-AzNeonPostgresOrganization
-Name <String>
-ResourceGroupName <String>
[-SubscriptionId <String>]
-JsonFilePath <String>
[-DefaultProfile <PSObject>]
[-AsJob]
[-NoWait]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Update-AzNeonPostgresOrganization
-InputObject <INeonPostgresIdentity>
[-CompanyDetailBusinessPhone <String>]
[-CompanyDetailCompanyName <String>]
[-CompanyDetailCountry <String>]
[-CompanyDetailDomain <String>]
[-CompanyDetailNumberOfEmployee <Int64>]
[-CompanyDetailOfficeAddress <String>]
[-PartnerOrganizationPropertyOrganizationId <String>]
[-PartnerOrganizationPropertyOrganizationName <String>]
[-SingleSignOnPropertyAadDomain <String[]>]
[-SingleSignOnPropertyEnterpriseAppId <String>]
[-SingleSignOnPropertySingleSignOnState <String>]
[-SingleSignOnPropertySingleSignOnUrl <String>]
[-Tag <Hashtable>]
[-UserDetailEmailAddress <String>]
[-UserDetailFirstName <String>]
[-UserDetailLastName <String>]
[-UserDetailPhoneNumber <String>]
[-UserDetailUpn <String>]
[-DefaultProfile <PSObject>]
[-AsJob]
[-NoWait]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
说明
更新 OrganizationResource
示例
示例 1:更新 Neon 资源
Update-AzNeonPostgresOrganization -Name "almasTestNeonPS8" -ResourceGroupName "NeonDemoRG" -SubscriptionId "5d9a6cc3-4e60-4b41-be79-d28f0a01074e" `
-CompanyDetailBusinessPhone "+1234567890" `
-CompanyDetailCompanyName "DemoCompany" `
-CompanyDetailCountry "USA" `
-CompanyDetailDomain "demo.com" `
-CompanyDetailNumberOfEmployee 500 `
-CompanyDetailOfficeAddress "1234 Azure Ave" `
-PartnerOrganizationPropertyOrganizationId "org12345" `
-PartnerOrganizationPropertyOrganizationName "PartnerOrg8" `
-SingleSignOnPropertyAadDomain @("partnerorg.com") `
-SingleSignOnPropertyEnterpriseAppId "app12345" `
-SingleSignOnPropertySingleSignOnState "Enable" `
-SingleSignOnPropertySingleSignOnUrl "https://sso.partnerorg.com" `
-Tag @{environment="production"} `
-UserDetailEmailAddress "khanalmas@microsoft.com" `
-UserDetailFirstName "Almas" `
-UserDetailLastName "Khan" `
-UserDetailPhoneNumber "+1234567890" `
-UserDetailUpn "khanalmas_microsoft.com#EXT#@qumulotesttenant2.onmicrosoft.com"
CompanyDetailBusinessPhone : +1234567890
CompanyDetailCompanyName : DemoCompany
CompanyDetailCountry : USA
CompanyDetailDomain : demo.com
CompanyDetailNumberOfEmployee : 500
CompanyDetailOfficeAddress : 1234 Azure Ave
Id : /subscriptions/5d9a6cc3-4e60-4b41-be79-d28f0a01074e/resourceGroups/NeonDe
moRG/providers/Neon.Postgres/organizations/almasTestNeonPS8
Location : centraluseuap
MarketplaceDetailSubscriptionId : 44e2e61d-8456-4c6a-dd0a-acc4edaa729b
MarketplaceDetailSubscriptionStatus : Subscribed
Name : almasTestNeonPS8
OfferDetailOfferId : neon_test
OfferDetailPlanId : neon_test_1
OfferDetailPlanName : Neon Serverless Postgres - Free (Test_Liftr)
OfferDetailPublisherId : neon1722366567200
OfferDetailTermId : gmz7xq9ge3py
OfferDetailTermUnit : P1M
PartnerOrganizationPropertyOrganizationId : org-tiny-silence-85146383
PartnerOrganizationPropertyOrganizationName : PartnerOrg8
ProvisioningState : Succeeded
ResourceGroupName : NeonDemoRG
SingleSignOnPropertyAadDomain : {partnerorg.com}
SingleSignOnPropertyEnterpriseAppId : app12345
SingleSignOnPropertySingleSignOnState : Enable
SingleSignOnPropertySingleSignOnUrl : https://console.neon.tech/azure/sso/org-tiny-silence-85146383
SystemDataCreatedAt : 06-Nov-24 4:49:42 AM
SystemDataCreatedBy : khanalmas@microsoft.com
SystemDataCreatedByType : User
SystemDataLastModifiedAt : 06-Nov-24 4:53:15 AM
SystemDataLastModifiedBy : khanalmas@microsoft.com
SystemDataLastModifiedByType : User
Tag : {
"environment": "production"
}
Type : neon.postgres/organizations
UserDetailEmailAddress : khanalmas@microsoft.com
UserDetailFirstName : Almas
UserDetailLastName : Khan
UserDetailPhoneNumber : +1234567890
UserDetailUpn : khanalmas_microsoft.com#EXT#@qumulotesttenant2.onmicrosoft.com
此命令将更新 Neon 资源
参数
-AsJob
以作业身份运行命令
类型: | SwitchParameter |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-CompanyDetailBusinessPhone
公司的商务电话号码
类型: | String |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-CompanyDetailCompanyName
公司名称
类型: | String |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-CompanyDetailCountry
公司的国家/地区名称
类型: | String |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-CompanyDetailDomain
用户的域
类型: | String |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-CompanyDetailNumberOfEmployee
公司的员工数
类型: | Int64 |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-CompanyDetailOfficeAddress
公司的办公地址
类型: | String |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-Confirm
在运行 cmdlet 之前,提示你进行确认。
类型: | SwitchParameter |
别名: | cf |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-DefaultProfile
DefaultProfile 参数不起作用。 如果对其他订阅执行 cmdlet,请使用 SubscriptionId 参数。
类型: | PSObject |
别名: | AzureRMContext, AzureCredential |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-InputObject
标识参数
类型: | INeonPostgresIdentity |
Position: | Named |
默认值: | None |
必需: | True |
接受管道输入: | True |
接受通配符: | False |
-JsonFilePath
提供给更新作的 Json 文件的路径
类型: | String |
Position: | Named |
默认值: | None |
必需: | True |
接受管道输入: | False |
接受通配符: | False |
-JsonString
提供给更新作的 Json 字符串
类型: | String |
Position: | Named |
默认值: | None |
必需: | True |
接受管道输入: | False |
接受通配符: | False |
-Name
Neon 组织资源的名称
类型: | String |
别名: | OrganizationName |
Position: | Named |
默认值: | None |
必需: | True |
接受管道输入: | False |
接受通配符: | False |
-NoWait
异步运行命令
类型: | SwitchParameter |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-PartnerOrganizationPropertyOrganizationId
合作伙伴系统中的组织 ID
类型: | String |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-PartnerOrganizationPropertyOrganizationName
合作伙伴系统中的组织名称
类型: | String |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-ResourceGroupName
资源组的名称。 名称不区分大小写。
类型: | String |
Position: | Named |
默认值: | None |
必需: | True |
接受管道输入: | False |
接受通配符: | False |
-SingleSignOnPropertyAadDomain
从用户的 Microsoft Graph 中提取的 AAD 域列表。
类型: | String[] |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-SingleSignOnPropertyEnterpriseAppId
用于设置 SSO 的 AAD 企业应用程序 ID
类型: | String |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-SingleSignOnPropertySingleSignOnState
组织的单一登录状态
类型: | String |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-SingleSignOnPropertySingleSignOnUrl
合作伙伴用于将用户重定向到其系统的 SSO 的 URL
类型: | String |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-SubscriptionId
目标订阅的 ID。 该值必须是 UUID。
类型: | String |
Position: | Named |
默认值: | (Get-AzContext).Subscription.Id |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-Tag
资源标记。
类型: | Hashtable |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-UserDetailEmailAddress
用户的电子邮件地址
类型: | String |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-UserDetailFirstName
用户的名字
类型: | String |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-UserDetailLastName
用户的姓氏
类型: | String |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-UserDetailPhoneNumber
用户的电话号码
类型: | String |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-UserDetailUpn
用户的主体名称
类型: | String |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-WhatIf
显示 cmdlet 运行时会发生什么情况。 命令脚本未运行。
类型: | SwitchParameter |
别名: | wi |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |