Beispiel #1
0
        public async Task <QueryRoleTagListResponse> QueryRoleTagListAsync()
        {
            AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions();
            QueryRoleTagListHeaders headers = new QueryRoleTagListHeaders();

            return(await QueryRoleTagListWithOptionsAsync(headers, runtime));
        }
Beispiel #2
0
        public QueryRoleTagListResponse QueryRoleTagList()
        {
            AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions();
            QueryRoleTagListHeaders headers = new QueryRoleTagListHeaders();

            return(QueryRoleTagListWithOptions(headers, runtime));
        }
Beispiel #3
0
        public QueryRoleTagListResponse QueryRoleTagListWithOptions(QueryRoleTagListHeaders headers, AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime)
        {
            Dictionary <string, string> realHeaders = new Dictionary <string, string>()
            {
            };

            if (!AlibabaCloud.TeaUtil.Common.IsUnset(headers.CommonHeaders))
            {
                realHeaders = headers.CommonHeaders;
            }
            if (!AlibabaCloud.TeaUtil.Common.IsUnset(headers.XAcsDingtalkAccessToken))
            {
                realHeaders["x-acs-dingtalk-access-token"] = AlibabaCloud.TeaUtil.Common.ToJSONString(headers.XAcsDingtalkAccessToken);
            }
            AlibabaCloud.OpenApiClient.Models.OpenApiRequest req = new AlibabaCloud.OpenApiClient.Models.OpenApiRequest
            {
                Headers = realHeaders,
            };
            return(TeaModel.ToObject <QueryRoleTagListResponse>(DoROARequest("QueryRoleTagList", "apaas_1.0", "HTTP", "GET", "AK", "/v1.0/apaas/templates/roles", "json", req, runtime)));
        }