internal ListWorkspaceKeysResult(string userStorageKey, string userStorageResourceId, string appInsightsInstrumentationKey, RegistryListCredentialsResult containerRegistryCredentials) { UserStorageKey = userStorageKey; UserStorageResourceId = userStorageResourceId; AppInsightsInstrumentationKey = appInsightsInstrumentationKey; ContainerRegistryCredentials = containerRegistryCredentials; }
/// <summary> /// Initializes a new instance of the ListWorkspaceKeysResult class. /// </summary> public ListWorkspaceKeysResult(string userStorageKey = default(string), string userStorageResourceId = default(string), string appInsightsInstrumentationKey = default(string), RegistryListCredentialsResult containerRegistryCredentials = default(RegistryListCredentialsResult)) { UserStorageKey = userStorageKey; UserStorageResourceId = userStorageResourceId; AppInsightsInstrumentationKey = appInsightsInstrumentationKey; ContainerRegistryCredentials = containerRegistryCredentials; CustomInit(); }
public PSContainerRegistryCredential(RegistryListCredentialsResult credentials) { Username = credentials?.Username; Password = credentials?.Passwords?.Count > 0 ? credentials.Passwords[0]?.Value : string.Empty; Password2 = credentials?.Passwords?.Count > 1 ? credentials.Passwords[1]?.Value : string.Empty; }