vendor: update all dependencies to latest versions

This commit is contained in:
Nick Craig-Wood
2017-09-30 15:27:27 +01:00
parent 911d121bb9
commit b017fcfe9a
3048 changed files with 537055 additions and 189679 deletions
+140 -68
View File
@@ -14,28 +14,45 @@ package graphrbac
// See the License for the specific language governing permissions and
// limitations under the License.
//
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
import (
"github.com/Azure/go-autorest/autorest"
"github.com/Azure/go-autorest/autorest/date"
)
// UserType enumerates the values for user type.
type UserType string
const (
// Guest specifies the guest state for user type.
Guest UserType = "Guest"
// Member specifies the member state for user type.
Member UserType = "Member"
)
// AADObject is the properties of an Active Directory object.
type AADObject struct {
autorest.Response `json:"-"`
ObjectID *string `json:"objectId,omitempty"`
ObjectType *string `json:"objectType,omitempty"`
DisplayName *string `json:"displayName,omitempty"`
UserPrincipalName *string `json:"userPrincipalName,omitempty"`
Mail *string `json:"mail,omitempty"`
MailEnabled *bool `json:"mailEnabled,omitempty"`
SecurityEnabled *bool `json:"securityEnabled,omitempty"`
SignInName *string `json:"signInName,omitempty"`
ServicePrincipalNames *[]string `json:"servicePrincipalNames,omitempty"`
UserType *string `json:"userType,omitempty"`
autorest.Response `json:"-"`
ObjectID *string `json:"objectId,omitempty"`
ObjectType *string `json:"objectType,omitempty"`
DisplayName *string `json:"displayName,omitempty"`
UserPrincipalName *string `json:"userPrincipalName,omitempty"`
Mail *string `json:"mail,omitempty"`
MailEnabled *bool `json:"mailEnabled,omitempty"`
MailNickname *string `json:"mailNickname,omitempty"`
SecurityEnabled *bool `json:"securityEnabled,omitempty"`
SignInName *string `json:"signInName,omitempty"`
ServicePrincipalNames *[]string `json:"servicePrincipalNames,omitempty"`
UserType *string `json:"userType,omitempty"`
UsageLocation *string `json:"usageLocation,omitempty"`
AppID *string `json:"appId,omitempty"`
AppPermissions *[]string `json:"appPermissions,omitempty"`
AvailableToOtherTenants *bool `json:"availableToOtherTenants,omitempty"`
IdentifierUris *[]string `json:"identifierUris,omitempty"`
ReplyUrls *[]string `json:"replyUrls,omitempty"`
Homepage *string `json:"homepage,omitempty"`
}
// ADGroup is active Directory group information.
@@ -60,18 +77,20 @@ type Application struct {
IdentifierUris *[]string `json:"identifierUris,omitempty"`
ReplyUrls *[]string `json:"replyUrls,omitempty"`
Homepage *string `json:"homepage,omitempty"`
Oauth2AllowImplicitFlow *bool `json:"oauth2AllowImplicitFlow,omitempty"`
}
// ApplicationCreateParameters is request parameters for creating a new
// application.
// ApplicationCreateParameters is request parameters for creating a new application.
type ApplicationCreateParameters struct {
AvailableToOtherTenants *bool `json:"availableToOtherTenants,omitempty"`
DisplayName *string `json:"displayName,omitempty"`
Homepage *string `json:"homepage,omitempty"`
IdentifierUris *[]string `json:"identifierUris,omitempty"`
ReplyUrls *[]string `json:"replyUrls,omitempty"`
KeyCredentials *[]KeyCredential `json:"keyCredentials,omitempty"`
PasswordCredentials *[]PasswordCredential `json:"passwordCredentials,omitempty"`
AvailableToOtherTenants *bool `json:"availableToOtherTenants,omitempty"`
DisplayName *string `json:"displayName,omitempty"`
Homepage *string `json:"homepage,omitempty"`
IdentifierUris *[]string `json:"identifierUris,omitempty"`
ReplyUrls *[]string `json:"replyUrls,omitempty"`
KeyCredentials *[]KeyCredential `json:"keyCredentials,omitempty"`
PasswordCredentials *[]PasswordCredential `json:"passwordCredentials,omitempty"`
Oauth2AllowImplicitFlow *bool `json:"oauth2AllowImplicitFlow,omitempty"`
RequiredResourceAccess *[]RequiredResourceAccess `json:"requiredResourceAccess,omitempty"`
}
// ApplicationListResult is application list operation result.
@@ -81,20 +100,20 @@ type ApplicationListResult struct {
OdataNextLink *string `json:"odata.nextLink,omitempty"`
}
// ApplicationUpdateParameters is request parameters for updating an existing
// application.
// ApplicationUpdateParameters is request parameters for updating an existing application.
type ApplicationUpdateParameters struct {
AvailableToOtherTenants *bool `json:"availableToOtherTenants,omitempty"`
DisplayName *string `json:"displayName,omitempty"`
Homepage *string `json:"homepage,omitempty"`
IdentifierUris *[]string `json:"identifierUris,omitempty"`
ReplyUrls *[]string `json:"replyUrls,omitempty"`
KeyCredentials *[]KeyCredential `json:"keyCredentials,omitempty"`
PasswordCredentials *[]PasswordCredential `json:"passwordCredentials,omitempty"`
AvailableToOtherTenants *bool `json:"availableToOtherTenants,omitempty"`
DisplayName *string `json:"displayName,omitempty"`
Homepage *string `json:"homepage,omitempty"`
IdentifierUris *[]string `json:"identifierUris,omitempty"`
ReplyUrls *[]string `json:"replyUrls,omitempty"`
KeyCredentials *[]KeyCredential `json:"keyCredentials,omitempty"`
PasswordCredentials *[]PasswordCredential `json:"passwordCredentials,omitempty"`
Oauth2AllowImplicitFlow *bool `json:"oauth2AllowImplicitFlow,omitempty"`
RequiredResourceAccess *[]RequiredResourceAccess `json:"requiredResourceAccess,omitempty"`
}
// CheckGroupMembershipParameters is request parameters for IsMemberOf API
// call.
// CheckGroupMembershipParameters is request parameters for IsMemberOf API call.
type CheckGroupMembershipParameters struct {
GroupID *string `json:"groupId,omitempty"`
MemberID *string `json:"memberId,omitempty"`
@@ -106,21 +125,34 @@ type CheckGroupMembershipResult struct {
Value *bool `json:"value,omitempty"`
}
// Domain is active Directory Domain information.
type Domain struct {
autorest.Response `json:"-"`
AuthenticationType *string `json:"authenticationType,omitempty"`
IsDefault *bool `json:"isDefault,omitempty"`
IsVerified *bool `json:"isVerified,omitempty"`
Name *string `json:"name,omitempty"`
}
// DomainListResult is server response for Get tenant domains API call.
type DomainListResult struct {
autorest.Response `json:"-"`
Value *[]Domain `json:"value,omitempty"`
}
// ErrorMessage is active Directory error message.
type ErrorMessage struct {
Message *string `json:"value,omitempty"`
}
// GetObjectsParameters is request parameters for the GetObjectsByObjectIds
// API.
// GetObjectsParameters is request parameters for the GetObjectsByObjectIds API.
type GetObjectsParameters struct {
ObjectIds *[]string `json:"objectIds,omitempty"`
Types *[]string `json:"types,omitempty"`
IncludeDirectoryObjectReferences *bool `json:"includeDirectoryObjectReferences,omitempty"`
}
// GetObjectsResult is the response to an Active Directory object inquiry API
// request.
// GetObjectsResult is the response to an Active Directory object inquiry API request.
type GetObjectsResult struct {
autorest.Response `json:"-"`
Value *[]AADObject `json:"value,omitempty"`
@@ -132,8 +164,7 @@ type GraphError struct {
*OdataError `json:"odata.error,omitempty"`
}
// GroupAddMemberParameters is request parameters for adding a member to a
// group.
// GroupAddMemberParameters is request parameters for adding a member to a group.
type GroupAddMemberParameters struct {
URL *string `json:"url,omitempty"`
}
@@ -146,8 +177,7 @@ type GroupCreateParameters struct {
SecurityEnabled *bool `json:"securityEnabled,omitempty"`
}
// GroupGetMemberGroupsParameters is request parameters for GetMemberGroups API
// call.
// GroupGetMemberGroupsParameters is request parameters for GetMemberGroups API call.
type GroupGetMemberGroupsParameters struct {
SecurityEnabledOnly *bool `json:"securityEnabledOnly,omitempty"`
}
@@ -181,8 +211,7 @@ type KeyCredentialListResult struct {
Value *[]KeyCredential `json:"value,omitempty"`
}
// KeyCredentialsUpdateParameters is request parameters for a KeyCredentials
// update operation
// KeyCredentialsUpdateParameters is request parameters for a KeyCredentials update operation
type KeyCredentialsUpdateParameters struct {
Value *[]KeyCredential `json:"value,omitempty"`
}
@@ -207,8 +236,7 @@ type PasswordCredentialListResult struct {
Value *[]PasswordCredential `json:"value,omitempty"`
}
// PasswordCredentialsUpdateParameters is request parameters for a
// PasswordCredentials update operation.
// PasswordCredentialsUpdateParameters is request parameters for a PasswordCredentials update operation.
type PasswordCredentialsUpdateParameters struct {
Value *[]PasswordCredential `json:"value,omitempty"`
}
@@ -219,6 +247,22 @@ type PasswordProfile struct {
ForceChangePasswordNextLogin *bool `json:"forceChangePasswordNextLogin,omitempty"`
}
// RequiredResourceAccess is specifies the set of OAuth 2.0 permission scopes and app roles under the specified
// resource that an application requires access to. The specified OAuth 2.0 permission scopes may be requested by
// client applications (through the requiredResourceAccess collection) when calling a resource application. The
// requiredResourceAccess property of the Application entity is a collection of ReqiredResourceAccess.
type RequiredResourceAccess struct {
ResourceAccess *[]ResourceAccess `json:"resourceAccess,omitempty"`
ResourceAppID *string `json:"resourceAppId,omitempty"`
}
// ResourceAccess is specifies an OAuth 2.0 permission scope or an app role that an application requires. The
// resourceAccess property of the RequiredResourceAccess type is a collection of ResourceAccess.
type ResourceAccess struct {
ID *string `json:"id,omitempty"`
Type *string `json:"type,omitempty"`
}
// ServicePrincipal is active Directory service principal information.
type ServicePrincipal struct {
autorest.Response `json:"-"`
@@ -229,8 +273,7 @@ type ServicePrincipal struct {
ServicePrincipalNames *[]string `json:"servicePrincipalNames,omitempty"`
}
// ServicePrincipalCreateParameters is request parameters for creating a new
// service principal.
// ServicePrincipalCreateParameters is request parameters for creating a new service principal.
type ServicePrincipalCreateParameters struct {
AppID *string `json:"appId,omitempty"`
AccountEnabled *bool `json:"accountEnabled,omitempty"`
@@ -238,39 +281,63 @@ type ServicePrincipalCreateParameters struct {
PasswordCredentials *[]PasswordCredential `json:"passwordCredentials,omitempty"`
}
// ServicePrincipalListResult is server response for get tenant service
// principals API call.
// ServicePrincipalListResult is server response for get tenant service principals API call.
type ServicePrincipalListResult struct {
autorest.Response `json:"-"`
Value *[]ServicePrincipal `json:"value,omitempty"`
OdataNextLink *string `json:"odata.nextLink,omitempty"`
}
// SignInName is contains information about a sign-in name of a local account user in an Azure Active Directory B2C
// tenant.
type SignInName struct {
Type *string `json:"type,omitempty"`
Value *string `json:"value,omitempty"`
}
// User is active Directory user information.
type User struct {
autorest.Response `json:"-"`
ObjectID *string `json:"objectId,omitempty"`
ObjectType *string `json:"objectType,omitempty"`
UserPrincipalName *string `json:"userPrincipalName,omitempty"`
DisplayName *string `json:"displayName,omitempty"`
SignInName *string `json:"signInName,omitempty"`
Mail *string `json:"mail,omitempty"`
MailNickname *string `json:"mailNickname,omitempty"`
ImmutableID *string `json:"immutableId,omitempty"`
UsageLocation *string `json:"usageLocation,omitempty"`
GivenName *string `json:"givenName,omitempty"`
Surname *string `json:"surname,omitempty"`
UserType UserType `json:"userType,omitempty"`
AccountEnabled *bool `json:"accountEnabled,omitempty"`
DisplayName *string `json:"displayName,omitempty"`
UserPrincipalName *string `json:"userPrincipalName,omitempty"`
MailNickname *string `json:"mailNickname,omitempty"`
Mail *string `json:"mail,omitempty"`
ObjectID *string `json:"objectId,omitempty"`
ObjectType *string `json:"objectType,omitempty"`
SignInNames *[]SignInName `json:"signInNames,omitempty"`
}
// UserCreateParameters is request parameters for creating a new work or school
// account user.
// UserBase is
type UserBase struct {
ImmutableID *string `json:"immutableId,omitempty"`
UsageLocation *string `json:"usageLocation,omitempty"`
GivenName *string `json:"givenName,omitempty"`
Surname *string `json:"surname,omitempty"`
UserType UserType `json:"userType,omitempty"`
}
// UserCreateParameters is request parameters for creating a new work or school account user.
type UserCreateParameters struct {
ImmutableID *string `json:"immutableId,omitempty"`
UsageLocation *string `json:"usageLocation,omitempty"`
GivenName *string `json:"givenName,omitempty"`
Surname *string `json:"surname,omitempty"`
UserType UserType `json:"userType,omitempty"`
AccountEnabled *bool `json:"accountEnabled,omitempty"`
DisplayName *string `json:"displayName,omitempty"`
PasswordProfile *PasswordProfile `json:"passwordProfile,omitempty"`
UserPrincipalName *string `json:"userPrincipalName,omitempty"`
MailNickname *string `json:"mailNickname,omitempty"`
ImmutableID *string `json:"immutableId,omitempty"`
Mail *string `json:"mail,omitempty"`
}
// UserGetMemberGroupsParameters is request parameters for GetMemberGroups API
// call.
// UserGetMemberGroupsParameters is request parameters for GetMemberGroups API call.
type UserGetMemberGroupsParameters struct {
SecurityEnabledOnly *bool `json:"securityEnabledOnly,omitempty"`
}
@@ -288,11 +355,16 @@ type UserListResult struct {
OdataNextLink *string `json:"odata.nextLink,omitempty"`
}
// UserUpdateParameters is request parameters for updating an existing work or
// school account user.
// UserUpdateParameters is request parameters for updating an existing work or school account user.
type UserUpdateParameters struct {
AccountEnabled *bool `json:"accountEnabled,omitempty"`
DisplayName *string `json:"displayName,omitempty"`
PasswordProfile *PasswordProfile `json:"passwordProfile,omitempty"`
MailNickname *string `json:"mailNickname,omitempty"`
ImmutableID *string `json:"immutableId,omitempty"`
UsageLocation *string `json:"usageLocation,omitempty"`
GivenName *string `json:"givenName,omitempty"`
Surname *string `json:"surname,omitempty"`
UserType UserType `json:"userType,omitempty"`
AccountEnabled *bool `json:"accountEnabled,omitempty"`
DisplayName *string `json:"displayName,omitempty"`
PasswordProfile *PasswordProfile `json:"passwordProfile,omitempty"`
UserPrincipalName *string `json:"userPrincipalName,omitempty"`
MailNickname *string `json:"mailNickname,omitempty"`
}