/// <summary> /// Sets a credential store as the default for the given credential type. /// </summary> /// <remarks> /// Client Credentials Flow required permissions: Settings or Settings.Write. /// /// Required permissions: Settings.Edit. /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='key'> /// Provides the ID of the credential store to set as default. /// </param> /// <param name='body'> /// Provides the resourceType that indicates /// the resource type for which the stores becomes default. /// </param> public static void SetDefaultStoreForResourceTypeById(this ICredentialStores operations, long key, CredentialStoresSetDefaultStoreForResourceTypeParameters body = default(CredentialStoresSetDefaultStoreForResourceTypeParameters)) { operations.SetDefaultStoreForResourceTypeByIdAsync(key, body).GetAwaiter().GetResult(); }
/// <summary> /// Sets a credential store as the default for the given credential type. /// </summary> /// <remarks> /// Client Credentials Flow required permissions: Settings or Settings.Write. /// /// Required permissions: Settings.Edit. /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='id'> /// key: Id /// </param> /// <param name='defaultStoreActionParameters'> /// Provides the resourceType that indicates /// the resource type for which the stores becomes default. /// </param> public static void SetDefaultStoreForResourceTypeById(this ICredentialStores operations, long id, DefaultStoreActionParameters defaultStoreActionParameters) { operations.SetDefaultStoreForResourceTypeByIdAsync(id, defaultStoreActionParameters).GetAwaiter().GetResult(); }