首页 > 其他分享 >【Azure API 管理】如何修改Azure APIM的管理员邮箱和组织名称

【Azure API 管理】如何修改Azure APIM的管理员邮箱和组织名称

时间:2022-08-30 19:44:48浏览次数:76  
标签:PS API https Azure APIM com

问题描述

当创建一个新的APIM服务时,会要求输入组织名称()和管理员邮箱()。但是当APIM管理员发生变动的时候,如何来修改这些信息呢?

 

 

问题解答

在APIM的门户中,APIM的管理员可以通过 “General e-mail settings” 功能对Organization name和 Administrator email 进行修改, 只是这个功能的入口隐藏较深,不易寻找到。可以通过以下步骤完成:

1)  打开Azure APIM的门户:https://portal.azure.cn/#view/HubsExtension/BrowseResource/resourceType/Microsoft.ApiManagement%2Fservice

2)  选择正确的APIM资源,并进入到 Notification Templates页面

3)  选择 "General e-mail settings" 功能,在弹出的页面中,修改 Organization name  Administrator Email

  

 

 

附录一:通过REST API修改Admin信息

PS: China Azure Azure Management Endpoint is https://management.chinacloudapi.cn

 

附录二:通过Powershell修改Admin信息

Lastly you can also make these same modification using PowerShell cmdlets. The following script will modify those same values as see in the screenshot above

	PS C:\> $apim = Get-AzApiManagement -ResourceGroupName "{ResourceGroupName}" -Name "{APIMServiceName}"                                                       
	PS C:\> $apim.PublisherEmail = "[email protected]"                                                                                 
	PS C:\> $apim.NotificationSenderEmail = "[email protected]"                                                    
	PS C:\> $apim.OrganizationName = "Contoso"                                                                                        
	PS C:\> Set-AzApiManagement -InputObject $apim -PassThru 

Set-AzApiManagement: https://docs.microsoft.com/en-us/powershell/module/az.apimanagement/set-azapimanagement?view=azps-2.7.0 

Get-AzApiManagement: https://docs.microsoft.com/en-us/powershell/module/az.apimanagement/get-azapimanagement?view=azps-2.7.0 

 

标签:PS,API,https,Azure,APIM,com
From: https://www.cnblogs.com/lulight/p/16640576.html

相关文章

  • 手机在网状态API推荐
    APISpace的手机在网状态API我在这里推荐给大家,传入手机号码,查询该手机号的在网时长,返回时间区间,支持移动、电信、联通手机号码。应用场景话务中心电话营销。手机号......
  • 好用的日出日落API推荐
    今天给大家推荐一款很不错的API——APISpace的日出日落API,支持国内3400+个城市以及国际4万个城市,获取指定城市/地点每日日出时间、日落时间。 APISpace上面还有很......
  • C# Web Api HTTP Get (result as a string)
    为了方便调用,通常封装成一个通用的函数,如下:///<summary>///GetHttpasstringresult///</summary>///<paramname="url">RequestUrl.......
  • String常见API
    在最近Java的学习中,我发现了在日常的编程中会使用好多常见的String的API,现在准备做一个小分类。1.字符串的比较(equals与equalsIgnorecase)根据最近所学,我发现两个不同的S......
  • drf快速生成5个基本的api接口
    序列化器serializer:fromrest_frameworkimportserializersfrom.modelsimportStudentclassStudentModelSerializer(serializers.ModelSerializer):classM......
  • 【MindSpore易点通】如何将PyTorch源码转成MindSpore低阶APIP,并在Ascend芯片上实现单
    文章来源:华为云论坛_云计算论坛_开发者论坛_技术论坛-华为云1 概述本文将介绍如何将PyTorch源码转换成MindSpore低阶API代码,并在Ascend芯片上实现单机单卡训练。下图展......
  • 集合相关api (常用,方便查阅使用)
    说明:此笔记针对常用的集合操作,注重实际开发,方便开发中常规查阅,故文档会不断更新,形成集合表单。1.List转SetSet<String>stringList=newHashSet<String>(Arrays.as......
  • Java中Thread类的常用API以及使用示例
    场景Java语言是支持多线程的,一个正在运行的Java程序可以称之为一个进程(process),在每个进程里面包含多个线程,线程是进程中单一的顺序控制流,CPU在执行计算机指令的时候都是......
  • 解决:AttributeError: 'GovernmentApiClient' object has no attribute 're_fund'
    代码如下:1classGovernmentApiClient:23defrefund(self):4print('123456')5'''退款返销'''6body={7"t......
  • 基于django原生代码提供api接口
    创建了表单student:fromdjango.dbimportmodelsclassStudent(models.Model):#学生信息name=models.CharField(max_length=255,verbose_name="姓名"......