/** * Creates CreatableUpdatableImpl. * * @param name the name of the model * @param innerObject the inner model object */ protected CreatableUpdatableImpl(String name, InnerModelT innerObject) { this(name, SdkContext.randomUuid(), innerObject); }
/** * Creates a TaskItem which is index-able using a random UUID. */ public IndexableTaskItem() { this(SdkContext.randomUuid()); }
/** * Creates a TaskItem which is index-able using a random UUID. */ public IndexableTaskItem() { this(SdkContext.randomUuid()); }
/** * Creates CreatableUpdatableImpl. * * @param name the name of the model * @param innerObject the inner model object */ protected CreatableUpdatableImpl(String name, InnerModelT innerObject) { this(name, SdkContext.randomUuid(), innerObject); }
/** * Creates ExecutableImpl. */ protected ExecutableImpl() { this(SdkContext.randomUuid()); }
/** * Creates ExecutableImpl. */ protected ExecutableImpl() { this(SdkContext.randomUuid()); }
protected SqlDatabaseImportExportResponseImpl(ImportExportResponseInner innerObject) { super(innerObject); this.key = SdkContext.randomUuid(); }
protected SqlDatabaseImportExportResponseImpl(ImportExportResponseInner innerObject) { super(innerObject); this.key = SdkContext.randomUuid(); }
@Override public Observable<Indexable> call(Context context) { return manager().rbacManager().roleAssignments().define(SdkContext.randomUuid()) .forObjectId(systemAssignedManagedServiceIdentityPrincipalId()) .withBuiltInRole(role) .withScope(resourceId) .createAsync(); } };
@Override public Observable<Indexable> call(Context context) { return manager().rbacManager().roleAssignments().define(SdkContext.randomUuid()) .forServicePrincipal(systemAssignedManagedServiceIdentityPrincipalId()) .withRoleDefinition(roleDefinitionId) .withScope(resourceId) .createAsync(); } };
@Override public Observable<Indexable> call(Context context) { return manager().rbacManager().roleAssignments().define(SdkContext.randomUuid()) .forServicePrincipal(systemAssignedManagedServiceIdentityPrincipalId()) .withRoleDefinition(roleDefinitionId) .withScope(resourceGroupId(id())) .createAsync(); } };
@Override public Observable<Indexable> call(Context context) { return manager().rbacManager().roleAssignments().define(SdkContext.randomUuid()) .forObjectId(systemAssignedManagedServiceIdentityPrincipalId()) .withBuiltInRole(role) .withScope(resourceGroupId(id())) .createAsync(); } };
return cxt.voidObservable(); final String roleAssignmentName = SdkContext.randomUuid(); final String resourceScope; if (scope == CURRENT_RESOURCE_GROUP_SCOPE) {
return cxt.voidObservable(); final String roleAssignmentName = SdkContext.randomUuid(); final String resourceScope; if (scope == CURRENT_RESOURCE_GROUP_SCOPE) {