コード例 #1
0
 /// <summary>
 /// Get the default credential store for the given resource type.
 /// </summary>
 /// <remarks>
 /// Client Credentials Flow required permissions: Settings or Settings.Read.
 ///
 /// Required permissions: Settings.View or Assets.Create or Assets.Edit or
 /// Assets.View or Robots.Create or Robots.Edit or Robots.View.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceType'>
 /// Provides the resource type for which to retrieve the default. Possible
 /// values include: 'AssetCredential', 'RobotCredential', 'BucketCredential',
 /// 'Secrets'
 /// </param>
 /// <param name='expand'>
 /// Indicates the related entities to be represented inline. The maximum depth
 /// is 2.
 /// </param>
 /// <param name='select'>
 /// Limits the properties returned in the result.
 /// </param>
 public static ODataValueOfInt64 GetDefaultStoreForResourceTypeByResourcetype(this ICredentialStores operations, CredentialStoreResourceType resourceType, string expand = default(string), string select = default(string))
 {
     return(operations.GetDefaultStoreForResourceTypeByResourcetypeAsync(resourceType, expand, select).GetAwaiter().GetResult());
 }